Explore the research collection
3 entries · Follow this search
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- Paper
Targeted Neuron Modulation via Contrastive Pair Search
Contrastive neuron attribution (CNA) ranks MLP neurons by harmful-vs-benign last-token activation difference using only forward passes; top 0.1% form the circuit. Ablating it cuts JBB-Behaviors refusal >50% on Llama/Qwen instruct 1B–72B while n-gram quality stays >0.96 and MMLU is preserved; CAA matches the refusal drop but collapses quality at high α. Matched base models have similar late-layer discrimination structure but steering only shifts content, not refusal — alignment crystallizes a sparse gate. Code https://github.com/NousResearch/neural-steering.
- 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).