Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learning

John Nguyen, Jianyu Wang, Kshitiz Malik, Maziar Sanjabi, Michael Rabbat
10/14/2022
cs.LGcs.AI
federated

Official code: facebookresearch/where_to_begin (26 stars, Python, last commit 2023-04-14).

Abstract

An oft-cited challenge of federated learning is the presence of heterogeneity. \emph{Data heterogeneity} refers to the fact that data from different clients may follow very different distributions. \emph{System heterogeneity} refers to the fact that client devices have different system capabilities. A considerable number of federated optimization methods address this challenge.

Show full abstract

In the literature, empirical evaluations usually start federated training from random initialization. However, in many practical applications of federated learning, the server has access to proxy data for the training task that can be used to pre-train a model before starting federated training. We empirically study the impact of starting from a pre-trained model in federated learning using four standard federated learning benchmark datasets. Unsurprisingly, starting from a pre-trained model reduces the training time required to reach a target error rate and enables the training of more accurate models (up to 40\%) than is possible when starting from random initialization. Surprisingly, we also find that starting federated learning from a pre-trained initialization reduces the effect of both data and system heterogeneity. We recommend that future work proposing and evaluating federated optimization methods evaluate the performance when starting from random and pre-trained initializations. We also believe this study raises several questions for further work on understanding the role of heterogeneity in federated optimization.

View on arXivView PDF

Code Implementations(1)

Repo to reproduce results for Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learning

261Python, ShellMar 22, 20233 years agoNOASSERTION

Similar Papers

Cite this paper

@article{nguyen2022where,
  title  = {Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learning},
  author = {John Nguyen and Jianyu Wang and Kshitiz Malik and Maziar Sanjabi and Michael Rabbat},
  year   = {2022},
  eprint = {2210.08090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08090}
}

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

Discussion