Explore the research collection
2 entries · Follow this search
- Code
Parallax (Parameterized Local Linear Attention) — official code
Repo for Parallax: parameterized local linear attention that replaces Softmax Attention's per-query linear solve with a learned probe. Integrates with flash-linear-attention and Modded-NanoGPT-plx. Paper already cataloged as id 516 under a different mid; this row covers the Discord message's GitHub URL.
- Model
Parallax: Parameterized Local Linear Attention for Language Modeling
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.