Computer Science > Computation and Language
Title:SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
Abstract:Sparse attention reduces compute and memory bandwidth for long-context LLM inference. However, two key challenges remain: (1) KV cache capacity still grows with sequence length, and offloading to CPU memory introduces a PCIe transfer bottleneck; (2) sparse selection during prefill retains $O(T^2)$ complexity and can dominate attention cost at long contexts. We propose SparDA, a decoupled sparse attention architecture that introduces a fourth per-layer projection, the Forecast, alongside Query, Key, and Value. The Forecast predicts the KV blocks needed by the next layer, enabling lookahead selection that overlaps CPU-to-GPU prefetch with current-layer execution. Because Forecast is decoupled from the attention query, our GQA implementation uses one Forecast head per GQA group, reducing selection overhead versus the original multi-head selector. On the evaluated 8B models, SparDA adds <0.5% parameters and trains only the Forecast projections using attention-derived supervision from the frozen backbone. On two sparse-pretrained 8B models, SparDA maintains accuracy comparable to the full-query sparse-attention baseline while delivering up to 1.25$\times$ prefill speedup and 1.7$\times$ decode speedup over the sparse-attention offload baseline. By enabling larger feasible batch sizes on a single GPU, SparDA further reaches up to 5.3$\times$ higher decode throughput than the non-offload sparse baseline on MiniCPM4.1-8B. Our adaptation to GLM-5.1 (754B MoE) also achieves accuracy comparable to native token-level DSA, extending the accuracy evaluation beyond block-sparse 8B models. Our source code is available at this https URL.
| Comments: | NeurIPS 2026 |
|---|---|
| Subjects: | Computation and Language (cs.CL) ; Machine Learning (cs.LG) |
| ACM classes: | I.2.7; C.4 |
| Cite as: | arXiv:2606.04511 [cs.CL] |
| (or arXiv:2606.04511v2 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2606.04511 arXiv-issued DOI via DataCite |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.