Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs
Abstract
While Large Language Models (LLMs) rely on highly non-linear components, in this work we demonstrate that they exhibit fundamental linearity: when inputs from distinct text streams are linearly combined, the model outputs a superposition of the individual next-token distributions. We term this the Superposition Linearity Hypothesis. We provide evidence that superposition is an intrinsic property of the Transformer architecture rather than an emergent consequence of training; in fact, we observe that it tends to diminish as pretraining progresses. However, we demonstrate that linearity can be substantially restored through lightweight fine-tuning, significantly reducing the divergence between the predicted next-token distribution and the average of the individual next-token distributions. Finally, we introduce a guided decoding procedure that disentangles superposed outputs, enabling the simultaneous generation of two coherent continuations from a single forward pass.
Community
Your LLM can hold two thoughts at once: when you average the embeddings of two unrelated texts, the model predicts the next token for both streams at the same time. This superposition comes from the architecture itself, since pretraining erodes it and a light fine-tune restores it. We show how to separate it again and decode two continuations from a single forward pass.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Interpreting Language Model Hidden States at Scale (2026)
- Text Capability Loss in Vision-Language Adaptation: An Attention-Sink Diagnosis (2026)
- Full-bandwidth transformer (2026)
- Gated Recurrent Transformers: Expressive Depth through Recurrent Modulation (2026)
- LiLiCorr: Lightweight Likelihood Correlation of Parallel Drafts for Speculative Decoding (2026)
- Listening Forward: Next Patch Embedding Prediction Enables Scalable Audio Learners (2026)
- Align, Integrate, and Fire: Efficient Token-Level Alignment for Zero-Shot SpeechLLMs (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2609.29845 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper