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

FedHC:面向异构与资源受限客户端的可扩展联邦学习框架

FedHC: A Scalable Federated Learning Framework for Heterogeneous and Resource-Constrained Clients

Min Zhang, Fuxun Yu, Yongbo Yu, Minjia Zhang, Ang Li, Xiang Chen

AI总结:

FedHC通过受限GPU资源预算、动态调度与资源共享机制,解决了异构资源受限客户端下联邦学习模拟与真实部署的差异问题,并在相同资源约束下实现2.75倍加速。

摘要:

联邦学习(FL)是一种分布式学习范式,使边缘设备能够利用本地数据协作学习全局模型。在GPU上模拟FL对于加速FL算法原型设计和评估至关重要。然而,当前的FL框架忽视了算法模拟与实际部署之间的差异,这种差异源于异构计算能力和不均衡的工作负载,从而误导了对新算法的评估。此外,这些框架缺乏灵活性和可扩展性,难以容纳资源受限的客户端。在本文中,我们提出了FedHC,一个面向异构与资源受限客户端的可扩展联邦学习框架。FedHC通过为每个客户端分配专用且受限的GPU资源预算来实现系统异构性,并根据框架提供的运行时来模拟工作负载异构性。此外,我们通过引入动态客户端调度器、进程管理器和资源共享机制,提高了可扩展客户端的GPU资源利用率。我们的实验表明,FedHC能够捕捉各种因素对客户端执行时间的影响。而且,尽管每个客户端都受到资源约束,与没有限制的现有框架相比,FedHC仍实现了最先进的效率。当现有框架受到相同的资源约束时,FedHC实现了2.75倍的加速。代码已发布在https://github.com/if-lab-repository/FedHC。

英文摘要:

Federated Learning (FL) is a distributed learning paradigm that empowers edge devices to collaboratively learn a global model leveraging local data. Simulating FL on GPU is essential to expedite FL algorithm prototyping and evaluations. However, current FL frameworks overlook the disparity between algorithm simulation and real-world deployment, which arises from heterogeneous computing capabilities and imbalanced workloads, thus misleading evaluations of new algorithms. Additionally, they lack flexibility and scalability to accommodate resource-constrained clients. In this paper, we present FedHC, a scalable federated learning framework for heterogeneous and resource-constrained clients. FedHC realizes system heterogeneity by allocating a dedicated and constrained GPU resource budget to each client, and also simulates workload heterogeneity in terms of framework-provided runtime. Furthermore, we enhance GPU resource utilization for scalable clients by introducing a dynamic client scheduler, process manager, and resource-sharing mechanism. Our experiments demonstrate that FedHC has the capability to capture the influence of various factors on client execution time. Moreover, despite resource constraints for each client, FedHC achieves state-of-the-art efficiency compared to existing frameworks without limits. When subjecting existing frameworks to the same resource constraints, FedHC achieves a 2.75x speedup. Code has been released on https://github.com/if-lab-repository/FedHC.

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

↑