# Attention Sinks as Spectral Spikes: A Mechanism Analysis of Gated Attention

*Seojin Kim, Yehjin Shin, Noseong Park*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153587) · [Open on the map](../papers.html#p153587)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Transformer Dynamics Theory](../pgroup/488.md) · Type: new method · Keywords: attention sinks, spectral analysis, post-SDPA gating, transformer dynamics, gradient concentration

Areas: [LLM Reasoning](../areas/reasoning.md) › Efficient Reasoning › Attention Mechanisms

## Summary
The paper reinterprets transformer attention sinks as low-rank spectral spikes and shows that post-SDPA output gating contracts these modes, reducing outlier attention mass, weakening sink alignment, and improving training dynamics.

## Explained to a 5-year-old
In a computer brain called a transformer, some special words get a lot of attention while others get almost none. This is called an attention sink. The researchers looked at a way to spread out the attention more evenly, using a simple rule after the attention calculation. This rule helps stop the big sink from taking everything and makes the brain work more balanced. They found that this spreading helps the brain learn better and not get stuck on a few words.

## Explained to a 5-year-old, longer
Transformers are computer programs that read sequences of words and try to understand how each word relates to the others. When they look at a sentence, they give each word a score showing how much attention it gets. Sometimes one word gets a huge score, like a bright spotlight, while many other words get almost no light. This bright spot is called an attention sink because it pulls almost all the attention toward itself. Having such a sink can make the program focus too much on a single word and ignore the rest. The researchers studied a trick that helps spread the attention more evenly across all words. The trick works by adjusting the attention scores after the main calculation step. This adjustment reduces the huge spotlight and makes the lighting more balanced. By balancing the light, the program can learn from many words instead of just one. The balanced attention also helps the program’s internal signals stay stable during learning. The team measured how well the trick works by looking at the patterns of attention and the changes inside the program. They found that the trick successfully reduces the sink effect and improves overall learning behavior.

## For a technical reader
The paper investigates why transformer attention models often concentrate most of their focus on a few tokens, a phenomenon termed attention sinks. They reinterpret these sinks as low-rank modes in the token covariance matrix that align with high-mass attention columns. By applying post-SDPA output gating, the authors show that the spectral energy of these modes is attenuated in the forward pass and that value-path gradients through sink columns are locally reduced in the backward pass. Empirical random-matrix diagnostics confirm reduced outlier mass, weaker sink alignment, and higher effective rank, while training-time analyses reveal suppressed co-emergence of attention concentration, gradient amplification, and representation dominance.

## Problem
It remains unclear how gating influences forward sink structure, backward gradient concentration, and training-time representation signatures in transformer models.

## Method
The approach formulates attention sinks as low-rank modes in token-space covariance, treats gating as a mode-dependent contraction that attenuates spectral energy in the forward pass and reduces value-path gradients in the backward pass, and employs random-matrix diagnostics and training-time analyses to evaluate its effects.

## Results
The approach demonstrates that gating reduces outlier attention mass, weakens sink-subspace alignment, increases effective rank, attenuates first-token value gradients, and suppresses the co-emergence of attention concentration, gradient amplification, and representation dominance.

## Contributions
The paper provides a spectral interpretation of attention sinks, reveals how gating contracts these modes in both forward and backward passes, and empirically shows that gating mitigates sink-related phenomena during training.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153587)
