paper-with-me

홈 › Papers

Attention Sinks in Diffusion Transformers: A Causal Analysis

2026-05-10 · Fangzheng Wu, Brian Summa arxiv

Attention sinks -- tokens that receive disproportionate attention mass -- are assumed to be functionally important in autoregressive language models, but their role in diffusion transformers remains unclear. We present a causal analysis in text-to-image diffusion, dynamically identifying dominant attention recipients per timestep and suppressing them via paired, training-free interventions on the score and value paths. Across 553 GenEval prompts on Stable Diffusion~3 (with SDXL corroboration), removing these sinks does not degrade text-image alignment (CLIP-T) or preference proxies (ImageReward, HPS-v2) at $k{=}1$; only under stronger interventions ($k\!\geq\!10$) does HPS-v2 exhibit a metric-dependent boundary, while CLIP-T remains robust throughout. The perceptual shifts induced by suppression are nonetheless \emph{sink-specific} -- $\sim\!6\times$ larger than equal-budget random masking -- revealing an empirical dissociation between trajectory-level perturbation and \emph{semantic alignment} in diffusion transformers. \footnote{Code available at https://github.com/wfz666/ICML26-attention-sink.}

📄 PDF Abstract BibTeX arXiv:2605.09313

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Analysis of Attention in Video Diffusion Transformers

2025-04-14 · Yuxin Wen, Jim Wu, Ajay Jain, Tom Goldstein 외

We conduct an in-depth analysis of attention in video diffusion transformers (VDiTs) and report a number of novel findings. We identify three key properties of attention in VDiTs: Structure, Sparsity, and Sinks. Structur…

Video Editing

A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigation

2026-04-16 · Yuval Ran-Milo, Hila Ofek, Shahar Mendel arxiv

Transformers commonly exhibit an attention sink: disproportionately high attention to the first position. We study this behavior in GPT-2-style models with learned query biases and absolute positional embeddings. Combini…

Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers

2026-03-18 · Yihong Chen, Zhouchen Lin, Quanming Yao arxiv

Attention sinks and massive activations are recurring and closely related phenomena in Transformer models. Existing explanations have largely focused on the forward pass, yet in pre-norm Transformers, large residual-stre…

Text Template Tokens Are Implicit Semantic Registers in Diffusion Transformers

2026-07-21 · Maohua Li, Qirui Li, Yanke Zhou, Yiduo Li 외 hf

Modern text-to-image diffusion transformers (DiTs) generate images through joint attention, in which text and image tokens interact directly within a single sequence. In large-scale DiTs, the conditioning input contains …

Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention

2026-05-08 · Peter Súkeník, Cristina López Amado, Christoph H. Lampert, Marco Mondelli arxiv

This paper studies the role of sinks and diagonal patterns as attention switch and anti-oversmoothing mechanisms. We analyze geometric conditions under which sinks can be represented, showing a necessary alignment betwee…