arXiv Introduces JSSA: Joint Subspace Sparse Attention for Efficient Long-Context Decoding
Summary:arXiv introduces Joint Subspace Sparse Attention (JSSA), a novel method addressing the KV-cache bottleneck in long-context LLM decoding. JSSA learns a shared low-dimensional query-key subspace to optimize selection quality and develops a gather-free token-level indexed-attention kernel for execution efficiency. Across standard GQA, hybrid sliding-window/global attention, and Multi-head Latent Attention (MLA) models, JSSA maintains near full-KV accuracy while significantly boosting inference spee
Technical Mechanism Analysis
1. Background and Challenges In the decoding process of long-context large language models (LLMs), KV-cache (Key-Value Cache) traffic becomes a major bottleneck. Traditional sparse attention mechanisms can reduce KV-cache traffic but typically operate at a coarse granularity, making it difficult to achieve fine-grained control. Token-level selection offers finer control but faces two challenges: low-dimensional scoring may lose the query-key structure needed for accurate ranking, and gathering scattered selected tokens may offset the resulting latency benefit.
2. Core Innovations of JSSA JSSA addresses these issues through the following methods:
- Selection Quality Optimization: JSSA learns a shared low-dimensional query-key subspace by minimizing the token-score preservation error. To make the non-convex objective function tractable, JSSA uses a tractable marginal objective function and provides a closed-form spectral solution.
- Execution Efficiency Improvement: JSSA develops a gather-free token-level indexed-attention kernel that supports different per-KV-head selections under the standard GQA KV-cache layout.
3. Experimental Results Across multiple model architectures (standard GQA, hybrid sliding-window/global attention, MLA), JSSA maintains near full-KV accuracy while avoiding the generation-length inflation and architecture-dependent failures observed with competing methods. On an NVIDIA B200 GPU, JSSA achieves up to 6.43x the decoding throughput of full-KV attention at 128K context. Moreover, JSSA's reasoning accuracy is comparable to that of the model-native DSA method, reaching 96%-99% of its decoding throughput even at the 700B scale.
Engineering Trade-offs and Real-world Performance
- Advantages: JSSA significantly improves the efficiency of long-context decoding while maintaining high accuracy, making it suitable for applications requiring fast inference.
- Disadvantages: The implementation complexity of JSSA is relatively high, and additional engineering optimizations may be needed to adapt to different hardware architectures.
- Real-world Performance: JSSA performs excellently in multiple benchmarks, especially in long-context tasks where the performance improvement is particularly significant.
Developer Implementation and Deployment Recommendations
- Hardware Requirements: It is recommended to deploy JSSA on high-performance GPUs (such as NVIDIA B200) to fully leverage its performance advantages.
- Model Adaptation: Developers need to adjust JSSA parameters according to specific application scenarios to achieve optimal performance.
- Optimization Recommendations: Combining mixed-precision training and quantization techniques can further improve JSSA's inference speed and resource utilization.
Conclusion
JSSA provides an efficient solution for the decoding of long-context large language models, significantly improving inference speed while maintaining high accuracy, bringing new possibilities for long-text processing in AI application scenarios.
— END —Source: ArXiv NLP/LLM (cs.CL) (2026-10-15)
Tags: #JSSA #Long-Context #Sparse Attention #LLMs & Foundation Models #Inference Acceleration
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments