Locally Adaptive Federated Learning

Sohom Mukherjee, Nicolas Loizou, Sebastian U. Stich
7/12/2023
cs.LGmath.OCstat.ML

Official code: IssamLaradji/sps (140 stars, last commit 2024-06-20).

Abstract

Federated learning is a paradigm of distributed machine learning in which multiple clients coordinate with a central server to learn a model, without sharing their own training data. Standard federated optimization methods such as Federated Averaging (FedAvg) ensure balance among the clients by using the same stepsize for local updates on all clients. However, this means that all clients need to respect the global geometry of the function which could yield slow convergence. In this work, we propose locally adaptive federated learning algorithms, that leverage the local geometric information for each client function. We show that such locally adaptive methods with uncoordinated stepsizes across all clients can be particularly efficient in interpolated (overparameterized) settings, and analyze their convergence in the presence of heterogeneous data for convex and strongly convex settings. We validate our theoretical claims by performing illustrative experiments for both i.i.d. non-i.i.d. cases. Our proposed algorithms match the optimization performance of tuned FedAvg in the convex setting, outperform FedAvg as well as state-of-the-art adaptive federated algorithms like FedAMS for non-convex experiments, and come with superior generalization performance.

View on arXivView PDF

Code Implementations(1)

Official code for the Stochastic Polyak step-size optimizer

14021Python, Jupyter NotebookApr 14, 20202 years ago

Similar Papers

Cite this paper

@article{mukherjee2023locally,
  title  = {Locally Adaptive Federated Learning},
  author = {Sohom Mukherjee and Nicolas Loizou and Sebastian U. Stich},
  year   = {2023},
  eprint = {2307.06306},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.06306v2}
}

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

Discussion