A Conditional No-Hair Theorem for Transformers: How Language Models Forget Their Prompt
Prompt information that persists must be carried by the continuation text itself, under the theorem’s conditions.
The study compares different prompts followed by identical continuation text, isolating the prompt’s influence on hidden states. That difference decays approximately as a power law, faster in trained models than in untrained ones. The proof applies to finite-depth pre-LN softmax transformers with bounded attention logits and pre-normalization activations that stay away from zero. As context grows, attention to the prompt is diluted; continuation tokens relaying its information can slow that decay only by logarithmic factors.
HF Daily Papers' note
The study compares different prompts followed by identical continuation text, isolating the prompt’s influence on hidden states. That difference decays approximately as a power law, faster in trained models than in untrained ones. The proof applies to finite-depth pre-LN softmax transformers with bounded attention logits and pre-normalization activations that stay away from zero. As context grows, attention to the prompt is diluted; continuation tokens relaying its information can slow that decay only by logarithmic factors.
HF Daily Papers' note
score 5