Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
Problem: standard attention scales quadratically with context; sparse attention is often inference-only or loses its speedup to memory access, so can it be made hardware-aligned and natively trainable end to end.
Where the evidence sits: the abstract introduces NSA with a dynamic hierarchical sparse strategy combining coarse token compression and fine token selection; it is hardware-aligned and end-to-end trainable; at 64k length it substantially speeds up decoding, forward and backward passes versus full attention; pretrained models maintain or exceed full attention on general, long-context and instruction-reasoning benchmarks.
What the authors say about limits: main evidence is at 64k; speedups depend on specific hardware and kernel implementations; evaluation centres on pretrained models, not every downstream or deployment case; there is no independent reproduction.
What it does not claim: not linear for unlimited length; not the same speedup on every GPU; not that sparsification is always lossless.
Key specs
- 证据位置 / evidence
- 摘要;Figure 1
- 方法 / method
- 粗粒度压缩 + 细粒度选择,端到端可训练
- 长度 / length
- 64k 序列
- 加速 / speed
- 解码、前向、反向均明显快于 Full Attention
- 复现状态 / reproduction
- 未复现(只读摘要)
What the source says
dynamic hierarchical sparse strategy, combining coarse-grained token compression with fine-grained token selection
enable end-to-end training, reducing pretraining computation without sacrificing model performance
NSA achieves substantial speedups over Full Attention on 64k-length sequences across decoding, forward propagation, and backward propagation
Source and licence
- Source checked
- 2026-11-20
- Licence / kind
- arxiv-preprint
- Licence evidence
- https://arxiv.org/abs/2502.11089
- Category
- Efficiency
How to read the numbers
Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards