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: Welcome to another episode of ResearchPod.
Sam: These models are built in layers, like stacked filters that refine information step by step. Each layer looks at the whole input sequence and decides which parts matter most right now—that decision-making part is called the attention mechanism.
Alex: Okay, so attention picks out the important bits. But I've heard it doesn't always stay steady across all those layers—what goes wrong there?
Sam: In many models, there's a special token at the very start of the input, like a starting flag. This flag token grabs a lot of attention early on, even though it doesn't carry much meaning on its own—researchers noticed this and called it a primary attention sink.
Alex: A starting flag that hogs focus. Like the first page of a book that everyone keeps flipping back to, even if the story's deeper in.
Sam: Exactly. This primary sink helps stabilize things initially. But as you go deeper into the middle layers, its pull weakens noticeably—the attention score for that starting token drops to its lowest point.
Alex: So the model's focus drifts or fades midway through. That sounds like it could mess up reasoning tasks, like solving a long math problem where you need to keep track of everything.
Sam: The paper observes this exact pattern during math reasoning traces. The primary sink's strength follows a valley shape—it starts strong, dips in the middle layers, and that's precisely when something else steps in to compensate.
Alex: Compensate how?
Sam: Certain meaningless tokens, like a simple '1' or a comma in the math expression, suddenly start pulling attention too. These aren't like the primary sink; they pop up mainly in middle layers and last just a few layers, drawing less but still notable attention.
Alex: Why those specific ones, and how does the model make them act like sinks?
Sam: The study traces it to specific modules in those middle layers—parts called MLPs, which are like feed-forward networks that transform the token representations. Early layers quietly group certain uninformative tokens together, separating them from others. Then, at a key middle layer, the MLP takes inputs from different directions and maps them to point straight toward the primary sink's direction, boosting their size in a way that makes them stick out.
Alex: So it's like early preparation sets up a team of plain tokens, and the middle MLP gives them a uniform shove toward the main focus direction. That alignment lets them temporarily refill the attention gap.
Sam: Yes. The strength of that boost decides how much attention they grab and how long they hold it. Higher boost means stronger sink and longer persistence.
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.