Revealing the Attention Floating Mechanism in Masked Diffusion Models
On the map: Diffusion models → Discrete and text diffusion
Abstract (arXiv)
Masked diffusion models (MDMs), which leverage bidirectional attention and a denoising process, are narrowing the performance gap with autoregressive models (ARMs). However, their internal attention mechanisms remain under-explored. This paper investigates the attention behaviors in MDMs, revealing the phenomenon of Attention Floating. Unlike ARMs, where attention converges to a fixed sink, MDMs exhibit dynamic, dispersed attention anchors that shift across denoising steps and layers. Further analysis reveals its Shallow Structure-Aware, Deep Content-Focused attention mechanism: shallow layers utilize floating tokens to build a global structural framework, while deeper layers allocate more capability toward capturing semantic content. Empirically, this distinctive attention pattern provides a mechanistic explanation for the strong in-context learning capabilities of MDMs, allowing them to double the performance compared to ARMs in knowledge-intensive tasks. All codes and datasets are available at https://github.com/NEUIR/Attention-Floating.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 26 of its 30 references that are in the map. First posted on arXiv 12 Jan 2026.
Builds on
26 of 30 references.
Closest ancestors · 11
Same direction, newest first
- 2025TiDAR: Think in Diffusion, Talk in Autoregression12 Nov
- 2025Diffuse Thinking: Exploring Diffusion Language Models as Efficient Thought Proposers for Reasoning31 Oct
- 2025Soft-Masked Diffusion Language Models20 Oct
- 2025Attention Sinks in Diffusion Language Models17 Oct
- 2025Training Optimal Large Diffusion Language Models28 Sep
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun
- 2025Smoothie: Smoothing Diffusion on Token Embeddings for Text Generation24 May
- 2025TESS 2: A Large-Scale Generalist Diffusion Language Model19 Feb
- 2024TEncDM: Understanding the Properties of the Diffusion Model in the Space of Language Model Encodings29 Feb
- 2023A Reparameterized Discrete Diffusion Model for Text Generation11 Feb
- 2022DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models28 Nov
Other references · 15
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2022In-context Learning and Induction Headscited by 930
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 404
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2024RAG-DDR: Optimizing Retrieval-Augmented Generation Using Differentiable Data Rewardscited by 33
- 2022Composable Text Controls in Latent Space with ODEscited by 28
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026One Token Is Enough: Improving Diffusion Language Models with a Sink Tokencited by 2
- 2026Adaptive Guidance for Retrieval-Augmented Masked Diffusion Modelscited by 1
- 2026Text Template Tokens Are Implicit Semantic Registers in Diffusion Transformerscited by 1
- 2026Induction in Both Directions: A Mechanistic Analysis of In-Context Learning in Masked Diffusion Language Modelscited by 0
- 2026Text Template Tokens Are Implicit Semantic Registers in Diffusion Transformers21 Jul 2026
- 2026Induction in Both Directions: A Mechanistic Analysis of In-Context Learning in Masked Diffusion Language Models17 Jul 2026
- 2026Adaptive Guidance for Retrieval-Augmented Masked Diffusion Models18 Mar 2026
- 2026One Token Is Enough: Improving Diffusion Language Models with a Sink Token27 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Empirical Analysis of Decoding Biases in Masked Diffusion Models
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysis
- 2025SparseD: Sparse Attention for Diffusion Language Models
- 2025Bringing Stability to Diffusion: Decomposing and Reducing Variance of Training Masked Diffusion Models
- 2026PreDiff-LM: Pretrained Discrete Masked Diffusion Language Modeling with Hybrid Attention
- 2026Beyond Fully Random Masking: Attention-Guided Denoising and Optimization for Diffusion Language Models
- 2026Retrofitting Linear Attention into Diffusion Language Models
- 2025Beyond Masked and Unmasked: Discrete Diffusion Models via Partial Masking