TL;DR
Token Sparse Attention introduces a dynamic, token-level sparsification method that improves long-context inference efficiency in large language models while maintaining accuracy.
Contribution
It proposes a novel, fully compatible sparsification mechanism that compresses and decompresses token representations, enhancing speed without significant accuracy loss.
Findings
Achieves up to 3.23x speedup at 128K context length
Maintains less than 1% accuracy degradation
Compatible with existing dense and sparse attention implementations
Abstract
The quadratic complexity of attention remains the central bottleneck in long-context inference for large language models. Prior acceleration methods either sparsify the attention map with structured patterns or permanently evict tokens at specific layers, which can retain irrelevant tokens or rely on irreversible early decisions despite the layer-/head-wise dynamics of token importance. In this paper, we propose Token Sparse Attention, a lightweight and dynamic token-level sparsification mechanism that compresses per-head , , to a reduced token set during attention and then decompresses the output back to the original sequence, enabling token information to be reconsidered in subsequent layers. Furthermore, Token Sparse Attention exposes a new design point at the intersection of token selection and sparse attention. Our approach is fully compatible with dense attention…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
