ZeCO: Zero Communication Overhead Sequence Parallelism for Linear Attention
Not on the map. Why?
Abstract (arXiv)
Linear attention mechanisms deliver significant advantages for Large Language Models (LLMs) by providing linear computational complexity, enabling efficient processing of ultra-long sequences (e.g., 1M context). However, existing Sequence Parallelism (SP) methods, essential for distributing these workloads across devices, become the primary bottleneck due to substantial communication overhead. In this paper, we introduce ZeCO (Zero Communication Overhead) sequence parallelism for linear attention models, a new SP method designed to overcome these limitations and achieve end-to-end near-linear scalability for long sequence training. For example, training a model with a 1M sequence length across 64 devices using ZeCO takes roughly the same time as training with an 16k sequence on a single device. At the heart of ZeCO lies All-Scan, a new collective communication primitive. All-Scan provides each SP rank with precisely the initial operator state it requires while maintaining a minimal communication footprint, effectively eliminating communication overhead. Theoretically, we prove the optimaity of ZeCO, showing that it introduces only negligible time and space overhead. Empirically, we compare the communication costs of different sequence parallelism strategies and demonstrate that All-Scan achieves the fastest communication in SP scenarios. Specifically, on 256 GPUs with an 8M sequence length, ZeCO achieves a 60% speedup compared to the current state-of-the-art (SOTA) SP method. We believe ZeCO establishes a clear path toward efficiently training next-generation LLMs on previously intractable sequence lengths.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 37 of its 43 references that are in the map. First posted on arXiv 1 Jul 2025.
Builds on
37 of 43 references.
References · 37
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
25 more
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2025Gemma 3 Technical Reportcited by 1,686
- 2020Rethinking Attention with Performerscited by 1,584
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2024Phi-4 Technical Reportcited by 675
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 125
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Striped Attention: Faster Ring Attention for Causal Transformerscited by 52
- 2025Triton-distributed: Programming Overlapping Kernels on Distributed AI Systems with the Triton Compilercited by 24
- 2025TileLink: Generating Efficient Compute-Communication Overlapping Kernels using Tile-Centric Primitivescited by 23
- 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
- 2025LASP-2: Rethinking Sequence Parallelism for Linear Attention and Its Hybridcited by 9
- 2024Linear Attention Sequence Parallelismcited by 8
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025SpikingBrain: Spiking Brain-inspired Large Modelscited by 5
- 2025SpikingBrain: Spiking Brain-inspired Large Models5 Sep 2025