Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMs
Kan Zhu, Tian Tang, Qinyu Xu, Zhan Jin, Yile Gu, Zhichen Zeng, Rohan Kadekodi, Liangyu Zhao, Ang Li, Arvind Krishnamurthy, Baris Kasikci
摘要
Long-context models are essential for many applications but face inefficiencies in loading large KV caches during decoding. Prior methods enforce fixed token budgets for sparse attention, assuming a set number of tokens can approximate full attention. However, these methods overlook variations in the importance of attention across heads, layers, and contexts.
To address these limitations, we propose Tactic, a sparsity-adaptive and calibration-free sparse attention mechanism that dynamically selects tokens based on their cumulative attention scores rather than a fixed token budget. By setting a target fraction of total attention scores, Tactic ensures that token selection naturally adapts to variations in attention sparsity. To efficiently approximate this selection, Tactic leverages clustering-based sorting and distribution fitting, allowing it to accurately estimate token importance with minimal computational overhead.
We show that Tactic outperforms existing sparse attention algorithms, achieving superior accuracy and up to 5.14x decode attention speedup. This improvement translates to an overall 1.51x end-to-end inference speedup, making Tactic a practical and effective solution for long-context LLM inference in accuracy-sensitive applications.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient Streaming Language Models with Attention Sinks 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- Efficient Streaming Language Models with Attention Sinks 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Efficient Streaming Language Models with Attention Sinks
- Efficient Streaming Language Models with Attention Sinks 引用了 Compressive Transformers for Long-Range Sequence Modelling
- Multipole Attention for Efficient Long Context Reasoning 引用了 Efficient Streaming Language Models with Attention Sinks
- Multipole Attention for Efficient Long Context Reasoning 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- Multipole Attention for Efficient Long Context Reasoning 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- YaRN: Efficient Context Window Extension of Large Language Models 引用了 Compressive Transformers for Long-Range Sequence Modelling
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Compressive Transformers for Long-Range Sequence Modelling
- RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inference 引用了 Efficient Streaming Language Models with Attention Sinks
- RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inference 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruning 引用了 Efficient Streaming Language Models with Attention Sinks
- Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruning 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruning 引用了 Compressive Transformers for Long-Range Sequence Modelling
- Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation 引用了 Efficient Streaming Language Models with Attention Sinks
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation 引用了 Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruning
- vAttention: Verified Sparse Attention via Sampling 引用了 Efficient Streaming Language Models with Attention Sinks
- vAttention: Verified Sparse Attention via Sampling 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- vAttention: Verified Sparse Attention via Sampling 引用了 Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs
引用它的顶会 Paper7
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware PermutationShuo Yang, Haocheng Xi, Yilong Zhao, Muyang Li 等NeurIPS 2025 · 114 次引用
- Twilight: Adaptive Attention Sparsity with Hierarchical Top- PruningChaofan Lin, Jiaming Tang, Shuo Yang, Hanshuo Wang 等NeurIPS 2025 · 53 次引用
- Multipole Attention for Efficient Long Context ReasoningColeman Hooper, Sebastian Zhao, Luca Manolache, Sehoon Kim 等NeurIPS 2025 · 14 次引用
- vAttention: Verified Sparse Attention via SamplingAditya Desai, Kumar Krishna Agrawal, Shuo Yang, Alejandro Cuadron 等ICLR 2026 · 3 次引用
- RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM InferenceYaoqi Chen, Jinkai Zhang, Baotong Lu, Qianxi Zhang 等VLDB 2026 · 1 次引用
它引用的 Paper10
- Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen 等NeurIPS 2023 · 1,003 次引用
- Compressive Transformers for Long-Range Sequence ModellingJack W. Rae, Anna Potapenko, Siddhant M. Jayakumar, Chloe Hillier 等ICLR 2020 · 833 次引用
- YaRN: Efficient Context Window Extension of Large Language ModelsBowen Peng, Jeffrey Quesnelle, Honglu Fan, Enrico ShippoleICLR 2024 · 508 次引用
- Model Tells You What to Discard: Adaptive KV Cache Compression for LLMsSuyu Ge, Yunan Zhang, Liyuan Liu, Minjia Zhang 等ICLR 2024 · 432 次引用
相关 Paper
- Evolving Sparsity: Leveraging Token Importance Dynamics for Efficient LLM Decoding with Sparse AttentionRuizi Han, Miao Zhang, Ziyue Qiao, Liqiang NieACL 2026
- Token Sparse Attention: Efficient Long-Context Inference with Interleaved Token SelectionDongwon Jo, Beomseok Kang, Jiwon Song, jae-joon kimICML 2026 · 1 次引用
- ProxyAttn: Guided Sparse Attention via Representative HeadsYixuan Wang, Huang He, Siqi Bao, Hua Wu 等ICLR 2026 · 9 次引用
- The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMsPiotr Nawrot, Jianing Li, Renjie Huang, Sebastian Ruder 等ACL Findings 2026 · 3 次引用
- DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference AccelerationHanzhi Zhang, Heng Fan, Kewei Sha, Yan Huang 等ACL Findings 2025 · 1 次引用
