Photon: Federated LLM Pre-Training
Not on the map. Why?
Abstract (arXiv)
Scaling large language models (LLMs) demands extensive data and computing resources, which are traditionally constrained to data centers by the high-bandwidth requirements of distributed training. Low-bandwidth methods like federated learning (FL) could enable collaborative training of larger models across weakly-connected GPUs if they can effectively be used for pre-training. To achieve this, we introduce Photon, the first complete system for federated end-to-end LLM training, leveraging cross-silo FL for global-scale training with minimal communication overheads. Using Photon, we train the first federated family of decoder-only LLMs from scratch. We show that: (1) Photon can train model sizes up to 7B in a federated fashion while reaching an even better perplexity than centralized pre-training; (2) Photon model training time decreases with available compute, achieving a similar compute-time trade-off to centralized; and (3) Photon outperforms the wall-time of baseline distributed training methods by 35% via communicating 64x-512xless. Our proposal is robust to data heterogeneity and converges twice as fast as previous methods like DiLoCo. This surprising data efficiency stems from a unique approach combining small client batch sizes with extremely high learning rates, enabled by federated averaging's robustness to hyperparameters. Photon thus represents the first economical system for global internet-wide LLM pre-training.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 67 of its 99 references that are in the map. First posted on arXiv 5 Nov 2024.
Builds on
67 of 99 references.
References · 67
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2019Advances and Open Problems in Federated Learningcited by 3,046
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2018Federated Optimization in Heterogeneous Networkscited by 2,987
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
38 more
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2018On First-Order Meta-Learning Algorithmscited by 1,018
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2019Towards Federated Learning at Scale: System Designcited by 832
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
- 2021Model-Contrastive Federated Learningcited by 766
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
- 2018Local SGD Converges Fast and Communicates Littlecited by 605
- 2021Federated Learning Based on Dynamic Regularizationcited by 562
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2021A Field Guide to Federated Optimizationcited by 315
- 2018An Empirical Model of Large-Batch Trainingcited by 281
- 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 279
- 2019Model Pruning Enables Efficient Federated Learning on Edge Devicescited by 222
- 2018Don't Use Large Mini-Batches, Use Local SGDcited by 202
- 2020Client Selection in Federated Learning: Convergence Analysis and Power-of-Choice Selection Strategiescited by 198
- 2016Practical Secure Aggregation for Federated Learning on User-Held Datacited by 178
- 2018Expanding the Reach of Federated Learning by Reducing Client Resource Requirementscited by 163
- 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 149
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 128
- 2020A Principled Approach to Data Valuation for Federated Learningcited by 127
- 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 121
- 2024MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUscited by 112
- 2021Papaya: Practical, Private, and Scalable Federated Learningcited by 90
- 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 87
- 2019Measure Contribution of Participants in Federated Learningcited by 79
- 2021On Large-Cohort Training for Federated Learningcited by 74
- 2022On the Importance and Applicability of Pre-Training for Federated Learningcited by 71
- 2022Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learningcited by 71
- 2021Federated Hyperparameter Tuning: Challenges, Baselines, and Connections to Weight-Sharingcited by 58
- 2023ZeRO++: Extremely Efficient Collective Communication for Giant Model Trainingcited by 52
- 2020Learning Rates as a Function of Batch Size: A Random Matrix Theory Approach to Neural Network Trainingcited by 50
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
50 most cited of 67 All 67 (JSON)
Built on by
Not cited yet.