跳到正文
RCreddit.com·

[Paper] Joint Subspace Sparse Attention for Efficient Long-Context Decoding

AI 摘要

Joint Subspace Sparse Attention (JSSA) addresses challenges in efficient long-context LLM decoding by reducing KV-cache traffic. It learns a shared low-dimensional query-key subspace for selection quality and employs a gather-free token-level indexed-attention kernel for execution efficiency. JSSA maintains near full-KV accuracy across various models, avoiding issues seen with competing methods. On an NVIDIA B200 GPU, JSSA achieves up to 6.43x the decoding throughput of full-KV attention at 128K context, even reaching 96-99% of its decoding throughput on 700B scale models.

时间与来源

时间显示为 UTC

显示时区:UTC

本地时区尚不可用,暂时显示 UTC。

发布当时偏移:UTC+02026年10月29日 08:08 UTC

收录当时偏移:UTC+02026年10月29日 20:00 UTC

发布
2026年10月29日 08:08
收录
2026年10月29日 20:00
来源类型
开发者社区
档位
社区
信源状态
同步延迟

档位是按信源手工设定的编辑判断,不是逐条打分。

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× 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.

来源·reddit.com