arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.10859cs.DC
收藏

理解跨集群联邦学习中的通信后端

Understanding Communication Backends in Cross-Silo Federated Learning

University of Southern California(南加州大学);TensorOpera, Inc.(TensorOpera公司)

Amir Ziashahabi, Chaoyang He, Salman Avestimehr

AI总结:

本文研究了跨集群联邦学习中不同通信后端的性能,通过对比MPI、gRPC和PyTorch RPC等后端,提出gRPC+S3混合后端以提升大规模模型传输效率,为后端选择与配置提供实践指导。

摘要:

联邦学习(FL)作为一种隐私保护的分布式机器学习方法,其灵活设计使其适用于多种训练场景,从跨设备FL中的物联网边缘设备到跨集群FL中的强大服务器。这种多功能性导致FL应用的网络配置高度多样化。随着对大规模模型(如大语言模型)需求的增加,对通信后端的有意识选择和配置变得至关重要,以确保FL系统的最佳性能。本文聚焦于跨集群联邦学习,深入评估了多种通信后端,包括MPI、gRPC和PyTorch RPC。此外,我们引入了gRPC+S3混合后端,旨在克服现有方法的局限性,特别是在跨地理分布部署中传输大规模模型时,实现了相对于gRPC的高达3.8倍的端到端加速。我们的基准测试检查了点对点和端到端性能,针对广泛范围的模型大小在现实网络条件下运行。我们的发现为选择和配置适合特定联邦学习任务和网络配置的通信后端提供了实用见解。

英文摘要:

Federated learning (FL) has emerged as a practical means for privacy-preserving distributed machine learning. FL's versatile design makes it suitable for various training settings, from IoT edge devices in cross-device FL to powerful servers in cross-silo FL. A key consequence of this versatility is the high level of diversity found in the networking configuration of FL applications. Coupled with the rising demand for large-scale models such as large language models, well-informed selection and configuration of communication backends become crucial for ensuring optimal performance in FL systems. This work focuses on cross-silo federated learning, presenting in-depth benchmarks of various communication backends, including MPI, gRPC, and PyTorch RPC. In addition, we introduce gRPC+S3, a hybrid backend designed to overcome the limitations of existing approaches, particularly for transmitting large models across geo-distributed deployments, achieving up to $3.8\times$ end-to-end speedup over gRPC. Our benchmarks examine point-to-point and end-to-end performance for a broad range of model sizes running under realistic network conditions. Our findings provide practical insights for selecting and configuring suitable communication backends tailored to the specific federated learning tasks and network configurations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑