Latent Sparse Attention (LSA) aims to speed up processing of ultra-long contexts without substantially reducing accuracy. Instead of comparing every query with every key, the method uses a hierarchy to select relevant keys.
The paper says full attention becomes prohibitively expensive above one million tokens. Existing sparse approaches can still have quadratic costs or lose accuracy at very long context lengths. LSA groups keys in a learned latent space, allowing queries to score the cluster hierarchy rather than every key. This is intended to accelerate prefill, decode, and training.
The researchers describe two variants. Distilled-LSA (D-LSA) can be applied to pretrained models through distillation, while Native-LSA (N-LSA) is trained using only the next-token objective. On GLM-5.3-FLASH (QWEN-3.8-27B) at ten million tokens, D-LSA sped up one attention layer during prefill by 22.7 times over the original sparse attention, or 72.4 times over full attention. Decode speedups were 4.6 and 42.5 times, respectively. The paper reports similar accuracy across a variety of tasks.
For N-LSA, the authors report accuracy matching full attention and a 1.6-times training speedup per layer at 128,000 tokens. The original paper provides further details on the method and results: arXiv: Latent Sparse Attention