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

Sky Computing:加速联邦学习中的地理分布式计算

Sky Computing: Accelerating Geo-distributed Computing in Federated Learning

HPC-AI Technology Inc.(HPC-AI技术公司);National University of Singapore(新加坡国立大学)

Jie Zhu, Shenggui Li, Yang You

摘要:

联邦学习是由谷歌提出的,通过在用户设备上本地训练模型来保护数据隐私。然而,随着深度学习模型的规模不断增长以获得更好的结果,在单个设备上容纳整个模型变得越来越困难。因此,然后使用模型并行来在若干设备之间划分模型权重。通过这种逻辑,目前使用的方法在设备之间均匀分配权重。然而,在现实中,由于不同用户设备的不同计算能力,可能会出现计算瓶颈。为了解决这个问题,需要负载均衡来基于设备的计算能力分配模型权重。在本文中,我们提出了天空计算,一个负载平衡的模型并行框架,自适应地分配权重的设备。当训练具有64个节点的160层BERT时,Sky Computing在训练时间上优于基线方法55%。源代码可以在https://github.com/hpcaitech/SkyComputing上找到。

英文摘要:

Federated learning is proposed by Google to safeguard data privacy through training models locally on users' devices. However, with deep learning models growing in size to achieve better results, it becomes increasingly difficult to accommodate the whole model on one single device. Thus, model parallelism is then used to divide the model weights among several devices. With this logic, the approach currently used evenly allocates weights among devices. However, in reality, a computation bottleneck may occur resulting from variant computing power of different users' devices. To address this problem, load balancing is needed to allocate the model weights based on the computational capability of the device. In this paper, we proposed Sky Computing, a load-balanced model parallelism framework to adaptively allocate the weights to devices. Sky Computing outperforms the baseline method by 55% in training time when training 160-layer BERT with 64 nodes. The source code can be found at https://github.com/hpcaitech/SkyComputing.

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

↑