Explore the research collection
2 entries · Follow this search
- Paper
Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs
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).
- Paper
Emergent Capabilities Arise Randomly from Learning Sparse Attention Patterns
NYU (18 pp / 13 figs). On Pythia 14M–410M × 10 seeds, copy, in-context repetition, pattern completion, and IOI appear at random training steps; larger models find them earlier and more often. Patching the top-K post-emergence attention maps into the previous checkpoint elicits the skill, so attention-pattern search is the bottleneck rather than a metric illusion. Synthetic linear-map (sparse Ax mod 2) and cellular-automata tasks: difficulty is governed by context length and medium sparsity; biasing attention logits to the ground-truth pattern removes the loss plateau. More heads help; MLP-Mixer beats a transformer by ~10× on linear maps but loses on automata. Dyck/NCA pre-pretraining has mixed effects on emergence timing. No official code on the abs.