# A Conditional No-Hair Theorem for Transformers: How Language Models Forget Their Prompt

arXiv: https://arxiv.org/abs/2610.24133 · HTML: https://mlsanity.com/paper/2610.24133/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Builds on 8 of its 27 references that are in the map.
- Submitted 16 Oct 2026.

## Builds on (most cited first, 8 of 8)

- [Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling](https://mlsanity.com/paper/2304.01373/) (2023)
- [Quantifying Attention Flow in Transformers](https://mlsanity.com/paper/2005.00928/) (2020)
- [Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depth](https://mlsanity.com/paper/2103.03404/) (2021)
- [When Attention Sink Emerges in Language Models: An Empirical View](https://mlsanity.com/paper/2410.10781/) (2024)
- [Transformers need glasses! Information over-squashing in language tasks](https://mlsanity.com/paper/2406.04267/) (2024)
- [Criticality in Formal Languages and Statistical Physics](https://mlsanity.com/paper/1606.06737/) (2016)
- [How Many Different Outputs Can a Transformer Generate?](https://mlsanity.com/paper/2605.22223/) (2026)
- [Production and Perception in LLMs: A Token Probability Approach](https://mlsanity.com/paper/2607.11703/) (2026)

## Built on by (most cited first, 1 of 1)

- [NoHairCache: Calibrate-Once KV Cache Eviction with One Power-Law Exponent](https://mlsanity.com/paper/2611.29006/) (2026)

## Abstract (arXiv)

A black hole retains only a few conserved charges of the matter it formed from. We are inspired to make the analogy and we ask how much an autoregressive transformer retains of its prompt after generating t tokens. For two prompts followed by the same continuation, the difference of their hidden states decays approximately as a power law t-α, where α=1 is the rate at which a fixed prompt's share of uniform attention shrinks. Beyond the first layers, trained models forget faster (α≈0.55--0.7) than untrained ones of the same architecture (α≈0.2--0.5). For finite-depth pre-LN softmax transformers with bounded attention logits and non-degenerate pre-norm activations, we prove that this offset is Obig(P(log t)L-1/tbig) for prompt length P and depth L: the prompt's direct influence is diluted as the context grows, and relay through continuation tokens adds only logarithmic factors. Conditional on the generated text, the prompt's influence on the next token thus vanishes. The bound fixes only the asymptotic shape and is uninformative at the lengths we measure in trained networks; an exactly solvable linear relay model shows that it cannot be improved and accounts for the untrained curves. Cancelling the dilution with a logit bias on the prompt stops the decay early in training, and training suppresses relay by about one billion tokens, before attention sinks form. A toolkit that measures α for any Hugging Face causal language model is publicly available.
