# How does attention in transformers evolve and affect model behavior under training, noise, context length, and scale?

Category: [Training, Efficiency and Generalization](../qcat/2.md) › [Transformer Attention](../qgroup/21.md) · 7 papers · No consensus

[Open on the map](../questions.html#q207)

*7 papers; abstracts only, so this reports what papers claim.*

## Bottom line
No claim is backed by three or more verified papers; see the contested and isolated items below.

## Convergence
No claim is backed by three or more papers.
## Contested
### What functional role do attention sinks and massive activations play? (scope difference) **[label disputed]**
- A: Sinks act as a forward-pass attention switch that prevents oversmoothing, and are favored over diagonal patterns in pretrained transformers. (p153161)
- B: Massive activations mainly regulate localized gradient pressure in the backward pass; their forward role is only indirect. (p151217)
- Why: p151217 studies pre-norm transformers where sublayers operate on normalized inputs, making forward norms indirect; p153161 analyzes geometric representation conditions in the forward pass.

### Does attention remain well-behaved or degenerate as context grows? (scope difference)
- A: Finite-context attention approximates the infinite-context system stably, with deviation shrinking at rate n^{-1/d}. (p151039)
- B: Softmax attention can degenerate into uniform averaging or collapse onto a single key depending on temperature scaling. (p152309)
- Why: p152309 treats inverse temperature as the free scaling parameter, while p151039 fixes the architecture and studies the large-n limit of the contextual measure.

## Isolated claims (1 to 2 papers)
- Copy heads emerge abruptly through a first-order phase transition in training data, whereas linear attention evolves smoothly after an initial transition.
  - [p148770](../p/148770.md) Phase Transitions in Attention: A Bayesian Theory of Copy He [theory/synthetic; single-layer attention on copy task]: softmax attention shows a first-order phase transition; linear attention shows a second-order transition then continuous crossover
- Effective denoising can emerge without an explicit noise schedule; a fixed kernel bandwidth and finite integration horizon suffice.
  - [p149497](../p/149497.md) Attention as In-Context Empirical Bayes: A Two-Stage View vi [theory; minimal attention-only transformers]: a fixed kernel bandwidth and finite integration horizon suffice, yielding a principled depth–noise relationship
- As context length grows, attention behavior converges to a population-level statistical limit with quantified convergence rates.
  - [p151039](../p/151039.md) Propagation of Chaos in Contextual Flow Maps [theory; not stated]: finite-context flow maps deviate from the infinite-context ideal at the optimal Wasserstein rate n^{-1/d}, forward and backward

## Gaps
- No paper validates these claims on trained large language models; the evidence is theoretical or from minimal and small models.
- No work links training-time emergence of attention structure to long-context scaling limits within a single framework.
- Noise is studied only as all-token corruption in minimal attention-only transformers, not realistic corruption patterns or trained denoisers.

## Off topic or tangential
- [p148913](../p/148913.md) Hard Attention Transformers and BSS-Machines [theory; not stated]: expressivity result equating hard-attention recursive transformers with BSS-machines; says nothing about training, noise, context length, or scale

## Verification report
- revision: 3 findings sent back to the generator; the revised answer was checked again
- bottom line: plain fallback (no valid written bottom line survived)
- 7 paper-to-statement attributions checked by two judges; agreement: 7 both agree
- changes: 1 claim disputed
- judge A (command-a-plus-05-2026): planted wrong statements caught 7 of 7; positive controls passed 7 of 7
- judge B (deepseek/deepseek-v4-pro-0813): planted wrong statements caught 7 of 7; positive controls passed 7 of 7

### Removed, changed or disputed by verification
- claim_disputed: What functional role do attention sinks and massive activations play? -- disputed: judge A said scope difference: A describes sinks; B describes massive activations, so statements concern different components.; judge B said no real tension: A addresses attention sinks and diagonal p

## The 7 papers that ask this question

- [Phase Transitions in Attention: A Bayesian Theory of Copy Head Emergence](../p/148770.md)
- [Attention as In-Context Empirical Bayes: A Two-Stage View via Particle Dynamics](../p/149497.md)
- [Scaling Limits of Long-Context Transformers](../p/152309.md)
- [Hard Attention Transformers and BSS-Machines](../p/148913.md)
- [Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention](../p/153161.md)
- [Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers](../p/151217.md)
- [Propagation of Chaos in Contextual Flow Maps](../p/151039.md)

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=q/207)
