Adaptive Personalized Federated Learning

Yuyang Deng, Mohammad Mahdi Kamani, Mehrdad Mahdavi
3/30/2020
cs.LGcs.DCstat.ML

Official code: MLOPTPSU/FedTorch (193 stars, GPL-2.0, PyTorch, last commit 2025-04-11).

Abstract

Investigation of the degree of personalization in federated learning algorithms has shown that only maximizing the performance of the global model will confine the capacity of the local models to personalize. In this paper, we advocate an adaptive personalized federated learning (APFL) algorithm, where each client will train their local models while contributing to the global model. We derive the generalization bound of mixture of local and global models, and find the optimal mixing parameter. We also propose a communication-efficient optimization method to collaboratively learn the personalized models and analyze its convergence in both smooth strongly convex and nonconvex settings. The extensive experiments demonstrate the effectiveness of our personalization schema, as well as the correctness of established generalization theories.

View on arXivView PDF

Code Implementations(1)

MLOPTPSU/FedTorchOfficial100%
PyTorchGPL-2.0

FedTorch is a generic repository for benchmarking different federated and distributed learning algorithms using PyTorch Distributed API.

19335Python, DockerfileOct 22, 20201 years agoGPL-2.0
distributeddistributed-optimizationfederated-learningmpipytorch

Cite this paper

@article{deng2020adaptive,
  title  = {Adaptive Personalized Federated Learning},
  author = {Yuyang Deng and Mohammad Mahdi Kamani and Mehrdad Mahdavi},
  year   = {2020},
  eprint = {2003.13461},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.13461}
}

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

Discussion