mlsanityData to 7 Oct 2026

Automatic Cross-Replica Sharding of Weight Update in Data-Parallel Training

arXiv 2004.13336 ↗First posted 28 Apr 2020cs.DC cs.LG stat.MLcited by 30

Not on the map. Why?

Abstract (arXiv)

In data-parallel synchronous training of deep neural networks, different devices (replicas) run the same program with different partitions of the training batch, but weight update computation is repeated on all replicas, because the weights do not have a batch dimension to partition. This can be a bottleneck for performance and scalability in typical language models with large weights, and models with small per-replica batch size which is typical in large-scale training. This paper presents an approach to automatically shard the weight update computation across replicas with efficient communication primitives and data formatting, using static analysis and transformations on the training computation graph. We show this technique achieves substantial speedups on typical image and language models on Cloud TPUs, requiring no change to model code. This technique helps close the gap between traditionally expensive (ADAM) and cheap (SGD) optimizers, as they will only take a small part of training step time and have similar peak memory usage. It helped us to achieve state-of-the-art training performance in Google's MLPerf 0.6 submission.

Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Apr 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2020: 1; 2021: 6; 2022: 8; 2023: 3; 2024: 7; 2025: 4; 2026: 1.

30 papers.

Sort:

By area:

  1. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  2. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  3. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
  4. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  5. 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
  6. 2024Mobile Edge Intelligence for Large Language Models: A Contemporary Surveycited by 125
  7. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
  8. 2021BigSSL: Exploring the Frontier of Large-Scale Semi-Supervised Learning for Automatic Speech Recognitioncited by 88
  9. 2022Vision Models Are More Robust And Fair When Pretrained On Uncurated Images Without Supervisioncited by 80
  10. 2025FourCastNet 3: A geometric approach to probabilistic machine-learning weather forecasting at scalecited by 56
  11. 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 51
  12. 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Modelscited by 34
18 more
  1. 2022On the Generalization Mystery in Deep Learningcited by 25
  2. 2022Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learningcited by 20
  3. 2023CommonCanvas: An Open Diffusion Model Trained with Creative-Commons Imagescited by 15
  4. 2023Improving Automatic Parallel Training via Balanced Memory Workload Optimizationcited by 13
  5. 2025Outlier-Safe Pre-Training for Robust 4-Bit Quantization of Large Language Modelscited by 13
  6. 2024Training and Serving System of Foundation Models: A Comprehensive Surveycited by 11
  7. 2024PartIR: Composing SPMD Partitioning Strategies for Machine Learningcited by 10
  8. 2024Hardware Phi-1.5B: A Large Language Model Encodes Hardware Domain Specific Knowledgecited by 10
  9. 2024Hardware Scaling Trends and Diminishing Returns in Large-Scale Distributed Trainingcited by 7
  10. 2021End-to-end Adaptive Distributed Training on PaddlePaddlecited by 5
  11. 2022CowClip: Reducing CTR Prediction Model Training Time from 12 hours to 10 minutes on 1 GPUcited by 4
  12. 2021An Oracle for Guiding Large-Scale Model/Hybrid Parallel Training of Convolutional Neural Networkscited by 2
  13. 2022Automatic Discovery of Composite SPMD Partitioning Strategies in PartIRcited by 2
  14. 2025Two-dimensional Sparse Parallelism for Large Scale Deep Learning Recommendation Model Trainingcited by 2
  15. 2025Partial Parameter Updates for Efficient Distributed Trainingcited by 1
  16. 2024PaSE: Parallelization Strategies for Efficient DNN Trainingcited by 0
  17. 2024Secure Multiparty Generative AIcited by 0
  18. 2026Raising Bars, Not Parameters: LilMoo Compact Language Model for Hindicited by 0