mlsanityData to 7 Oct 2026

ZeCO: Zero Communication Overhead Sequence Parallelism for Linear Attention

arXiv 2507.01004 ↗First posted 1 Jul 2025cs.LGcited by 1

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2024Qwen2.5 Technical Reportcited by 4,713
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
25 more
  1. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  2. 2025Gemma 3 Technical Reportcited by 1,686
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  5. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  6. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  7. 2024Phi-4 Technical Reportcited by 675
  8. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  9. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  10. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  11. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  12. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  13. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  14. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
  15. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  16. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
  17. 2021Self-attention Does Not Need O(n2) Memorycited by 152
  18. 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 125
  19. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  20. 2023Striped Attention: Faster Ring Attention for Causal Transformerscited by 52
  21. 2025Triton-distributed: Programming Overlapping Kernels on Distributed AI Systems with the Triton Compilercited by 24
  22. 2025TileLink: Generating Efficient Compute-Communication Overlapping Kernels using Tile-Centric Primitivescited by 23
  23. 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
  24. 2025LASP-2: Rethinking Sequence Parallelism for Linear Attention and Its Hybridcited by 9
  25. 2024Linear Attention Sequence Parallelismcited by 8

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.