Model Pruning Enables Efficient Federated Learning on Edge Devices

Yuang Jiang, Shiqiang Wang, Victor Valls, Bong Jun Ko, Wei-Han Lee +2 more
9/26/2019
cs.LGcs.DCstat.ML

Official code: jiangyuang/PruneFL (97 stars, MIT, last commit 2022-05-09).

Abstract

Federated learning (FL) allows model training from local data collected by edge/mobile devices while preserving data privacy, which has wide applicability to image and vision applications. A challenge is that client devices in FL usually have much more limited computation and communication resources compared to servers in a datacenter. To overcome this challenge, we propose PruneFL -- a novel FL approach with adaptive and distributed parameter pruning, which adapts the model size during FL to reduce both communication and computation overhead and minimize the overall training time, while maintaining a similar accuracy as the original model. PruneFL includes initial pruning at a selected client and further pruning as part of the FL process. The model size is adapted during this process, which includes maximizing the approximate empirical risk reduction divided by the time of one FL round. Our experiments with various datasets on edge devices (e.g., Raspberry Pi) show that: (i) we significantly reduce the training time compared to conventional FL and various other pruning-based methods; (ii) the pruned model with automatically determined size converges to an accuracy that is very similar to the original model, and it is also a lottery ticket of the original model.

View on arXivView PDF

Code Implementations(1)

jiangyuang/PruneFLOfficial100%
MIT

This is the code repository for the following paper: "Model pruning enables efficient federated learning on edge devices".

9713C++, ShellMay 20, 20214 years agoMIT

Similar Papers

Cite this paper

@article{jiang2019model,
  title  = {Model Pruning Enables Efficient Federated Learning on Edge Devices},
  author = {Yuang Jiang and Shiqiang Wang and Victor Valls and Bong Jun Ko and Wei-Han Lee and Kin K. Leung and Leandros Tassiulas},
  year   = {2019},
  eprint = {1909.12326},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.12326}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.12326.svg)](https://codeofpaper.com/paper/1909.12326)

Discussion