# Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs

- **ID:** 1073
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2609.29845
- **Authors:** Pavel Tikhonov, Anton Korznikov, Matvey Mikhalchuk, Nikita Dragunov, Temurbek Rahmatullaev, Polina Druzhinina, Anton Razzhigaev, Ivan Oseledets, Elena Tutubalina
- **Venue:** arXiv
- **Publisher:** arXiv
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** CC BY-NC-ND 4.0
- **License family:** Non-commercial (auto-classified)
- **Tags:** superposition-linearity, embedding-average, dual-stream, guided-decoding, joint-contrastive, pythia, qwen, llama, fineweb, arxiv-2609.29845, huggingpapers, interpretability
- **Topics:** interpretability; linear superposition; embedding averaging; dual-stream decoding; transformer inference
- **Added:** 2026-09-26
- **Verified:** 2026-09-26
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/1073

## Summary

arXiv 2609.29845 (cs.CL/cs.AI; submitted 2026-09-24; CC BY-NC-ND 4.0). Averaging embeddings of two unrelated streams makes standard decoder-only LLMs (Pythia, Qwen2.5, Llama, OLMo, Gemma) put both streams' next tokens in the mixed distribution (often top-10 ~30–40% without FT). Superposition is strongest at init and degrades over Pythia pretraining; lightweight FineWeb KL self-distillation (<0.025% of pretrain size) restores it (e.g. Pythia-2.8B KL 1.86→0.27; top-5 recovery ≈30%→>60%; content-token median rank 284→5) at a single-stream quality cost. Geometric-mean obstruction makes naive sampling mix streams; Joint Contrastive guided decoding (large mixed + small-model contrastive logits) raises mixed LAMBADA mean accuracy (e.g. Llama-3.2-3B 0.182→0.430) and Separate mode claims ~2× throughput vs sequential with ~½ KV per stream. No public code on abs/HF at catalog time. Distinct from Token Superposition (id 543) and Superposed Decoding (2405.18400).

## Attributes

- **Purpose:** Show token-wise embedding averages of two texts yield a superposition of next-token distributions (Superposition Linearity Hypothesis), that this intrinsic property fades in pretraining but restores with light fine-tuning, and that guided decoding can recover both streams from one forward pass.
- **Scale:** Pythia/Qwen2.5/Llama/OLMo/Gemma families; TinyStories + FineWeb/FineWeb-Edu; L=32–512; FT ~200k FineWeb steps; Joint Contrastive with 0.5B/1B/160M guides; LAMBADA + TinyStories LLM-as-judge
- **Domain:** interpretability; linear superposition; embedding averaging; dual-stream decoding; transformer inference
- **Used for:** dual-stream parallel inference; KV-cache footprint reduction; intrinsic linearity / residual-stream analysis
- **Time period:** arXiv 2026-09-24 (v1); HF Daily Papers / HuggingPapers X 2026-09-25; cataloged 2026-09-26
- **Author type:** academia / research (affiliations not listed on abs; submitter Anton Razzhigaev on HF)

## From the source (fetched 2026-10-03)

- **Published:** Sep 24, 2026 (arXiv)
- **arXiv categories:** cs.CL, cs.AI (arXiv)
- **Citations:** 0 (Semantic Scholar)
- **References:** 19 (Semantic Scholar)

## 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 \textit{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.

## Research notes

- Hudson user-fed 2026-09-26. X https://x.com/HuggingPapers/status/2103518124905570503 (@HuggingPapers DailyPapers; created 2026-09-25T16:12:57Z; note_tweet two thoughts / embedding average). Self-reply 2103518135089254621 Paper t.co → https://paperswithcode.co/paper/2609.29845; canonical https://arxiv.org/abs/2609.29845; HF https://huggingface.co/papers/2609.29845 (~63 upvotes; submitted by Anton Razzhigaev). Photo media_key 3_2103518122552504320; API no alt_text. Dedup clean vs id 543 Token Superposition and status id. No GitHub on abs/HF. Dump /workspace/curator/research/llm-superposition-huggingpapers-2103518124905570503-20260926/. Local CSV only; no Sheets/Discord.

## Similar entries

- [Targeted Neuron Modulation via Contrastive Pair Search](https://papers.projxon.ai/entries/517) (paper, #517)
- [Emergent Analogical Reasoning in Transformers](https://papers.projxon.ai/entries/514) (paper, #514)
- [One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs](https://papers.projxon.ai/entries/503) (paper, #503)
- [Thought Branches: Interpreting LLM Reasoning Requires Resampling](https://papers.projxon.ai/entries/750) (paper, #750)
- [Language Models Are Implicitly Continuous](https://papers.projxon.ai/entries/553) (paper, #553)
- [Verbalizable Representations Form a Global Workspace in Language Models](https://papers.projxon.ai/entries/1093) (paper, #1093)
