Ensemble Distillation for Robust Model Fusion in Federated Learning

Tao Lin, Lingjing Kong, Sebastian U. Stich, Martin Jaggi
6/12/2020
1,673 citations
cs.LGstat.ML
distillationfederated

Official code: epfml/federated-learning-public-code (161 stars, Python, last commit 2022-12-23).

Abstract

Federated Learning (FL) is a machine learning setting where many devices collaboratively train a machine learning model while keeping the training data decentralized. In most of the current training schemes the central model is refined by averaging the parameters of the server model and the updated parameters from the client side.

Show full abstract

However, directly averaging model parameters is only possible if all models have the same structure and size, which could be a restrictive constraint in many scenarios. In this work we investigate more powerful and more flexible aggregation schemes for FL. Specifically, we propose ensemble distillation for model fusion, i.e. training the central classifier through unlabeled data on the outputs of the models from the clients. This knowledge distillation technique mitigates privacy risk and cost to the same extent as the baseline FL algorithms, but allows flexible aggregation over heterogeneous client models that can differ e.g. in size, numerical precision or structure. We show in extensive empirical experiments on various CV/NLP datasets (CIFAR-10/100, ImageNet, AG News, SST2) and settings (heterogeneous models/data) that the server model can be trained much faster, requiring fewer communication rounds than any existing FL technique so far.

View on arXivView PDF

Code Implementations(1)

16146Python, DockerfileOct 14, 20203 years ago

Similar Papers

Cite this paper

@article{lin2020ensemble,
  title  = {Ensemble Distillation for Robust Model Fusion in Federated Learning},
  author = {Tao Lin and Lingjing Kong and Sebastian U. Stich and Martin Jaggi},
  year   = {2020},
  eprint = {2006.07242},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.07242}
}

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

Discussion