{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/code/register-attention-control","entry":"register_attention_control","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-10-05T00:36:11+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample = n_papers_ran_no_instrument_failure (papers with a run with no instrument failure) + n_papers_ran_instrument_only (papers where every run was a failure of Syntology's instrument); n_samples_ran = n_samples_ran_checked (honoured, violated, no contract) + n_samples_instrument (failures of Syntology's instrument, not of the code).","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":9,"n_papers_ran":0,"n_papers_ran_no_instrument_failure":0,"n_papers_ran_instrument_only":0,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":10,"n_samples_ran":0,"n_samples_constructed":0,"n_samples_ran_checked":0,"n_samples_instrument":0,"n_samples_unverified":10,"n_samples_fingerprinted":0,"n_places":10,"n_places_pointer_only":3,"n_places_pointer_only_link_open":0,"inline_ok_is":"inline_ok is true only when both licence gates allow Syntology to serve this code's text: this paper's link (inline_ok_link, from the licence of this paper's copy) and the stored copy of the same code that Syntology serves, which may have been first harvested from another repository. withheld_clause is Syntology's own wording of which gate keeps the text a pointer and why, and is null when inline_ok is true. This site shows no code text either way; n_places_pointer_only_link_open counts the places where this paper's link allows the text and the stored copy does not","by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":0,"unverified":10},"key_notes":{"n_samples_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_samples_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2508.06033","arxiv_id_is_arxiv":true,"paper":"/paper/arxiv-2508-06033","title":"InstantEdit: Text-Guided Few-Step Image Editing with Piecewise Rectified Flow","date":null,"month_inferred_from_arxiv_id":"2025-08","title_source":"syntology","repo":"Supercomputing-System-AI-Lab/InstantEdit","path":"utils_/ptp_utils.py","file_url":"https://github.com/Supercomputing-System-AI-Lab/InstantEdit/blob/HEAD/utils_/ptp_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, Supercomputing-System-AI-Lab/InstantEdit when it was checked","code_sha256":"169aabcc919f06d9","code_sha256_prefix":"169aabcc919f06d9","mcp_get_code":{"code_sha256":"169aabcc919f06d9"}},{"arxiv_id":"2412.02693","arxiv_id_is_arxiv":true,"paper":"/paper/diffusion-based-visual-anagram-as-multi-task","title":"Diffusion-based Visual Anagram as Multi-task Learning","date":"2024-12-03","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"pixtella/anagram-mtl","path":"attn_utils.py","file_url":"https://github.com/pixtella/anagram-mtl/blob/HEAD/attn_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"0deefdc623c31f3d","code_sha256_prefix":"0deefdc623c31f3d","mcp_get_code":{"code_sha256":"0deefdc623c31f3d"}},{"arxiv_id":"2410.00321","arxiv_id_is_arxiv":true,"paper":"/paper/a-cat-is-a-cat-not-a-dog-unraveling","title":"A Cat Is A Cat (Not A Dog!): Unraveling Information Mix-ups in Text-to-Image Encoders through Causal Analysis and Embedding Optimization","date":"2024-10-01","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"basiclab/Unraveling-Information-Mix-ups","path":"model/attentions_utils.py","file_url":"https://github.com/basiclab/Unraveling-Information-Mix-ups/blob/HEAD/model/attentions_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"ff0f7c7f0e3e3086","code_sha256_prefix":"ff0f7c7f0e3e3086","mcp_get_code":{"code_sha256":"ff0f7c7f0e3e3086"}},{"arxiv_id":"2404.03653","arxiv_id_is_arxiv":true,"paper":"/paper/comat-aligning-text-to-image-diffusion-model","title":"CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching","date":"2024-04-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"caraj7/comat","path":"attn_utils/tc_attn_utils.py","file_url":"https://github.com/caraj7/comat/blob/HEAD/attn_utils/tc_attn_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, caraj7/comat when it was checked","code_sha256":"e4da54ebde4a3e29","code_sha256_prefix":"e4da54ebde4a3e29","mcp_get_code":{"code_sha256":"e4da54ebde4a3e29"}},{"arxiv_id":"2402.12908","arxiv_id_is_arxiv":true,"paper":"/paper/realcompo-dynamic-equilibrium-between-realism","title":"RealCompo: Balancing Realism and Compositionality Improves Text-to-Image Diffusion Models","date":"2024-02-20","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"mlpc-ucsd/TokenCompose","path":"train/src/attn_utils.py","file_url":"https://github.com/mlpc-ucsd/TokenCompose/blob/HEAD/train/src/attn_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"858ea4d2ddf8fcae","code_sha256_prefix":"858ea4d2ddf8fcae","mcp_get_code":{"code_sha256":"858ea4d2ddf8fcae"}},{"arxiv_id":"2401.07709","arxiv_id_is_arxiv":true,"paper":"/paper/towards-efficient-diffusion-based-image","title":"Towards Efficient Diffusion-Based Image Editing with Instant Attention Masks","date":"2024-01-15","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"xiaotianqing/InstDiffEdit","path":"model/attention_store.py","file_url":"https://github.com/xiaotianqing/InstDiffEdit/blob/HEAD/model/attention_store.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, xiaotianqing/InstDiffEdit when it was checked","code_sha256":"64d70aad002bc229","code_sha256_prefix":"64d70aad002bc229","mcp_get_code":{"code_sha256":"64d70aad002bc229"}},{"arxiv_id":"2312.10656","arxiv_id_is_arxiv":true,"paper":"/paper/vidtome-video-token-merging-for-zero-shot","title":"VidToMe: Video Token Merging for Zero-Shot Video Editing","date":"2023-12-17","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"lixirui142/VidToMe","path":"utils/pnp_utils.py","file_url":"https://github.com/lixirui142/VidToMe/blob/HEAD/utils/pnp_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"1a0f6cae08d3d7af","code_sha256_prefix":"1a0f6cae08d3d7af","mcp_get_code":{"code_sha256":"1a0f6cae08d3d7af"}},{"arxiv_id":"2211.09800","arxiv_id_is_arxiv":true,"paper":"/paper/instructpix2pix-learning-to-follow-image","title":"InstructPix2Pix: Learning to Follow Image Editing Instructions","date":"2022-11-17","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"lsl001006/zone","path":"null_text_w_ptp.py","file_url":"https://github.com/lsl001006/zone/blob/HEAD/null_text_w_ptp.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"48d7b99aa07d02fe","code_sha256_prefix":"48d7b99aa07d02fe","mcp_get_code":{"code_sha256":"48d7b99aa07d02fe"}},{"arxiv_id":"2208.01626","arxiv_id_is_arxiv":true,"paper":"/paper/prompt-to-prompt-image-editing-with-cross","title":"Prompt-to-Prompt Image Editing with Cross Attention Control","date":"2022-08-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"phymhan/prompt-to-prompt","path":"ptp_utils.py","file_url":"https://github.com/phymhan/prompt-to-prompt/blob/HEAD/ptp_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"ea0c551b3830dfeb","code_sha256_prefix":"ea0c551b3830dfeb","mcp_get_code":{"code_sha256":"ea0c551b3830dfeb"}},{"arxiv_id":"2208.01626","arxiv_id_is_arxiv":true,"paper":"/paper/prompt-to-prompt-image-editing-with-cross","title":"Prompt-to-Prompt Image Editing with Cross Attention Control","date":"2022-08-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"google/prompt-to-prompt","path":"ptp_utils.py","file_url":"https://github.com/google/prompt-to-prompt/blob/HEAD/ptp_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"5427f43aa7709411","code_sha256_prefix":"5427f43aa7709411","mcp_get_code":{"code_sha256":"5427f43aa7709411"}}],"record_sha256":"0234187a3ce8b845f78661be80130b8b9ab4b7cdcd9bf06ad5f3f1f5ef0e2dae","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}