Distributed Deep Learning In Open Collaborations
Michael Diskin, Alexey Bukhtiyarov, Max Ryabinin, Lucile Saulnier, Quentin Lhoest, Anton Sinitsin, Dmitry Popov, Dmitry V. Pyrkin, Maxim Kashirin, Alexander Borzunov, Albert Villanova del Moral, Denis Mazur
Abstract
Modern deep learning applications require increasingly more compute to train state-of-the-art models. To address this demand, large corporations and institutions use dedicated High-Performance Computing clusters, whose construction and maintenance are both environmentally costly and well beyond the budget of most organizations. As a result, some research directions become the exclusive domain of a few large industrial and even fewer academic actors. To alleviate this disparity, smaller groups may pool their computational resources and run collaborative experiments that benefit all participants. This paradigm, known as grid- or volunteer computing, has seen successful applications in numerous scientific areas. However, using this approach for machine learning is difficult due to high latency, asymmetric bandwidth, and several challenges unique to volunteer computing. In this work, we carefully analyze these constraints and propose a novel algorithmic framework designed specifically for collaborative training. We demonstrate the effectiveness of our approach for SwAV and ALBERT pretraining in realistic conditions and achieve performance comparable to traditional setups at a fraction of the cost. Finally, we provide a detailed report of successful collaborative language model pretraining with 40 participants.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Secure Distributed Training at Scale cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- Secure Distributed Training at Scale cites Language Models are Few-Shot Learners
- HexGen: Generative Inference of Large Language Model over Heterogeneous Environment cites SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient
- CocktailSGD: Fine-tuning Foundation Models over 500Mbps Networks cites Language Models are Few-Shot Learners
- Distributed Methods with Compressed Communication for Solving Variational Inequalities, with Theoretical Guarantees cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient cites Language Models are Few-Shot Learners
Cited by top-tier papers10
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-EfficientMax Ryabinin, Tim Dettmers, Michael Diskin, Alexander BorzunovICML 2023 · 63 citations
- CocktailSGD: Fine-tuning Foundation Models over 500Mbps NetworksJue Wang, Yucheng Lu, Binhang Yuan, Beidi Chen et al.ICML 2023 · 60 citations
- HexGen: Generative Inference of Large Language Model over Heterogeneous EnvironmentYouhe Jiang, Ran Yan, Xiaozhe Yao, Yang Zhou et al.ICML 2024 · 46 citations
- Distributed Methods with Compressed Communication for Solving Variational Inequalities, with Theoretical GuaranteesAleksandr Beznosikov, Peter Richtárik, Michael Diskin, Max Ryabinin et al.NeurIPS 2022 · 25 citations
- Secure Distributed Training at ScaleEduard Gorbunov, Alexander Borzunov, Michael Diskin, Max RyabininICML 2022 · 18 citations
Builds on18
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech RepresentationsAlexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, Michael AuliNeurIPS 2020 · 9,451 citations
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
- Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone et al.CCS 2017 · 3,936 citations
Related papers
- Towards Crowdsourced Training of Large Neural Networks using Decentralized Mixture-of-ExpertsMax Ryabinin, Anton GusevNeurIPS 2020 · 71 citations
- Beyond A Single AI Cluster: A Survey of Decentralized LLM TrainingHaotian Dong, Jingyan Jiang, Rongwei Lu, Jiajun Luo et al.EMNLP 2025 · 2 citations
- Confidant: Customizing Transformer-based LLMs via Collaborative Training on Mobile DevicesYuhao Chen, Yuxuan Yan, Shuowei Ge, Yuyang Qin et al.MobiCom 2025 · 4 citations
- Energy and Carbon Considerations of Fine-Tuning BERTXiaorong Wang, Clara Na, Emma Strubell, Sorelle A. Friedler et al.EMNLP Findings 2023 · 21 citations
- SLAMB: Accelerated Large Batch Training with Sparse CommunicationHang Xu, Wenxuan Zhang, Jiawei Fei, Yuzhe Wu et al.ICML 2023 · 7 citations
