mlsanityData to 14 Oct 2026

BurstAttention: An Efficient Distributed Attention Framework for Extremely Long Sequences

arXiv 2403.09347 ↗First posted 14 Mar 2024cs.DC cs.LGcited by 10

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  10. 2023A Survey of Large Language Modelscited by 2,576
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  12. 2020Rethinking Attention with Performerscited by 1,601
13 more
  1. 2023PaLM 2 Technical Reportcited by 1,162
  2. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  3. 2016Training Deep Nets with Sublinear Memory Costcited by 848
  4. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  5. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
  6. 2021Pre-Trained Models: Past, Present and Futurecited by 319
  7. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
  8. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 204
  9. 2018Online normalizer calculation for softmaxcited by 162
  10. 2021Self-attention Does Not Need O(n2) Memorycited by 154
  11. 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 126
  12. 2022The Devil in Linear Transformercited by 98
  13. 2019Lightweight and Efficient End-to-End Speech Recognition Using Low-Rank Transformercited by 47

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 5; 2026: 1.

10 papers.