Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs Enables Single-Pass Dual Generation
While Large Language Models rely on deep non-linear activation layers, a groundbreaking mechanistic study titled 'Your Transformer Can Hold Two Thoughts at Once' (arXiv:2609.29845) demonstrates that transformer architectures exhibit fundamental linear superposition. When inputs from two distinct textual contexts are linearly combined in latent space, the model outputs a superposition of the individual next-token probability distributions. The authors reveal this superposition is an intrinsic architectural property that decays during pretraining but can be restored via lightweight fine-tuning. Furthermore, the team introduces a guided decoding procedure that cleanly disentangles superposed representations, enabling the simultaneous generation of two coherent, independent continuations from a single forward pass.
Key Takeaways
- Formulates and verifies the Superposition Linearity Hypothesis, proving transformers inherently superpose text streams
- Demonstrates lightweight fine-tuning eliminates divergence between superposed predictions and averaged distributions
- Introduces guided decoding to generate two distinct, fully coherent textual continuations from a single forward pass