The Future of Large Language Model Pre-training is Federated
<|reference_start|>The Future of Large Language Model Pre-training is Federated: Generative pre-trained large language models (LLMs) have demonstrated impressive performance over a wide range of tasks, thanks to the unprecedented amount of data they have been trained on. As established scaling laws indicate, LLMs' future performance improvement depends on the amount of computing and data sources they can leverage for pre-training. Federated learning (FL) has the potential to unleash the majority of the planet's data and computational resources, which are underutilized by the data-center-focused training methodology of current LLM practice. Our work presents a robust, flexible, reproducible FL approach that enables large-scale collaboration across institutions to train LLMs. We propose a scalable deployment system called Photon to enable the investigation and development of this new training paradigm for LLM pre-training. We show that Photon can be used by organizations interested in collaborating with their private data sources and computational resources for pre-training LLMs with billions of parameters. This paradigm would mobilize more computational and data resources while matching or potentially exceeding centralized performance. We further show the effectiveness of the federated training scales with model size and present our approach for training a billion-scale federated LLM using limited resources. Finally, we show that LLM training is highly resilient to the classical challenges of federated statistical and hardware heterogeneity. Furthermore, we show that convergence is robust to partial participation, opening the avenue for compute-efficient collaborative training. Photon will help data-rich actors to become the protagonists of LLMs pre-training instead of leaving the stage to compute-rich actors alone.<|reference_end|>
@article{sani2024the,
    title={The Future of Large Language Model Pre-training is Federated},
    author={Lorenzo Sani, Alex Iacob, Zeyu Cao, Bill Marino, Yan Gao, Tomas
  Paulik, Wanru Zhao, William F. Shen, Preslav Aleksandrov, Xinchi Qiu,
  Nicholas D. Lane},
    journal={arXiv preprint arXiv:2405.10853},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.10853},
    primaryClass={cs.LG cs.AI cs.DC}
}