DoSA: Dots Sparse Attention
Paper · https://arxiv.org/abs/2610.13990
Sparse attention visits few keys, yet finding them can still require scoring every key with every indexer head. We introduce DoSA (Dots Sparse Attention), a lossless method for making this computation conditional while preserving exact token selection. Its central observation is that Top-K selection requires sufficient evidence to reject a candidate, not necessarily its full score. A seed set supplies a lower bound on the winning threshold. Nonnegative head projections and joint residual bounds upper-bound positive contributions, while activation-informed aggregation bounds the magnitude subtracted by negative heads. The certificate directs full scoring toward candidates that remain eligible; exact-score filtering further reduces writeback and selection work. We establish the certificate and its exact-selection conditions, and analyze how geometry and selection margins govern its effectiveness. Our GPU implementation accelerates the complete Indexer by up to 2.74 times over SGLang and 1.69 times over LiteTopK across English, Chinese, and code workloads. End-to-end evaluation on GLM-5.2 and DeepSeek-V3.2 achieves up to 1.94 times and 1.50 times time-to-first-token speedups over the two baselines, respectively.
First seen by Oriel on .
AI summary
DoSA (Dots Sparse Attention) conditionally scores candidates while preserving exact Top-K token selection, accelerating sparse-attention indexing and end-to-end inference.
- A seed set provides a lower bound on the winning threshold, and bounds on positive and negative head contributions identify candidates that still need full scoring.
- Exact-score filtering further reduces writeback and selection work; the paper analyzes how geometry and selection margins affect the method.
- The GPU implementation accelerates the complete Indexer by up to 2.74× over SGLang and 1.69× over LiteTopK across English, Chinese, and code workloads.
- End-to-end time-to-first-token speedups reach 1.94× on GLM-5.2 and 1.50× on DeepSeek-V3.2 over the two baselines.
#sparse attention #gpu #llm inference
Generated by gpt-5.6-sol. Check the original for details.
Aliases
| Source | External ID | URL |
|---|---|---|
| arXiv AI Papers | oai:arXiv.org:2610.13990v1 | https://arxiv.org/abs/2610.13990 Read discussion |
| Hugging Face Papers | 2610.13990 | https://arxiv.org/abs/2610.13990 Read discussion |