Joint Subspace Sparse Attention for Efficient Long-Context Decoding
Abstract
Joint Subspace Sparse Attention improves long-context decoding by learning a shared low-dimensional query-key subspace for accurate token selection and using a gather-free kernel, achieving near-full accuracy with substantially higher throughput.
Sparse attention reduces the KV-cache traffic that dominates long-context LLM decoding, but practical methods largely operate at coarse granularity. Token-level selection offers finer control, yet presents two challenges: low-dimensional scoring may lose query--key structure needed for accurate ranking, while gathering scattered selected tokens can offset the resulting latency benefit. We introduce Joint Subspace Sparse Attention (JSSA) to address both challenges. For selection quality, JSSA learns a shared low-dimensional query--key subspace by minimizing token-score preservation error. We upper-bound the resulting non-convex objective with a tractable marginal objective that admits a closed-form spectral solution; direct refinement of the exact objective provides no measurable improvement in the tested settings. For execution efficiency, we develop a gather-free token-level indexed-attention kernel that supports distinct per-KV-head selections under the standard grouped-query attention (GQA) KV-cache layout. Across standard GQA, hybrid sliding-window/global attention, and Multi-head Latent Attention (MLA) models, JSSA consistently remains close to full-KV accuracy while avoiding the substantial generation-length inflation and architecture-dependent failures observed with competing methods. On an NVIDIA B200 GPU, JSSA achieves up to 6.43times the decoding throughput of full-KV attention at 128K context. JSSA achieves reasoning accuracy comparable to model-native DSA without model training and reaches 96--99\% of its decoding throughput even at 700B scale large models.
Community
New token-level decoding-time sparse attention paper
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- LatentIndex: Cross-Layer Sharing with Layer-Specific Selection for Sparse Attention (2026)
- QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching (2026)
- Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Head (2026)
- PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression (2026)
- SlimKV: Joint Token-Feature KV Cache Compression with Reconstruction-Free Beacon Attention (2026)
- iS-KV: Online Low-Rank KV Cache Compression via Block-Incremental SVD (2026)
- PQ-HSA: Reusing Product-Quantized Scores for Hybrid Sparse-Approximate Attention (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper