mlsanityData to 14 Oct 2026

Beyond Attention Masks: Instruction Anchoring for Efficient In-Context Diffusion Generation

arXiv 2608.21229 ↗First posted 21 Aug 2026cs.CVcited by 0

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

In-context diffusion transformers concatenate instruction, target, and reference tokens into a single sequence for joint attention. Reference-side computation must therefore be repeated at every denoising step, with the cost growing rapidly as more references are added. Decoupling reference tokens from the target enables exact key-value reuse across denoising steps, but prevents the references from attending to the instruction, degrading instruction following and reference fidelity. This trade-off cannot be resolved through attention-mask design alone. We introduce AnchorCache, a parameter-free token-layout and attention-mask co-design that inserts static text anchors. These anchors condition the reference representations on the instruction during cache construction, after which the resulting reference keys and values can be reused exactly across denoising steps. To recover the quality initially lost through this structural conversion, we apply teacher-forced velocity distillation followed by a short on-policy stage that queries the teacher at student-visited states. To our knowledge, this is the first use of on-policy distillation for architectural recovery in diffusion models. Across benchmarks spanning image, speech, and video generation, AnchorCache matches full-attention quality. Its efficiency gains increase with the reference-context size, reaching a 6.40x speedup in diffusion transformer inference.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 32 of its 41 references that are in the map. First posted on arXiv 21 Aug 2026.

Builds on

32 of 41 references.

Closest ancestors · 10

Same direction, newest first

  1. 2026Rethinking Classifier-Free Guidance in On-Policy Diffusion Distillation27 Jul
  2. 2026Token Pruning for In-Context Generation in Diffusion Transformers2 Feb
  3. 2025EasyControl: Adding Efficient and Flexible Control for Diffusion Transformer10 Mar
  4. 2024OminiControl: Minimal and Universal Control for Diffusion Transformer22 Nov
  5. 2024SmoothCache: A Universal Inference Acceleration Technique for Diffusion Transformers15 Nov
  6. 2024SVDQuant: Absorbing Outliers by Low-Rank Components for 4-Bit Diffusion Models7 Nov
  7. 2024Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching3 Jun
  8. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesis5 Mar
  9. 2023Consistency Models2 Mar
  10. 2022Scalable Diffusion Models with Transformers19 Dec

Other references · 22

  1. 2022Flow Matching for Generative Modelingcited by 5,702
  2. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 939
  3. 2025Self Forcing: Bridging the Train-Test Gap in Autoregressive Video Diffusioncited by 625
  4. 2015Policy Distillationcited by 440
  5. 2024From Slow Bidirectional to Fast Autoregressive Video Diffusion Modelscited by 433
  6. 2024Seed-TTS: A Family of High-Quality Versatile Speech Generation Modelscited by 300
  7. 2024Timestep Embedding Tells: It's Time to Cache for Video Diffusion Modelcited by 269
  8. 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsitycited by 217
  9. 2025Self-Forcing++: Towards Minute-Scale High-Quality Video Generationcited by 192
  10. 2024OmniEdit: Building Image Editing Generalist Models Through Specialist Supervisioncited by 145
  11. 2023MiniLLM: On-Policy Distillation of Large Language Modelscited by 139
  12. 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 120
10 more
  1. 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 114
  2. 2025DistiLLM-2: A Contrastive Approach Boosts the Distillation of LLMscited by 84
  3. 2025Radial Attention: O(nlog n) Sparse Attention with Energy Decay for Long Video Generationcited by 69
  4. 2025OminiControl2: Efficient Conditioning for Diffusion Transformerscited by 57
  5. 2025OpenVE-3M: A Large-Scale High-Quality Dataset for Instruction-Guided Video Editingcited by 53
  6. 2025VMoBA: Mixture-of-Block Attention for Video Diffusion Modelscited by 37
  7. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 28
  8. 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuningcited by 18
  9. 2025BWCache: Accelerating Video Diffusion Transformers through Block-Wise Cachingcited by 11
  10. 2025EDiT: Efficient Diffusion Transformers with Linear Compressed Attentioncited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Anchoring and Steering Diffusion: Enhancing the Faithfulness of Text-to-Image Generation at Inference Time
  2. 2026Time-Anchored Diffusion Language Models: Latent-Space Caching for Fast Generation
  3. 2026FlashBlock: Attention Caching for Efficient Long-Context Block Diffusion
  4. 2025Disentangling Instruction Influence in Diffusion Transformers for Parallel Multi-Instruction-Guided Image Editing
  5. 2026DiTango: Cost-Effective Parallel Diffusion Generation with Selective Attention State Reuse
  6. 2025CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformers
  7. 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models
  8. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models