arXiv paper· natural language processing (LLM interpretability)· empirical study + method paper

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

Pavel Tikhonov, Anton Korznikov, Matvey Mikhalchuk, Nikita Dragunov, Temurbek Rahmatullaev, Polina Druzhinina, Anton Razzhigaev, Ivan Oseledets, et al.

cs.CL · cs.AI

Quick verdict

Claims LLMs linearly superpose two streams; evidence is broad and controlled, but gains center on predictable tokens and decoded quality lags single-stream.

Summary

The paper proposes the Superposition Linearity Hypothesis: element-wise averaging of token embeddings from two text streams yields an output distribution approximating the average of the streams' independent next-token distributions. Across Pythia, Llama, and Qwen families, the top token of stream A lands in the mixed distribution's top-10 in ~30–40% of cases (top-100: 60–65%), far above a frequency-baseline control (2.63% top-10). KL/JS/Wasserstein distances to the ideal mixture, normalized by unrelated-context divergence, stay below 1. Tracking Pythia checkpoints, hidden-state additivity is best at initialization and degrades during pretraining, which the authors read as architectural rather than learned. Self-distillation (<0.025% of pretraining data) restores linearity (Pythia-2.8B KL 1.86→0.27) but hurts single-stream quality (LAMBADA 0.544→0.357; PPL 12.44→65.52 on Qwen). An attention-patching analysis separates frequency priors and attention shape from genuine content processing, showing base-model gains concentrate on predictable (~65%) positions. Joint Contrastive guided decoding lifts two-stream LAMBADA accuracy from 0.065–0.182 to 0.110–0.430, still below single-stream baselines. Main limitations: aggregate gains rest on predictable tokens; decoded quality remains well below independent inference; no significance testing; the 2× throughput claim holds only for the lower-quality fused mode.

Review complete

Assessment at a glance

natural language processing (LLM interpretability)

5

risk flags identified

● high 0

● medium 3

● low 2

Reproducibility readinessmedium
Code & data availablenot stated
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viableCode-reproducibleNeeds GPU

4 strengths · 4 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • Element-wise averaging of two streams' token embeddings yields next-token output distributions approximating the average of the individual distributions (normalized KL/JS/Wasserstein ratios consistently <1, Table 1).
  • Superposition fidelity is maximal at random initialization and degrades monotonically during pretraining, implying the property is architectural rather than learned (Fig. 2).
  • A self-distillation objective using <0.025% of pretraining-scale data substantially restores superposition (Pythia-2.8B KL 1.86→0.27, R_KL 0.42→0.06) at measurable cost to single-stream quality.
  • Rank survival in base models is dominated by predictable/function-word positions via frequency prior plus attention shape; content-position survival requires genuine parallel processing and is restored by fine-tuning (Table 2: content median rank 284→5, top-1 4.2%→22.8%).
  • Joint Contrastive guided decoding disentangles two coherent continuations from one forward pass (mixed LAMBADA 0.110–0.430), approaching but not reaching single-stream accuracy.

Strengths

  • Unusually careful negative controls

    Appendix B's frequency baseline puts the cross-stream ground-truth token in the top-10 only 2.63% of the time vs 30–40% under mixing, ruling out Zipf-prior explanations; permutation patching (Table 2/3) further dissociates frequency prior from attention structure.

  • Mechanistic decomposition of where the effect lives

    Section 3's donor vs permutation attention patching, stratified by predictable (~65%) vs content (~35%) positions (Table 2: median rank 6 vs 284 in base models), honestly exposes that aggregate rank gains are dominated by function-word positions.

  • Honest cost accounting and formal obstruction analysis

  • Breadth, ablations, and reproducibility detail

Weaknesses

  • Definitional ambiguity in the headline metric

  • The 'architectural, not learned' claim is under-supported

  • Practicality overclaim in the Conclusion

  • Thin statistical reporting and editorial hygiene

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

The paper advances the "Superposition Linearity Hypothesis": element-wise averaging of token embeddings from two text streams yields next-token output distributions approximating the arithmetic mean of the streams' independent distributions. Four claims are staked: (1) intrinsic superposition in standard pretrained LLMs (Sec. 2.2–2.3); (2) the property is architectural, peaking at initialization and degrading during pretraining (Sec. 2.4, Fig. 2); (3) lightweight self-distillation restores it (Sec. 4, Table 1); (4) guided decoding disentangles two streams from a single forward pass (Sec. 5, Tables 5–6). Scope is text-only, mostly ≤128-token contexts (512 for Table 1), across Pythia (70M–6.9B), Qwen2.5, Llama-3.2/3.1 families.

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 4 strengths & 4 weaknesses, analyzed in detail
  • 5 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is the Superposition Linearity Hypothesis?

The claim that averaging the token embeddings of two different texts and feeding the mixture to an LLM produces an output distribution close to the average of what the model would predict for each text alone. The paper reports that the top-predicted token of one stream stays in the mixed distribution's top-10 in roughly 30–40% of cases, far above a 2.63% frequency-only baseline.

Can one transformer forward pass generate two different texts at once?

Partially. The paper's guided decoding (Joint Contrastive) generates two continuations from a single mixed pass, reaching LAMBADA accuracies of 0.11–0.43 across two streams — clearly better than naive mixing (0.065–0.182) but still below running each stream independently (0.43–0.64), so it remains a proof of concept rather than a drop-in 2× speedup.

Does mixing two prompts really halve KV-cache memory?

Only in the fused decoding modes, where both streams share one hidden state and cache — but those modes produce noticeably lower-quality text than independent inference. The higher-quality guided variant requires a second model in memory (e.g., 12.93 GB for Llama-3B+1B vs 6.72 GB vanilla), which offsets the savings.

Is linear superposition learned by training or built into the transformer architecture?

The authors argue it is built in: a hidden-state additivity measure is best at random initialization and degrades during pretraining, then can be restored with light self-distillation. A reviewer caveat is that untrained models may have uninformative hidden states, so low additivity error at initialization does not by itself prove functional superposition.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • Figures 1–5 are caption-only in the extraction; curve values were taken from in-text descriptions, not read off plots.
  • Appendix D (Confidence-vs-Rank) and E (Contextual Stability) headings appear without body content in the extracted text — possibly truncated.
  • The metadata author list omits Elena Tutubalina, who appears as a co-author in the paper text.
  • The paper states no code release, so reproducibility rests entirely on the described hyperparameters and public models/data.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs | Evolve.Pub