Sliding-window attention beats linear on long-context reasoning
Justgototheeffinmoon · reddit · 2026-09-01
A new arXiv preprint claims that Sliding Window Attention (SWA) with sinks outperforms linear attention variants—which require significant post-training compute—on long-context reasoning tasks.
Key Findings
- On benchmarks like Needle-in-a-Haystack and BABILong, SWA achieves 2 to 10 times higher performance than linear attention.
- Existing linear attention research may have benchmarked against the wrong baselines, lacking proper comparison to simple methods like SWA.
Advantages & Recommendation
- SWA requires no post-training, offers fast inference, and maintains low memory usage.
- The authors strongly recommend switching to SWA over post-trained linear models, noting that linear attention likely requires training from scratch or extensive post-training just to match SWA.
More from Research
- Sampler Replay paper reframes RLVR: train the sampler, not the trainer — proves Score Centering is a special case — _akhaliq · 2026-12-02
- LUNA: generative AI reconstructs tissue architecture from dissociated single cells, published in Nature Methods — anshulkundaje · 2026-12-02
- World Bank RCT: 6 weeks of GPT-4 tutoring in Nigeria equals 1.5-2 years of schooling — DynamicWebPaige · 2026-12-02
- 2026 study: girls' STEM interest rose far more with female tutors than male tutors — DynamicWebPaige · 2026-12-02
- GXL launches Paperclip, a scientific evidence knowledge layer built for AI agents — james_y_zou · 2026-12-02
- ASTEROID: distilling exploration from privileged experts cuts training interactions ~100x — natashajaques · 2026-12-02