Jeffrey T. H. Wong, Cheng Zhang, Louis Mahon, Wayne Luk, Anton Isopoussu, Yiren Zhao
4 min
Abstract
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.
Alex: And this happens more in bigger models or ones trained extra on math data?
Sam: The experiments across 11 model families, like Qwen and DeepSeek, show secondary sinks clearly in larger ones and stronger after math-focused post-training. Smaller models lack them or have weak versions.
Alex: Right, so the primary sink fades mid-network, especially hurting reasoning, but these secondary sinks on math tokens like digits or punctuation snap in via MLP alignment to patch it. It's a hidden organization keeping attention stable depth-wise.
Sam: The paper suggests this reveals deeper structure in transformers—discrete sink levels stabilizing focus across layers. But it's observed mainly in certain families like Qwen and QwQ; causes from pre-training are unclear, and links to overall performance aren't measured yet.
Alex: What makes those MLPs pick exactly the sink direction?
Sam: Picture the MLP input for future sinks: it's got components pointing every which way, like scattered arrows. The MLP selectively projects the ones matching the sink vibe onto that main path, ignoring or downplaying others, and amplifies the norm hugely. Experiments confirm this—even tweaking input components separately still maps to the same direction if aligned.
Alex: Oh—so it's not random; the MLP encodes the sink direction internally, turning plain tokens into temporary anchors. Like booster stations recharging a fading signal midway.
Sam: Precisely. And since the primary weakens right then, these secondaries fill the void without losing semantic flow—their positions spread across the sequence, often on uninformative spots.
Alex: Makes sense why it shows in reasoning traces... the attention falters mid-network on math problems, then snaps back via these obscure tokens like commas or ones. That's the puzzle this unpacks.
Sam: The work lays out evidence for this depth-wise relay, but cautions it's specific to some architectures—future steps could probe training origins and generation effects. Thanks for listening to ResearchPod.