Lune

ICML2025Top-tier venue

Star Attention: Efficient LLM Inference over Long Sequences

Shantanu Acharya, Fei Jia, Boris Ginsburg

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Streaming Language Models with Attention Sinks cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Efficient Streaming Language Models with Attention Sinks cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models cites Efficient Streaming Language Models with Attention Sinks
  • Efficient Streaming Language Models with Attention Sinks cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • FSA: An Alternative Efficient Implementation of Native Sparse Attention Kernel cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • FSA: An Alternative Efficient Implementation of Native Sparse Attention Kernel cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • FSA: An Alternative Efficient Implementation of Native Sparse Attention Kernel cites 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 cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attention cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attention cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling cites Efficient Streaming Language Models with Attention Sinks
  • SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • SeerAttention: Self-distilled Attention Gating for Efficient Long-context Prefilling cites 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 cites Efficient Streaming Language Models with Attention Sinks
  • Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Training-Free and Adaptive Sparse Attention for Efficient Long Video Generation cites 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 cites Efficient Streaming Language Models with Attention Sinks
  • Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction cites 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 cites Efficient Streaming Language Models with Attention Sinks
  • MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. SeerAttention: Self-distilled Attention Gating for Efficient Long-context PrefillingYizhao Gao, Zhichen Zeng, Dayou Du, Shijie Cao et al.NeurIPS 2025 · 12 citations
  2. FSA: An Alternative Efficient Implementation of Native Sparse Attention KernelRan Yan, Youhe Jiang, Zhuoming Chen, Haohui Mai et al.ICLR 2026 · 10 citations
  3. Delta Attention: Fast and Accurate Sparse Attention Inference by Delta CorrectionJeffrey Willette, Heejun Lee, Sung Ju HwangNeurIPS 2025 · 9 citations
  4. Training-Free and Adaptive Sparse Attention for Efficient Long Video GenerationYifei Xia, Suhan Ling, Fangcheng Fu, Yujie Wang et al.ICCV 2025 · 6 citations
  5. Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse AttentionEmily Xiao, Chin-Jou Li, Yilin Zhang, Graham Neubig et al.ACL 2025 · 4 citations

Builds on15

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
  2. FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
  3. Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han et al.ICLR 2024 · 1,714 citations
  4. H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen et al.NeurIPS 2023 · 1,003 citations
  5. MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse AttentionHuiqiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu et al.NeurIPS 2024 · 479 citations

Related papers

  1. Token Sparse Attention: Efficient Long-Context Inference with Interleaved Token SelectionDongwon Jo, Beomseok Kang, Jiwon Song, jae-joon kimICML 2026 · 1 citation
  2. Loki: Low-rank Keys for Efficient Sparse AttentionPrajwal Singhania, Siddharth Singh, Shwai He, Soheil Feizi et al.NeurIPS 2024 · 94 citations
  3. APB: Accelerating Distributed Long-Context Inference by Passing Compressed Context Blocks across GPUsYuxiang Huang, Mingye Li, Xu Han, Chaojun Xiao et al.ACL 2025
  4. SparQ Attention: Bandwidth-Efficient LLM InferenceLuka Ribar, Ivan Chelombiev, Luke Hudlass-Galley, Charlie Blake et al.ICML 2024 · 108 citations
  5. SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM PrefillingXiaodong Ji, Hailin Zhang, Fangcheng Fu, Bin CuiICML 2026 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines