Attention sinks are tokens, often the beginning-of-sequence (BOS) token, that receive disproportionately high attention despite limited semantic relevance. In this work, we identify a class of attention sinks, which we term secondary sinks, that differ fundamentally from the sinks studied in prior works, which we term primary sinks. While prior works have identified that tokens other than BOS can sometimes become sinks, they were found to exhibit properties analogous to the BOS token. Specifically, they emerge at the same layer, persist throughout the network and draw a large amount of attention mass. Whereas, we find the existence of secondary sinks that arise primarily in middle layers and can persist for a variable number of layers, and draw a smaller, but still significant, amount of attention mass. Through extensive experiments across 11 model families, we analyze where these secondary sinks appear, their properties, how they are formed, and their impact on the attention mechanism. Specifically, we show that: (1) these sinks are formed by specific middle-layer MLP modules; these MLPs map token representations to vectors that align with the direction of the primary sink of that layer. (2) The $\ell_2$-norm of these vectors determines the sink score of the secondary sink, and also the number of layers it lasts for, thereby leading to different impacts on the attention mechanisms accordingly. (3) The primary sink weakens in middle layers, coinciding with the emergence of secondary sinks. We observe that in larger-scale models, the location and lifetime of the sinks, together referred to as sink levels, appear in a more deterministic and frequent manner. Specifically, we identify three sink levels in QwQ-32B and six levels in Qwen3-14B. We open-sourced our findings at github.com/JeffreyWong20/Secondary-Attention-Sinks.
Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapse
Institute for Artificial Intelligence, Peking University, Beijing(人工智能研究院,北京大学,北京);School of Integrated Circuits, Peking University, Beijing(集成电路学院,北京大学,北京)
OTSeg: Multi-prompt Sinkhorn Attention for Zero-Shot Semantic Segmentation
Graduate School of AI, Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院人工智能研究生院);Massachusetts General Hospital (MGH)(麻省总医院);Harvard Medical School(哈佛医学院)
Shanghai Qi Zhi Institute(上海启智研究院);College of AI, Tsinghua University(清华大学人工智能学院);Shanghai Jiao Tong University(上海交通大学);California Institute of Technology(加州理工学院);University of Amsterdam(阿姆斯特丹大学)
ESPFormer: Doubly-Stochastic Attention with Expected Sliced Transport Plans
Department of Computer Science, Vanderbilt University, Nashville, TN, USA.(计算机科学系,范德比尔特大学);Department of Computer Science, Duke University, Durham, NC, USA.(计算机科学系,杜克大学);Department of Biostatistics and Bioinformatics, Duke University, Durham, NC, USA.(生物统计学与生物信息学系,杜克大学)
Attention Sinks and Outliers in Attention Residuals
Department of Computer Science, Northwestern University(西北大学计算机科学系);Department of Computer Science and Engineering, University of Michigan(密歇根大学计算机科学与工程系);Department of Statistics and Data Science, University of California Los Angeles(加州大学洛杉矶分校统计与数据科学系);Department of Electrical and Computer Engineering, University of California San Diego(加州圣地亚哥大学电气与计算机工程系);Department of Computer Science, Rutgers University-New Brunswick(新泽西州立大学鲁特学院计算机科学系);Department of Computer Science and Engineering, Texas A&M University(德克萨斯农工大学计算机科学与工程系);Department of Computer Science, Columbia University(哥伦比亚大学计算机科学系)
Attention Sink in Transformers: A Survey on Utilization, Interpretation, and Mitigation
Tsinghua University(清华大学);Meituan LongCat Team(美团LongCat团队);The University of Hong Kong(香港大学);University of Michigan(密歇根大学);Xiamen University(厦门大学);The Ohio State University(俄亥俄州立大学);Columbia University(哥伦比亚大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);The Hong Kong Polytechnic University(香港理工大学)