Research map / Architectures and efficiency / Attention and transformers
Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
Jingyang Yuan, Huazuo Gao, Damai Dai, Junyu Luo, Liang Zhao, Zhengyan Zhang, Zhenda Xie, Y. X. Wei, Lean Wang, Zhiping Xiao, Yuqing Wang, Chong Ruan and 3 more
Peking University · DeepSeek-AI · University of Washington
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| pretrain with native sparse attention (NSA) instead of full attention | 27B backbone · General benchmarks avg | score: 0.443 -> 0.456 | Improved |
| NSA instead of full attention on MBPP and MMLU | 27B backbone · MBPP / MMLU | score: MBPP 0.482 -> 0.466; MMLU 0.567 -> 0.565 | Hurt |
| NSA instead of full attention on reasoning benchmarks | 27B backbone · DROP / GSM8K | score: DROP +0.042, GSM8K +0.034 | Improved |
| NSA instead of full attention | 27B backbone · LongBench avg | score: 0.437 -> 0.469 | Improved |
| NSA instead of inference-time sparse methods (H2O, InfLLM, Quest, Exact-Top) | 27B backbone · LongBench avg | score: Exact-Top 0.423 -> 0.469 | Improved |
| NSA instead of full attention on GovReport and MFQA-en | 27B backbone · LongBench | score: GovReport 0.324 -> 0.307; MFQA-en 0.512 -> 0.503 | Hurt |
| NSA instead of full attention on needle-in-a-haystack | 27B backbone · Needle-in-a-Haystack 64k | retrieval accuracy: perfect retrieval accuracy at all positions | Improved |
| NSA-R instead of Full Attention-R after distillation SFT | 27B backbone · AIME 24 (8k) | accuracy: 0.046 -> 0.121 | Improved |
| NSA-R instead of Full Attention-R after distillation SFT | 27B backbone · AIME 24 (16k) | accuracy: 0.092 -> 0.146 | Improved |
| NSA Triton kernel instead of FlashAttention-2 at 64k context | attention kernel · training speed | speedup: 9.0x forward, 6.0x backward | Improved |
| NSA instead of full attention in decoding at 64k context | decoding · decoding latency | speedup: up to 11.6x | Improved |
| auxiliary-loss or heuristic (Quest-style) block selection instead of NSA selection (ablation) | 3B model · training loss | training loss | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Quest — QUEST: Query-Aware Sparsity for Efficient Long-Context LLM Inference (ICML 2024) · better on 4 of 4 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- Punctuation-aware Hybrid Trainable Sparse Attention for Large Language Models (NeurIPS 2026 · similarity 0.91)
- Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps (NeurIPS 2026 · similarity 0.91)
- FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference (ICLR 2025 · similarity 0.91)
- More Value per Key: Asymmetric Sparse Attention for Faster LLM Decoding (NeurIPS 2026 · similarity 0.90)
- A Training-Free Sub-quadratic Cost Transformer Model Serving Framework with Hierarchically Pruned Attention (ICLR 2025 · similarity 0.90)
- Loki: Low-rank Keys for Efficient Sparse Attention (NeurIPS 2024 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.