FedBABU: Towards Enhanced Representation for Federated Image Classification

Jaehoon Oh, Sangmook Kim, Se-Young Yun
6/4/2021
cs.LG

Official code: jhoon-oh/FedBABU (56 stars, MIT, PyTorch, last commit 2022-03-21).

Abstract

Federated learning has evolved to improve a single global model under data heterogeneity (as a curse) or to develop multiple personalized models using data heterogeneity (as a blessing). However, little research has considered both directions simultaneously. In this paper, we first investigate the relationship between them by analyzing Federated Averaging at the client level and determine that a better federated global model performance does not constantly improve personalization. To elucidate the cause of this personalization performance degradation problem, we decompose the entire network into the body (extractor), which is related to universality, and the head (classifier), which is related to personalization. We then point out that this problem stems from training the head. Based on this observation, we propose a novel federated learning algorithm, coined FedBABU, which only updates the body of the model during federated training (i.e., the head is randomly initialized and never updated), and the head is fine-tuned for personalization during the evaluation process. Extensive experiments show consistent performance improvements and an efficient personalization of FedBABU. The code is available at https://github.com/jhoon-oh/FedBABU.

View on arXivView PDF

Code Implementations(1)

jhoon-oh/FedBABUOfficial100%
PyTorchMIT

ICLR 2022, "FedBABU: Toward Enhanced Representation for Federated Image Classification"

5612Shell, PythonJan 15, 20214 years agoMIT
federated-learningmachine-learningpytorch

Similar Papers

Cite this paper

@article{oh2021fedbabu,
  title  = {FedBABU: Towards Enhanced Representation for Federated Image Classification},
  author = {Jaehoon Oh and Sangmook Kim and Se-Young Yun},
  year   = {2021},
  eprint = {2106.06042},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06042}
}

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

Discussion