Latent Sparse Attention clusters keys for subquadratic search, up to 72.4× single-layer speedup

jiqizhixin · x · 2026-12-06

Prefrontal AI and ETH Zurich propose Latent Sparse Attention (LSA) in an arXiv preprint, targeting the cost of finding relevant tokens at extreme context lengths. Key points: (1) LSA learns a compact latent space where similar keys form buckets — queries score bucket representatives and attend to selected keys, with hierarchical search giving a subquadratic path; (2) two routes: D-LSA adds learned projections distilled into pretrained models, N-LSA trains natively from next-token prediction; (3) the speedup scope is clearly bounded: at 10M tokens on one H200, D-LSA accelerates single-layer prefill 22.7× for GLM-5.3-Flash vs its original sparse attention and 72.4× for Qwen3.8-27B vs full attention. Evaluations cover retrieval and scientific-document reasoning as context grows.

Original post →

More from Research

Research channel →