Training foundation models, such as GPT-3 and PaLM, can be extremely expensive, often involving tens of thousands of GPUs running continuously for months. These models are typically trained in specialized clusters featuring fast, homogeneous interconnects and using carefully designed software systems that support both data parallelism and model/pipeline parallelism. Such dedicated clusters can be costly and difficult to obtain. Can we instead leverage the much greater amount of decentralized, heterogeneous, and lower-bandwidth interconnected compute? Previous works examining the heterogeneous, decentralized setting focus on relatively small models that can be trained in a purely data parallel manner. State-of-the-art schemes for model parallel foundation model training, such as Megatron, only consider the homogeneous data center setting. In this paper, we present the first study of training large foundation models with model parallelism in a decentralized regime over a heterogeneous network. Our key technical contribution is a scheduling algorithm that allocates different computational "tasklets" in the training of foundation models to a group of decentralized GPU devices connected by a slow heterogeneous network. We provide a formal cost model and further propose an efficient evolutionary algorithm to find the optimal allocation strategy. We conduct extensive experiments that represent different scenarios for learning over geo-distributed devices simulated using real-world network measurements. In the most extreme case, across 8 different cities spanning 3 continents, our approach is 4.8X faster than prior state-of-the-art training systems (Megatron).
DFPL: Decentralized Federated Prototype Learning Across Heterogeneous Data Distributions
Key Laboratory of Computing Power Network and Information Security, Ministry of Education(教育部算力网络与信息安全重点实验室);Qilu University of Technology (Shandong Academy of Sciences)(齐鲁工业大学(山东省科学院));Cyber Security Institute, University of Science and Technology of China(中国科学技术大学网络空间安全学院);Big Data Institute, Qilu University of Technology(齐鲁工业大学大数据研究院)
AEDFL: Efficient Asynchronous Decentralized Federated Learning with Heterogeneous Devices
Hithink RoyalFlush Information Network Co., Ltd.(同花顺信息网络股份有限公司);Auburn University(奥本大学);Kent State University(肯特州立大学);North Carolina State University(北卡罗来纳州立大学);Boston Consulting Group(波士顿咨询集团);Inria(法国国家信息与自动化研究所);University of Montpellier(蒙彼利埃大学);CNRS(法国国家科学研究中心);LNCC(巴西国家科学计算实验室)
DecHW: Heterogeneous Decentralized Federated Learning Exploiting Second-Order Information
School of Information Technology, Deakin University(德肯大学信息科技学院);Institute for Informatics and Telematics (IIT), Italian National Research Council (CNR)(信息与电信学研究院(IIT),意大利国家研究委员会(CNR))
Towards Serverless Semi-Decentralized Federated Learning with Heterogeneous Optimizers
Department of Electrical and Computer Engineering, Princeton University(普林斯顿大学电子工程与计算机科学系);Department of Electrical and Computer Engineering, Purdue University(帕克森大学电子工程与计算机科学系)
MOD-X: A Modular Open Decentralized eXchange Framework proposal for Heterogeneous Interoperable Artificial Intelligence Agents
James Silberrad Brown Center for Artificial Intelligence(詹姆斯·西伯拉德·布朗人工智能中心);Carnegie Mellon University(卡内基梅隆大学);Amazon GenAI(亚马逊生成人工智能);University of Bristol(布里斯托大学)
Robust Decentralized Federated Distillation via Multi-Modality Knowledge Collaboration
Faculty of Applied Sciences, Macao Polytechnic University(澳门理工大学应用科学学院);School of Engineering and Technology, Central Queensland University(中央昆士兰大学工程与技术学院);School of Information and Communication Technology, Griffith University(格里菲斯大学信息与通信技术学院)
SWARM+: Scalable and Resilient Multi-Agent Consensus for Decentralized Data-Aware Workload Management
Renaissance Computing Institute, University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校文艺复兴计算研究所);Argonne National Laboratory(阿贡国家实验室);Information Sciences Institute, University of Southern California(南加州大学信息科学研究所)