DiPaCo: Distributed Path Composition. Douillard, A., Feng, Q., Rusu, A. A., Kuncoro, A., Donchev, Y., Chhaparia, R., Gog, I., Ranzato, M., Shen, J., & Szlam, A. March, 2024. arXiv:2403.10616 [cs]
Paper doi abstract bibtex 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.
@misc{douillard_dipaco_2024,
title = {{DiPaCo}: {Distributed} {Path} {Composition}},
shorttitle = {{DiPaCo}},
url = {http://arxiv.org/abs/2403.10616},
doi = {10.48550/arXiv.2403.10616},
abstract = {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.},
urldate = {2025-06-03},
publisher = {arXiv},
author = {Douillard, Arthur and Feng, Qixuan and Rusu, Andrei A. and Kuncoro, Adhiguna and Donchev, Yani and Chhaparia, Rachita and Gog, Ionel and Ranzato, Marc'Aurelio and Shen, Jiajun and Szlam, Arthur},
month = mar,
year = {2024},
note = {arXiv:2403.10616 [cs]},
keywords = {Computer Science - Computation and Language, Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"BDsmMsabtFRzxKQAs","bibbaseid":"douillard-feng-rusu-kuncoro-donchev-chhaparia-gog-ranzato-etal-dipacodistributedpathcomposition-2024","author_short":["Douillard, A.","Feng, Q.","Rusu, A. A.","Kuncoro, A.","Donchev, Y.","Chhaparia, R.","Gog, I.","Ranzato, M.","Shen, J.","Szlam, A."],"bibdata":{"bibtype":"misc","type":"misc","title":"DiPaCo: Distributed Path Composition","shorttitle":"DiPaCo","url":"http://arxiv.org/abs/2403.10616","doi":"10.48550/arXiv.2403.10616","abstract":"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.","urldate":"2025-06-03","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Douillard"],"firstnames":["Arthur"],"suffixes":[]},{"propositions":[],"lastnames":["Feng"],"firstnames":["Qixuan"],"suffixes":[]},{"propositions":[],"lastnames":["Rusu"],"firstnames":["Andrei","A."],"suffixes":[]},{"propositions":[],"lastnames":["Kuncoro"],"firstnames":["Adhiguna"],"suffixes":[]},{"propositions":[],"lastnames":["Donchev"],"firstnames":["Yani"],"suffixes":[]},{"propositions":[],"lastnames":["Chhaparia"],"firstnames":["Rachita"],"suffixes":[]},{"propositions":[],"lastnames":["Gog"],"firstnames":["Ionel"],"suffixes":[]},{"propositions":[],"lastnames":["Ranzato"],"firstnames":["Marc'Aurelio"],"suffixes":[]},{"propositions":[],"lastnames":["Shen"],"firstnames":["Jiajun"],"suffixes":[]},{"propositions":[],"lastnames":["Szlam"],"firstnames":["Arthur"],"suffixes":[]}],"month":"March","year":"2024","note":"arXiv:2403.10616 [cs]","keywords":"Computer Science - Computation and Language, Computer Science - Machine Learning","bibtex":"@misc{douillard_dipaco_2024,\n\ttitle = {{DiPaCo}: {Distributed} {Path} {Composition}},\n\tshorttitle = {{DiPaCo}},\n\turl = {http://arxiv.org/abs/2403.10616},\n\tdoi = {10.48550/arXiv.2403.10616},\n\tabstract = {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.},\n\turldate = {2025-06-03},\n\tpublisher = {arXiv},\n\tauthor = {Douillard, Arthur and Feng, Qixuan and Rusu, Andrei A. and Kuncoro, Adhiguna and Donchev, Yani and Chhaparia, Rachita and Gog, Ionel and Ranzato, Marc'Aurelio and Shen, Jiajun and Szlam, Arthur},\n\tmonth = mar,\n\tyear = {2024},\n\tnote = {arXiv:2403.10616 [cs]},\n\tkeywords = {Computer Science - Computation and Language, Computer Science - Machine Learning},\n}\n\n","author_short":["Douillard, A.","Feng, Q.","Rusu, A. A.","Kuncoro, A.","Donchev, Y.","Chhaparia, R.","Gog, I.","Ranzato, M.","Shen, J.","Szlam, A."],"key":"douillard_dipaco_2024","id":"douillard_dipaco_2024","bibbaseid":"douillard-feng-rusu-kuncoro-donchev-chhaparia-gog-ranzato-etal-dipacodistributedpathcomposition-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2403.10616"},"keyword":["Computer Science - Computation and Language","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://api.zotero.org/users/15655889/collections/G6GP9ANU/items?key=MzHVK1tHvHTcC946y3GIaoco&format=bibtex&limit=100","dataSources":["TSvsyzYFzoTiDesZP"],"keywords":["computer science - computation and language","computer science - machine learning"],"search_terms":["dipaco","distributed","path","composition","douillard","feng","rusu","kuncoro","donchev","chhaparia","gog","ranzato","shen","szlam"],"title":"DiPaCo: Distributed Path Composition","year":2024}