AttnEx trims sparse-attention indexers for faster long-context inference
A new arXiv paper proposes per-layer sizing for sparse-attention indexers, reporting large speedups on H200 GPUs while keeping accuracy close to the original systems.
In plain words
Some language models speed up long documents by having a small helper module pick which past tokens matter for each new token. AttnEx makes that helper smaller on layers where it can be, and skips storing scores for tokens that are not selected. The authors say this cuts waiting time for the first output without hurting answer quality.
What was announced
The paper, posted to arXiv, describes AttnEx, a trainable sparse-attention design for long-context inference. In such systems, a multi-head indexer chooses a fixed number of keys per query in every layer, but it still scores all earlier keys with the same head count, which makes long prefill steps expensive, and its score matrix competes with the key-value cache for GPU memory. AttnEx instead gives each layer an indexer sized by that layer's attention coverage, meaning the share of attention mass its selected keys capture, and combines scoring with exact top-k selection so only surviving candidates are written.
According to the abstract, AttnEx uses roughly 15 heads per layer, versus 64 in DeepSeek-V3.2 and 32 in GLM-5.1, while matching the original indexers' quality on eight benchmarks of 128K tokens each. Running in vLLM on eight H200 GPUs, the authors report time-to-first-token gains of up to 1.52x inside native context windows and 1.76x at one million tokens, with a default 512 MB score-matrix budget. The abstract also notes earlier approaches that reuse scores across layers or filter coarse blocks can miss relevant keys.
What it does not show
- The evidence is the paper's abstract only; the full article's methods, experiments and caveats are not covered here.
- Speedup and quality figures are the authors' own reported results and have not been independently confirmed.
For security and IT teams
- Status
- The reported results come from a v1 arXiv abstract dated December 2026 and describe research measurements, not a deployed product release.
Sources
Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 2 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.