mlsanityData to 14 Oct 2026

Photon: Federated LLM Pre-Training

arXiv 2411.02908 ↗First posted 5 Nov 2024cs.LG cs.DCcited by 0

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

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  3. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  7. 2019Advances and Open Problems in Federated Learningcited by 3,046
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  9. 2018Federated Optimization in Heterogeneous Networkscited by 2,987
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  12. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
38 more
  1. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  3. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  4. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  5. 2018On First-Order Meta-Learning Algorithmscited by 1,018
  6. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  7. 2019Towards Federated Learning at Scale: System Designcited by 832
  8. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  9. 2021Model-Contrastive Federated Learningcited by 766
  10. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  11. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  12. 2018Local SGD Converges Fast and Communicates Littlecited by 605
  13. 2021Federated Learning Based on Dynamic Regularizationcited by 562
  14. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
  15. 2021A Field Guide to Federated Optimizationcited by 315
  16. 2018An Empirical Model of Large-Batch Trainingcited by 281
  17. 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 279
  18. 2019Model Pruning Enables Efficient Federated Learning on Edge Devicescited by 222
  19. 2018Don't Use Large Mini-Batches, Use Local SGDcited by 202
  20. 2020Client Selection in Federated Learning: Convergence Analysis and Power-of-Choice Selection Strategiescited by 198
  21. 2016Practical Secure Aggregation for Federated Learning on User-Held Datacited by 178
  22. 2018Expanding the Reach of Federated Learning by Reducing Client Resource Requirementscited by 163
  23. 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 149
  24. 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 128
  25. 2020A Principled Approach to Data Valuation for Federated Learningcited by 127
  26. 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 121
  27. 2024MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUscited by 112
  28. 2021Papaya: Practical, Private, and Scalable Federated Learningcited by 90
  29. 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 87
  30. 2019Measure Contribution of Participants in Federated Learningcited by 79
  31. 2021On Large-Cohort Training for Federated Learningcited by 74
  32. 2022On the Importance and Applicability of Pre-Training for Federated Learningcited by 71
  33. 2022Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learningcited by 71
  34. 2021Federated Hyperparameter Tuning: Challenges, Baselines, and Connections to Weight-Sharingcited by 58
  35. 2023ZeRO++: Extremely Efficient Collective Communication for Giant Model Trainingcited by 52
  36. 2020Learning Rates as a Function of Batch Size: A Random Matrix Theory Approach to Neural Network Trainingcited by 50
  37. 2024Characterization of Large Language Model Development in the Datacentercited by 46
  38. 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.