Parallax: Parameterized Local Linear Attention for Language Modeling
Summary
Parallax parameterizes LLA's local-linear correction as ρ=W_R x, dropping the CG solve and the unstable boundary-amplification factor. A FlashAttention-style streaming kernel reuses the KV stream and raises arithmetic intensity; a Hopper decode prototype matches or beats FA2/3. Pretrained at 0.6B (78.6B tokens) and 1.7B (157.2B) on Ultra-FineWeb with a Qwen-3 backbone: under Muon, Parallax beats softmax on LAMBADA/WikiText and zero-shot avg (0.6B 55.99 vs Transformer 54.54; 1.7B 62.45 vs 61.43). Gains hold under parameter-matched and compute-matched controls. Under AdamW the correction branch collapses and the gap vanishes — first reported architecture–optimizer codesign for attention. Code https://github.com/Yifei-Zuo/Parallax.
- Venue
- arXiv / Northwestern University / Tilde Research / University of Washington
- Hugging Face
- YifeiZuo/Parallax-0.6B
- Purpose
- Scale local linear attention to LLM pretraining by replacing the per-query linear solve with a learned probe of the KV covariance
- Scale
- 0.6B Qwen-3-style, 28L, 78.6B Ultra-FineWeb tokens (ctx 4096, 8xH100); 1.7B 157.2B tokens; MAD-Bench plus stressed ICR/NCR/SC; FA decode sweep batch 1–2048 x ctx 128–32k
- Time period
- 2026-05-27 (arXiv 2605.29157 v1). HF paper publishedAt 2026-05-27. HF models lastModified 2026-06-10.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- May 27, 2026
- arXiv categories
- cs.LG, cs.AI, cs.CL
- Citations
- 1
- References
- 74
Abstract (from arXiv)
Large Language Models (LLMs) have become the central paradigm in artificial intelligence, yet the core computational primitive of attention has remained structurally unchanged. Local Linear Attention (LLA) is an attention mechanism derived from nonparametric statistics in the test-time regression framework. In contrast to prior research on efficient attention variants, LLA upgrades the local constant estimate in softmax attention to a local linear estimate, yielding provably superior bias-variance tradeoffs for associative memory. However, LLA has not been scaled in LLM pretraining due to computational and numerical stability concerns. We introduce Parallax, a parameterized Local Linear Attention that is scalable for LLMs. Parallax eliminates the numerical solver in LLA and learns an extra query-like projector that probes the KV covariance. We place Parallax within a family of attention mechanisms connected by the bandwidth, the probe construction and the affine structure. We propose a hardware-aware algorithm that increases the arithmetic intensity over FlashAttention, shifting attention into a more compute bound regime. Our prototype decode kernel matches or outperforms FlashAttention 2/3 across diverse batch sizes and context lengths. We pretrain Parallax at 0.6B and 1.7B scales and find consistent perplexity improvements throughout pretraining with gains that transfer to downstream benchmarks. The advantage persists under both parameter-matched and compute-matched controls, demonstrating a Pareto improvement. We perform careful pretraining ablations and identify a novel phenomenon whereby Muon unlocks the capacity of Parallax. To our knowledge, this is the first empirical demonstration of strong architecture-optimizer codesign for attention mechanisms in the architecture research literature.
Tags
Topics
linear attention, local linear attention, LLM pretraining
Research notes
- Primary: arxiv abs (cs.LG/AI/CL). Northwestern / Tilde Research / UW; correspondence yifeizuo2029@u.northwestern.edu, dhruv@tilderesearch.com, zhaoranwang@gmail.com. Code MIT https://github.com/Yifei-Zuo/Parallax (68 stars at check); Discord also posted this GitHub in 1510318176196628682. HF paper page 11 upvotes, org Northwestern University. Linked models YifeiZuo/Parallax-0.6B (655M, 11 dl) and Parallax-1.7B (1.84B, 9 dl). Discord posted abs. Pretrains on public Ultra-FineWeb; no new corpus, so no datasets_local row. ArXiv license widget not visible in converted abs HTML, so paper license left blank.
Cites, within this collection
- GLM-5: from Vibe Coding to Agentic Engineering
- Titans: Learning to Memorize at Test Time
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
- MoBA: Mixture of Block Attention for Long-Context LLMs
- TorchTitan: One-stop PyTorch native solution for production ready LLM pre-training
Similar entries
- Code Parallax (Parameterized Local Linear Attention) — official code
- Paper You Need Better Attention Priors
- Code KohakuFA: Attention Kernel with Fixed Backward-Pass Precision
- Paper OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration
- Paper Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training
- Paper Demystifying Manifold Constraints in LLM Pre-training