EcoFed: Efficient Communication for DNN Partitioning-based Federated Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Di, Ullah, Rehmat, Rodgers, Philip, Kilpatrick, Peter, Spence, Ivor, Varghese, Blesson
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910285886914560
author Wu, Di
Ullah, Rehmat
Rodgers, Philip
Kilpatrick, Peter
Spence, Ivor
Varghese, Blesson
author_facet Wu, Di
Ullah, Rehmat
Rodgers, Philip
Kilpatrick, Peter
Spence, Ivor
Varghese, Blesson
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2304_05495
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle EcoFed: Efficient Communication for DNN Partitioning-based Federated Learning
Wu, Di
Ullah, Rehmat
Rodgers, Philip
Kilpatrick, Peter
Spence, Ivor
Varghese, Blesson
Distributed, Parallel, and Cluster Computing
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.
title EcoFed: Efficient Communication for DNN Partitioning-based Federated Learning
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2304.05495