Distributionally Robust Federated Averaging

Yuyang Deng, Mohammad Mahdi Kamani, Mehrdad Mahdavi
2/25/2021
cs.LGcs.DCstat.ML
federated

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

Abstract

In this paper, we study communication efficient distributed algorithms for distributionally robust federated learning via periodic averaging with adaptive sampling. In contrast to standard empirical risk minimization, due to the minimax structure of the underlying optimization problem, a key difficulty arises from the fact that the global parameter that controls the mixture of local losses can only be updated infrequently on the global stage.

Show full abstract

To compensate for this, we propose a Distributionally Robust Federated Averaging (DRFA) algorithm that employs a novel snapshotting scheme to approximate the accumulation of history gradients of the mixing parameter. We analyze the convergence rate of DRFA in both convex-linear and nonconvex-linear settings. We also generalize the proposed idea to objectives with regularization on the mixture parameter and propose a proximal variant, dubbed as DRFA-Prox, with provable convergence rates. We also analyze an alternative optimization method for regularized cases in strongly-convex-strongly-concave and non-convex (under PL condition)-strongly-concave settings. To the best of our knowledge, this paper is the first to solve distributionally robust federated learning with reduced communication, and to analyze the efficiency of local descent methods on distributed minimax problems. We give corroborating experimental evidence for our theoretical results in federated learning settings.

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

Similar Papers

Cite this paper

@article{deng2021distributionally,
  title  = {Distributionally Robust Federated Averaging},
  author = {Yuyang Deng and Mohammad Mahdi Kamani and Mehrdad Mahdavi},
  year   = {2021},
  eprint = {2102.12660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.12660}
}

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

Discussion