mlsanityData to 7 Oct 2026

Demystifying Pipeline Parallelism: First Theory for PipeDream

arXiv 2606.03498 ↗First posted 2 Jun 2026cs.LG cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Training modern machine learning models increasingly requires computation to be distributed across many accelerators. Data parallelism remains the default choice and is often paired with tensor-parallel sharding, but model parallelism becomes unavoidable once parameters, activations, or optimizer states no longer fit on a single device. This paper studies pipeline model parallelism through the lens of PipeDream (PD) (Harlap et al., 2018). Our first contribution is theoretical: we introduce Randomized PipeDream (RPD), a stale block-SGD abstraction that yields, to our knowledge, the first clean nonconvex convergence guarantee for a PD-style method. Our second contribution is a scaling diagnosis: we prove that the delay induced by steady-state PD grows as S2 - S/2 + O(1) for S stages, so the stale-read contribution in the convergence theorem scales as Theta(γ2 S4), equivalently as Theta(S4/K) in the tuned-rate form. Our third contribution is a comparison with LocalSGD, whose periodic model averaging trades weight staleness for synchronization bubbles. In our reported simulated-time experiments, the better-performing method depends on the objective: PD performs better on the quadratic objective and on a small language-modeling training-loss task, while for logistic regression LocalSGD becomes superior as the number of stages increases.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 25 references that are in the map. First posted on arXiv 2 Jun 2026.

Builds on

14 of 25 references.

References · 14

  1. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  2. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  3. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
  4. 2018Local SGD Converges Fast and Communicates Littlecited by 595
  5. 2018Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learningcited by 277
  6. 2018Don't Use Large Mini-Batches, Use Local SGDcited by 201
  7. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  8. 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
  9. 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 116
  10. 2015Asynchronous Parallel Stochastic Gradient for Nonconvex Optimizationcited by 115
  11. 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
  12. 2016Asynchronous Stochastic Gradient Descent with Delay Compensationcited by 98
2 more
  1. 2015Perturbed Iterate Analysis for Asynchronous Stochastic Optimizationcited by 67
  2. 2014Block stochastic gradient iteration for convex and nonconvex optimizationcited by 21

Built on by

Not cited yet.