BurstAttention: An Efficient Distributed Attention Framework for Extremely Long Sequences
Not on the map. Why?
Abstract (arXiv)
Effective attention modules have played a crucial role in the success of Transformer-based large language models (LLMs), but the quadratic time and memory complexities of these attention modules also pose a challenge when processing long sequences. One potential solution for the long sequence problem is to utilize distributed clusters to parallelize the computation of attention modules across multiple devices (e.g., GPUs). However, adopting a distributed approach inevitably introduces extra memory overheads to store local attention results and incurs additional communication costs to aggregate local results into global ones. In this paper, we propose a distributed attention framework named ``BurstAttention'' to optimize memory access and communication operations at both the global cluster and local device levels. In our experiments, we compare BurstAttention with other competitive distributed attention solutions for long sequence processing. The experimental results under different length settings demonstrate that BurstAttention offers significant advantages for processing long sequences compared with these competitive baselines, reducing 40% communication overheads and achieving 1.37 X speedup during training 128K sequence length on 32 X A100.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 25 of its 29 references that are in the map. First posted on arXiv 14 Mar 2024.
Builds on
25 of 29 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023A Survey of Large Language Modelscited by 2,576
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Rethinking Attention with Performerscited by 1,601
13 more
- 2023PaLM 2 Technical Reportcited by 1,162
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 204
- 2018Online normalizer calculation for softmaxcited by 162
- 2021Self-attention Does Not Need O(n2) Memorycited by 154
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 126
- 2022The Devil in Linear Transformercited by 98
- 2019Lightweight and Efficient End-to-End Speech Recognition Using Low-Rank Transformercited by 47
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 1.
10 papers.
- 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Modelcited by 84
- 2025SemEval-2025 Task 5: LLMs4Subjects -- LLM-based Automated Subject Tagging for a National Technical Library's Open-Access Catalogcited by 10
- 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Servingcited by 3
- 2025APB: Accelerating Distributed Long-Context Inference by Passing Compressed Context Blocks across GPUscited by 3
- 2025db-SP: Accelerating Sparse Attention for Visual Generative Models with Dual-Balanced Sequence Parallelismcited by 3
- 2024CNNSum: Exploring Long-Context Summarization with Large Language Models in Chinese Novelscited by 2
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Surveycited by 2
- 2025NBF at SemEval-2025 Task 5: Light-Burst Attention Enhanced System for Multilingual Subject Recommendationcited by 1
- 2024AttentionX: Exploiting Consensus Discrepancy In Attention from A Distributed Optimization Perspectivecited by 0
- 2026Improved Belief-Attention in Vision Taskcited by 0
- 2026Improved Belief-Attention in Vision Task22 May 2026
- 2025db-SP: Accelerating Sparse Attention for Visual Generative Models with Dual-Balanced Sequence Parallelism28 Nov 2025
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Survey30 Sep 2025
- 2025NBF at SemEval-2025 Task 5: Light-Burst Attention Enhanced System for Multilingual Subject Recommendation6 May 2025
- 2025SemEval-2025 Task 5: LLMs4Subjects -- LLM-based Automated Subject Tagging for a National Technical Library's Open-Access Catalog9 Apr 2025
- 2025APB: Accelerating Distributed Long-Context Inference by Passing Compressed Context Blocks across GPUs17 Feb 2025
- 2024CNNSum: Exploring Long-Context Summarization with Large Language Models in Chinese Novels3 Dec 2024
- 2024AttentionX: Exploiting Consensus Discrepancy In Attention from A Distributed Optimization Perspective6 Sep 2024
- 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Serving18 May 2024
- 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Model20 Mar 2024