CoCoFL: Communication- and Computation-Aware Federated Learning via Partial NN Freezing and Quantization

Kilian Pfeiffer, Martin Rapp, Ramin Khalili, Jörg Henkel
3/10/2022
cs.LG
federated

Official code: k1l1/CoCoFL (12 stars, Python, MIT, last commit 2024-08-03).

Abstract

Devices participating in federated learning (FL) typically have heterogeneous communication, computation, and memory resources. However, in synchronous FL, all devices need to finish training by the same deadline dictated by the server.

Show full abstract

Our results show that training a smaller subset of the neural network (NN) at constrained devices, i.e., dropping neurons/filters as proposed by state of the art, is inefficient, preventing these devices to make an effective contribution to the model. This causes unfairness w.r.t the achievable accuracies of constrained devices, especially in cases with a skewed distribution of class labels across devices. We present a novel FL technique, CoCoFL, which maintains the full NN structure on all devices. To adapt to the devices' heterogeneous resources, CoCoFL freezes and quantizes selected layers, reducing communication, computation, and memory requirements, whereas other layers are still trained in full precision, enabling to reach a high accuracy. Thereby, CoCoFL efficiently utilizes the available resources on devices and allows constrained devices to make a significant contribution to the FL system, increasing fairness among participants (accuracy parity) and significantly improving the final accuracy of the model.

View on arXivView PDF

Code Implementations(1)

k1l1/CoCoFLOfficial100%
MIT

CoCoFL: Communication- and Computation-Aware Federated Learning via Partial NN Freezing and Quantization

121PythonJun 26, 20232 years agoMIT

Similar Papers

Cite this paper

@article{pfeiffer2022cocofl,
  title  = {CoCoFL: Communication- and Computation-Aware Federated Learning via Partial NN Freezing and Quantization},
  author = {Kilian Pfeiffer and Martin Rapp and Ramin Khalili and Jörg Henkel},
  year   = {2022},
  eprint = {2203.05468},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.05468}
}

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/2203.05468.svg)](https://codeofpaper.com/paper/2203.05468)

Discussion