Attention Sinks in Diffusion Language Models

Maximo Eduardo Rulli, Simone Petruzzi, Edoardo Michielon, Fabrizio Silvestri, Simone Scardapane, Alessio Devoto · DOI

Introduction

Large Language Models (LLMs) have traditionally been dominated by Autoregressive Models (ARMs) like GPT-4, which generate text sequentially from left to right. However, Masked Diffusion Language Models (DLMs) have emerged as a compelling alternative. Unlike ARMs, DLMs begin with a sequence of [MASK] tokens and iteratively "denoise" them in parallel.

A critical phenomenon in LLM architecture is the presence of "attention sinks"—specific tokens that absorb a disproportionate amount of attention, acting as anchors for the model's internal representations. This paper investigates whether DLMs exhibit similar behavior and how these sinks differ from those in traditional autoregressive architectures.

Mechanism of a semi-autoregressive Diffusion Language Model (DLM).

Methodology

The researchers evaluated three state-of-the-art DLMs: LLaDA-8B (trained from scratch), Dream-7B (initialized from a pre-trained ARM), and MMaDA-8B (a multimodal variant). To identify attention sinks, they developed a metric for cumulative attention scores across layers and denoising steps. Performance was benchmarked using the GSM8K reasoning dataset and the HumanEval coding suite.

The Dynamic Nature of Sinks

In traditional ARMs, attention sinks are typically static, often residing on the first token of a sequence. In contrast, DLMs exhibit "moving targets." As the model progressively unmasks tokens, the sinks shift positions, often tracking the "unmasking frontier" where the most active generation occurs.

Dynamic attention sinks in DLMs across denoising steps.

The origin of the model significantly influences sink behavior. LLaDA-8B tends to anchor attention on semantic markers like punctuation and whitespace (specifically the Ċ token). Conversely, Dream-7B, which inherits weights from an ARM, shows a stronger positional bias, with sinks moving from right to left during the denoising process.

The Robustness Paradox

One of the most significant findings is the disparity in robustness between ARMs and DLMs. In autoregressive models like Llama-3.1-8B, masking the primary attention sink causes a catastrophic failure; performance on GSM8K plummeted from 0.85 to 0.02.

DLMs, however, are remarkably resilient. Masking their top-ranked sinks resulted in less than a 1% performance dip (e.g., LLaDA-8B dropped from 0.76 to 0.75). This robustness likely stems from the bidirectional nature of DLMs. Because every token can attend to every other token, the model can dynamically reroute information through alternative pathways if a primary sink is unavailable.

Conclusion and Future Directions

While DLMs demonstrate impressive structural flexibility, the exact information stored within these moving sinks remains a subject for future mechanistic interpretability research. Understanding these dynamics could lead to optimized KV cache compression and faster inference for diffusion-based models, mirroring optimizations already used for long-context autoregressive systems.

Summary updated

BibTeX
@inproceedings{rulli2026attention,
  author = {Maximo Eduardo Rulli and Simone Petruzzi and Edoardo Michielon and Fabrizio Silvestri and Simone Scardapane and Alessio Devoto},
  title = {{Attention Sinks in Diffusion Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.2145},
}
Figure