mlsanityData to 7 Oct 2026

DiPaCo: Distributed Path Composition

arXiv 2403.10616 ↗First posted 15 Mar 2024cs.LG cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Progress in machine learning (ML) has been fueled by scaling neural network models. This scaling has been enabled by ever more heroic feats of engineering, necessary for accommodating ML approaches that require high bandwidth communication between devices working in parallel. In this work, we propose a co-designed modular architecture and training approach for ML models, dubbed DIstributed PAth COmposition (DiPaCo). During training, DiPaCo distributes computation by paths through a set of shared modules. Together with a Local-SGD inspired optimization (DiLoCo) that keeps modules in sync with drastically reduced communication, Our approach facilitates training across poorly connected and heterogeneous workers, with a design that ensures robustness to worker failures and preemptions. At inference time, only a single path needs to be executed for each input, without the need for any model compression. We consider this approach as a first prototype towards a new paradigm of large-scale learning, one that is less synchronous and more modular. Our experiments on the widely used C4 benchmark show that, for the same amount of training steps but less wall-clock time, DiPaCo exceeds the performance of a 1 billion-parameter dense transformer language model by choosing one of 256 possible paths, each with a size of 150 million parameters.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 20 of its 30 references that are in the map. First posted on arXiv 15 Mar 2024.

Builds on

20 of 30 references.

References · 20

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  3. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  4. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  5. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  6. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  7. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  8. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  9. 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
  10. 2013Learning Factored Representations in a Deep Mixture of Expertscited by 275
  11. 2022Unified Scaling Laws for Routed Language Modelscited by 249
  12. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
8 more
  1. 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
  2. 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
  3. 2019Task-Driven Modular Networks for Zero-Shot Compositional Learningcited by 121
  4. 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 84
  5. 2017Hard Mixtures of Experts for Large Scale Weakly Supervised Visioncited by 67
  6. 2023Scaling Expert Language Models with Unsupervised Domain Discoverycited by 59
  7. 2020Towards Crowdsourced Training of Large Neural Networks using Decentralized Mixture-of-Expertscited by 43
  8. 2021Federated Mixture of Expertscited by 27

Built on by

Cited by year (2026 to 7 Oct)

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

9 papers.