Star Attention: Efficient LLM Inference over Long Sequences
Shantanu Acharya, Fei Jia, Boris Ginsburg
摘要
Inference with Transformer-based Large Language Models (LLMs) on long sequences is both costly and slow due to the quadratic complexity of the self-attention mechanism. We introduce Star Attention, a two-phase block-sparse approximation that improves computational efficiency by sharding attention across multiple hosts while minimizing communication overhead. In the first phase, the context is processed using blockwiselocal attention across hosts, in parallel. In the second phase, query and response tokens attend to all prior cached tokens through sequence-global attention. Star Attention integrates seamlessly with most Transformer-based LLMs trained with global attention, reducing memory requirements and inference time by up to 11x while preserving 97-100% of accuracy.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient Streaming Language Models with Attention Sinks 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- 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 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- FSA: An Alternative Efficient Implementation of Native Sparse Attention Kernel 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- FSA: An Alternative Efficient Implementation of Native Sparse Attention Kernel 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- FSA: An Alternative Efficient Implementation of Native Sparse Attention Kernel 引用了 MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attention 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attention 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling 引用了 Efficient Streaming Language Models with Attention Sinks
- SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling 引用了 MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
- Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation 引用了 Efficient Streaming Language Models with Attention Sinks
- Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation 引用了 MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
- Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction 引用了 Efficient Streaming Language Models with Attention Sinks
- Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction 引用了 MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
- MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention 引用了 Efficient Streaming Language Models with Attention Sinks
- MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
引用它的顶会 Paper19
- SeerAttention: Self-distilled Attention Gating for Efficient Long-context PrefillingYizhao Gao, Zhichen Zeng, Dayou Du, Shijie Cao 等NeurIPS 2025 · 12 次引用
- FSA: An Alternative Efficient Implementation of Native Sparse Attention KernelRan Yan, Youhe Jiang, Zhuoming Chen, Haohui Mai 等ICLR 2026 · 10 次引用
- Delta Attention: Fast and Accurate Sparse Attention Inference by Delta CorrectionJeffrey Willette, Heejun Lee, Sung Ju HwangNeurIPS 2025 · 9 次引用
- Training-Free and Adaptive Sparse Attention for Efficient Long Video GenerationYifei Xia, Suhan Ling, Fangcheng Fu, Yujie Wang 等ICCV 2025 · 6 次引用
- Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse AttentionEmily Xiao, Chin-Jou Li, Yilin Zhang, Graham Neubig 等ACL 2025 · 4 次引用
它引用的 Paper15
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
- 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 次引用
- MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse AttentionHuiqiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu 等NeurIPS 2024 · 479 次引用
相关 Paper
- Token Sparse Attention: Efficient Long-Context Inference with Interleaved Token SelectionDongwon Jo, Beomseok Kang, Jiwon Song, jae-joon kimICML 2026 · 1 次引用
- Loki: Low-rank Keys for Efficient Sparse AttentionPrajwal Singhania, Siddharth Singh, Shwai He, Soheil Feizi 等NeurIPS 2024 · 94 次引用
- APB: Accelerating Distributed Long-Context Inference by Passing Compressed Context Blocks across GPUsYuxiang Huang, Mingye Li, Xu Han, Chaojun Xiao 等ACL 2025
- SparQ Attention: Bandwidth-Efficient LLM InferenceLuka Ribar, Ivan Chelombiev, Luke Hudlass-Galley, Charlie Blake 等ICML 2024 · 108 次引用
- SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM PrefillingXiaodong Ji, Hailin Zhang, Fangcheng Fu, Bin CuiICML 2026 · 3 次引用
