In autoregressive Large Language Models (LLMs), "attention sinks"—tokens that absorb a disproportionate amount of attention mass, such as the initial [BOS] token—are legendary for their structural importance. They act as stable anchors for Key-Value (KV) caching and prevent numerical instability; removing them typically breaks the model. However, Diffusion Transformers (DiTs), such as Stable Diffusion 3 (SD3), operate on entirely different principles, utilizing bidirectional attention and iterative denoising rather than left-to-right generation.
This raises a fundamental question: Do attention sinks play the same "load-bearing" role in diffusion models, or are they merely statistical artifacts? Understanding this distinction is vital for designing efficient, sparse attention mechanisms that preserve the core generative capabilities of the model.
Dynamic Identification and Causal Intervention
To investigate this, researchers conducted a causal analysis of attention sinks in DiTs. Moving beyond the "fixed-position" assumption commonly used in LLM research (where the sink is assumed to be at index 0), the authors implemented a Dynamic Sink Definition. They identified sinks on-the-fly for every attention head and denoising timestep based on which keys received the most incoming attention mass.
To test the necessity of these sinks, the team applied training-free causal interventions during inference:
- Score-path suppression: Adding a large negative bias to the attention logits of sink tokens to effectively zero out their influence.
- Value-path suppression: Replacing the sink token's value vector with zeros or mean values.
These interventions were evaluated across 553 GenEval prompts and 5,000 COCO captions, primarily using Stable Diffusion 3 with corroborating tests on SDXL.
Key Findings: The Semantic-Perceptual Dissociation
Sinks are Dynamic and Text-Dominated
Unlike LLMs, sinks in SD3 are highly dynamic. The overlap between the top-1 sink and the index-0 token is less than 0.2%. Furthermore, in joint-attention models like SD3, over 99.9% of identified sinks are text-conditioning tokens rather than visual latents. Attention concentration on these sinks is strongest during the early, high-noise stages of denoising and diminishes as the image clarifies.
Semantic Alignment Remains Intact
The most striking discovery is that attention sinks in DiTs are not necessary for semantic alignment. Suppressing the top-1 sink ($k=1$) resulted in zero significant degradation in text-to-image alignment (measured by CLIP-T) or human preference proxies (ImageReward, HPS-v2). The model successfully reduced sink attention mass by a factor of over $10^8$ without catastrophic failure.
Massive Perceptual Shifts
Despite maintaining semantic fidelity (e.g., a "blue pizza" remains a "blue pizza"), suppressing a sink causes a massive perceptual shift. The resulting image exhibits a completely different layout or style. Measured via LPIPS, this perceptual change is approximately 6 times larger than removing a random token. This proves that while sinks aren't strictly "necessary" for prompt comprehension, they do carry critical structural routing information.
The Intervention Boundary
Only under aggressive interventions—removing 10 or more sinks per head ($k \geq 10$)—did the researchers observe a slight dip in human preference scores (HPS-v2), though CLIP-T alignment remained remarkably robust even at this extreme.
Limitations and Future Directions
While the study proves that sinks can be safely removed without losing semantic alignment, it does not yet offer a "free lunch" speedup. The overhead of dynamically identifying sinks requires specialized CUDA kernels to translate into actual wall-clock acceleration. Additionally, the findings rely heavily on proxy metrics; subtle compositional errors might still exist that require human-in-the-loop evaluation.
Finally, this study focuses strictly on inference-time necessity and does not explore whether these sinks are required for gradient stability during training. Looking forward, the authors suggest exploring "sink-specific trajectory control"—leveraging sink manipulation not just for computational efficiency, but as a novel method to steer image generation and layout without altering the underlying text prompt.
Summary updated