A Conditional No-Hair Theorem for Transformers: How Language Models Forget Their Prompt
We ask how much an autoregressive transformer retains of its prompt after generating t tokens.
ProofPaper ↗
Key points
- The bound holds for finite-depth pre-LN softmax transformers with bounded attention logits, under one additional condition: the pre-norm activations stay away from zero.
- This is what we call the conditional no-hair theorem: given the text generated so far, the prompt's influence on the next token vanishes as t grows, so any property of the prompt that survives, such as its language, must be carried by the text itself.
- An exactly solvable linear relay model shows that the bound cannot be improved and reproduces the rise of the local exponent towards 1 seen in untrained networks.
- Cancelling the dilution with a logit bias stops the decay early in training and reverses it after, so dilution is necessary for the forgetting we measure; untrained networks and the solvable model show it is also sufficient.
Sources (2)
- [1]A Conditional No-Hair Theorem for Transformers: How Language Models Forget Their PromptHugging Face Daily Papers · Oct 16, 12:00 AM
We ask how much an autoregressive transformer retains of its prompt after generating t tokens.
The bound holds for finite-depth pre-LN softmax transformers with bounded attention logits, under one additional condition: the pre-norm activations stay away from zero.
- [2]A Conditional No-Hair Theorem for Transformers: How Language Models Forget Their PromptarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 16, 07:03 PM · same content
Extractive summary: sentences quoted from the sources.
Before this
- Oct 15, 2026Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX
- Oct 15, 2026Designing Transformers for Continuous Diffusion Language Models
- Oct 15, 2026Patch where the text is new: a compression view of where byte-level models should spend compute
- Oct 15, 2026TIPS: A Tiny Inference-time Policy for Scaling in Diffusion Language Models
- Oct 15, 2026Prism-1: Position- and Rival-Independent Scoring for System One Models
- Oct 15, 2026RoleQ: Role-Aligned Scales for Converting Language Models to Ternary