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

EcoFed:基于DNN划分的联邦学习的高效通信

EcoFed: Efficient Communication for DNN Partitioning-based Federated Learning

Di Wu, Rehmat Ullah, Philip Rodgers, Peter Kilpatrick, Ivor Spence, Blesson Varghese

AI总结:

本文提出EcoFed框架,通过预训练初始化消除梯度传输、引入重放缓冲区和量化压缩技术减少激活传输,解决了基于DNN划分的联邦学习中的通信开销问题,显著降低了通信成本并加速了训练。

摘要:

在资源受限的设备上高效运行联邦学习(FL)具有挑战性,因为它们需要独立训练计算密集的深度神经网络(DNN)。基于DNN划分的联邦学习(DPFL)被提出作为一种加速训练的机制,其中DNN的层(或计算)从设备卸载到服务器。然而,这带来了显著的通信开销,因为在训练期间需要在设备和服务器之间传输中间激活和梯度。虽然当前研究使用基于本地损失的方法减少了DNN划分引入的通信,但我们证明这些方法在提高DPFL系统的整体效率(通信开销和训练速度)方面是无效的。这是因为它们存在精度下降的问题,并且忽略了将激活从设备传输到服务器时产生的通信成本。本文提出了EcoFed——一个用于DPFL系统的通信高效框架。EcoFed首次通过在设备上开发DNN模型的预训练初始化来消除梯度的传输。这减少了基于本地损失方法中出现的精度下降。此外,EcoFed提出了一种新颖的重放缓冲区机制,并实现了基于量化的压缩技术,以减少激活的传输。实验证明,与经典FL相比,EcoFed可将通信成本降低高达133倍,并将训练加速高达21倍。与原始DPFL相比,EcoFed实现了16倍的通信减少和2.86倍的训练时间加速。EcoFed可从https://github.com/blessonvar/EcoFed获取。

英文摘要:

Efficiently running federated learning (FL) on resource-constrained devices is challenging since they are required to train computationally intensive deep neural networks (DNN) independently. DNN partitioning-based FL (DPFL) has been proposed as one mechanism to accelerate training where the layers of a DNN (or computation) are offloaded from the device to the server. However, this creates significant communication overheads since the intermediate activation and gradient need to be transferred between the device and the server during training. While current research reduces the communication introduced by DNN partitioning using local loss-based methods, we demonstrate that these methods are ineffective in improving the overall efficiency (communication overhead and training speed) of a DPFL system. This is because they suffer from accuracy degradation and ignore the communication costs incurred when transferring the activation from the device to the server. This article proposes EcoFed - a communication efficient framework for DPFL systems. EcoFed eliminates the transmission of the gradient by developing pre-trained initialization of the DNN model on the device for the first time. This reduces the accuracy degradation seen in local loss-based methods. In addition, EcoFed proposes a novel replay buffer mechanism and implements a quantization-based compression technique to reduce the transmission of the activation. It is experimentally demonstrated that EcoFed can reduce the communication cost by up to 133x and accelerate training by up to 21x when compared to classic FL. Compared to vanilla DPFL, EcoFed achieves a 16x communication reduction and 2.86x training time speed-up. EcoFed is available from https://github.com/blessonvar/EcoFed.

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

↑