arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.10367cs.LGcs.AI
收藏

迈向联邦学习中边缘节点的高效资源利用

Toward efficient resource utilization at edge nodes in federated learning

Blekinge Institute of Technology(布莱金厄理工学院);University of Skövde(舍夫德大学);Uppsala University(乌普萨拉大学);Scaleout Systems(Scaleout Systems公司)

Sadi Alawadi, Addi Ait-Mlouk, Salman Toor, Andreas Hellander

AI总结:

本文提出受迁移学习启发的联邦学习策略,每轮随机训练部分模型层并冻结其余层,基于FEDn在多数据集上验证可显著降低通信与资源开销且保持精度。

摘要:

联邦学习(FL)使边缘节点能够在不共享其数据的情况下,协同参与构建全局模型。这是通过设备计算本地、私有的模型更新,随后由服务器进行聚合来实现的。然而,对于深度学习应用中常见的较大模型规模,计算资源约束和网络通信可能成为严重瓶颈。边缘节点往往只有有限的硬件资源(RAM、CPU),而边缘处的网络带宽和可靠性也是扩展联邦机群应用时需要关注的问题。本文提出并评估了一种受迁移学习启发的FL策略,以降低设备上的资源利用,以及每个全局训练轮次中服务器和网络的负载。对于每次本地模型更新,我们随机选择要训练的层,并冻结模型的其余部分。通过这种方式,我们可以排除所有未训练层权重向服务器的传输,从而同时降低每轮的服务器负载和通信成本。本研究的目标是通过实验探究在所提策略下,设备资源利用与全局模型收敛之间潜在的权衡。我们使用联邦学习框架FEDn实现该方法。实验在不同数据集(CIFAR-10、CASA和IMDB)上开展,并使用不同的深度学习模型架构执行不同任务。结果表明,部分训练模型可以加速训练过程、高效利用设备端资源;当分别训练25%和50%的模型层时,数据传输可减少约75%和53%,且不会损害所得全局模型的准确率。

英文摘要:

Federated learning (FL) enables edge nodes to collaboratively contribute to constructing a global model without sharing their data. This is accomplished by devices computing local, private model updates that are then aggregated by a server. However, computational resource constraints and network communication can become a severe bottleneck for larger model sizes typical for deep learning applications. Edge nodes tend to have limited hardware resources (RAM, CPU), and the network bandwidth and reliability at the edge is a concern for scaling federated fleet applications. In this paper, we propose and evaluate a FL strategy inspired by transfer learning in order to reduce resource utilization on devices, as well as the load on the server and network in each global training round. For each local model update, we randomly select layers to train, freezing the remaining part of the model. In doing so, we can reduce both server load and communication costs per round by excluding all untrained layer weights from being transferred to the server. The goal of this study is to empirically explore the potential trade-off between resource utilization on devices and global model convergence under the proposed strategy. We implement the approach using the federated learning framework FEDn. A number of experiments were carried out over different datasets (CIFAR-10, CASA, and IMDB), performing different tasks using different deep-learning model architectures. Our results show that training the model partially can accelerate the training process, efficiently utilizes resources on-device, and reduce the data transmission by around 75% and 53% when we train 25%, and 50% of the model layers, respectively, without harming the resulting global model accuracy.

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

↑