Revisiting Ensembling in One-Shot Federated Learning

Youssef Allouah, Akash Dhasade, Rachid Guerraoui, Nirupam Gupta, Anne-Marie Kermarrec +3 more
11/11/2024
cs.LGcs.DC

No official code found. Best implementation: sacs-epfl/fens (3 stars, last commit 2024-10-25).

Abstract

Federated learning (FL) is an appealing approach to training machine learning models without sharing raw data. However, standard FL algorithms are iterative and thus induce a significant communication cost. One-shot federated learning (OFL) trades the iterative exchange of models between clients and the server with a single round of communication, thereby saving substantially on communication costs. Not surprisingly, OFL exhibits a performance gap in terms of accuracy with respect to FL, especially under high data heterogeneity. We introduce FENS, a novel federated ensembling scheme that approaches the accuracy of FL with the communication efficiency of OFL. Learning in FENS proceeds in two phases: first, clients train models locally and send them to the server, similar to OFL; second, clients collaboratively train a lightweight prediction aggregator model using FL. We showcase the effectiveness of FENS through exhaustive experiments spanning several datasets and heterogeneity levels. In the particular case of heterogeneously distributed CIFAR-10 dataset, FENS achieves up to a 26.9% higher accuracy over state-of-the-art (SOTA) OFL, being only 3.1% lower than FL. At the same time, FENS incurs at most 4.3x more communication than OFL, whereas FL is at least 10.9x more communication-intensive than FENS.

View on arXivView PDF

Code Implementations(1)

sacs-epfl/fensCommunity100%

Source code for our paper "Revisiting Ensembling in One-Shot Federated Learning", NeurIPS 2024

31Shell, PythonOct 25, 20241 years ago

Cite this paper

@article{allouah2024revisiting,
  title  = {Revisiting Ensembling in One-Shot Federated Learning},
  author = {Youssef Allouah and Akash Dhasade and Rachid Guerraoui and Nirupam Gupta and Anne-Marie Kermarrec and Rafael Pinot and Rafael Pires and Rishi Sharma},
  year   = {2024},
  eprint = {2411.07182},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.07182},
  url    = {http://arxiv.org/abs/2411.07182v1},
  journal = {NEURIPS 2024 2024}
}

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

Discussion