arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.05642cs.LGcs.AIcs.MAcs.PF
收藏

加速异构环境中的联邦学习:一种动态分层方法

Speed Up Federated Learning in Heterogeneous Environment: A Dynamic Tiering Approach

University of Nevada, Reno(内华达大学雷诺分校);IBM Research - Almaden(IBM阿尔马登研究中心);University of Houston(休斯顿大学)

Seyed Mahmoud Sajjadi Mohammadabadi, Syed Zawad, Feng Yan, Lei Yang

AI总结:

针对联邦学习中客户端计算、通信与数据规模异构导致的掉队问题,提出DTFL动态分层卸载与并行局部损失训练框架,并证明收敛性,实验显示其可在保持精度时显著缩短训练时间。

摘要:

联邦学习(FL)能够在保持训练数据去中心化和私有的同时协作训练模型。然而,使用FL训练模型(尤其是大型模型)的一个重大障碍,是设备在异构计算与通信能力以及不同任务规模方面的资源约束。这种异构性会导致客户端训练时间出现显著差异,从而造成整体训练时间更长,并浪费较快客户端的资源。为解决这些异构性问题,我们提出了基于动态分层的联邦学习(Dynamic Tiering-based Federated Learning,DTFL)系统,其中较慢的客户端会动态地将部分模型卸载到服务器,以缓解资源约束并加速训练。借助Split Learning(分割学习)的概念,DTFL将全局模型的不同部分卸载给不同层级的客户端,并使每个客户端能够通过基于局部损失的训练并行更新模型。这有助于降低资源受限设备上的计算和通信需求,从而缓解掉队者问题。DTFL引入了一个动态分层调度器,该调度器使用分层性能分析,根据各客户端的历史训练时间、通信速度和数据集规模来估计其预期训练时间。动态分层调度器将客户端分配到合适的层级,以最小化每一轮的整体训练时间。我们首先从理论上证明DTFL的收敛性质。随后,在IID和non-IID设置下,于常用图像数据集(CIFAR-10、CIFAR-100、CINIC-10和HAM10000)上训练大型模型(ResNet-56和ResNet-110)。大量实验结果表明,与最先进的FL方法相比,DTFL能够在保持模型精度的同时显著减少训练时间。

英文摘要:

Federated learning (FL) enables collaboratively training a model while keeping the training data decentralized and private. However, one significant impediment to training a model using FL, especially large models, is the resource constraints of devices with heterogeneous computation and communication capacities as well as varying task sizes. Such heterogeneity would render significant variations in the training time of clients, resulting in a longer overall training time as well as a waste of resources in faster clients. To tackle these heterogeneity issues, we propose the Dynamic Tiering-based Federated Learning (DTFL) system where slower clients dynamically offload part of the model to the server to alleviate resource constraints and speed up training. By leveraging the concept of Split Learning, DTFL offloads different portions of the global model to clients in different tiers and enables each client to update the models in parallel via local-loss-based training. This helps reduce the computation and communication demand on resource-constrained devices and thus mitigates the straggler problem. DTFL introduces a dynamic tier scheduler that uses tier profiling to estimate the expected training time of each client, based on their historical training time, communication speed, and dataset size. The dynamic tier scheduler assigns clients to suitable tiers to minimize the overall training time in each round. We first theoretically prove the convergence properties of DTFL. We then train large models (ResNet-56 and ResNet-110) on popular image datasets (CIFAR-10, CIFAR-100, CINIC-10, and HAM10000) under both IID and non-IID systems. Extensive experimental results show that compared with state-of-the-art FL methods, DTFL can significantly reduce the training time while maintaining model accuracy.

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

↑