arXiv:cs.CL· Jiwon Song, Yoongon Kim, Jae-Joon Kim·· 10 小时前
JSSA:面向高效长上下文解码的联合子空间稀疏注意力
Joint Subspace Sparse Attention for Efficient Long-Context Decoding
AI 导读
JSSA 通过学习共享低维 query-key 子空间并设计免 gather 的 token 级索引注意力 kernel,在 GQA、混合滑窗/全局注意力和 MLA 模型上保持接近全 KV 的精度,避免竞品出现的生成长度膨胀与架构相关失效。
正文
Abstract: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.43\times$ 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.
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.19026 [cs.CL] |
| (or arXiv:2610.19026v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.19026 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jiwon Song [view email]
[v1]
Tue, 13 Oct 2026 18:18:47 UTC (259 KB)
来源:arXiv:cs.CL · arxiv.org