FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracy

Yan Sun, Li Shen, Tiansheng Huang, Liang Ding, Dacheng Tao
2/1/2023

No official code found. Best implementation: woodenchild95/FL-Simulator (58 stars, last commit 2024-10-25).

Abstract

Federated learning is an emerging distributed machine learning framework which jointly trains a global model via a large number of local devices with data privacy protections. Its performance suffers from the non-vanishing biases introduced by the local inconsistent optimal and the rugged client-drifts by the local over-fitting. In this paper, we propose a novel and practical method, FedSpeed, to alleviate the negative impacts posed by these problems. Concretely, FedSpeed applies the prox-correction term on the current local updates to efficiently reduce the biases introduced by the prox-term, a necessary regularizer to maintain the strong local consistency. Furthermore, FedSpeed merges the vanilla stochastic gradient with a perturbation computed from an extra gradient ascent step in the neighborhood, thereby alleviating the issue of local over-fitting. Our theoretical analysis indicates that the convergence rate is related to both the communication rounds $T$ and local intervals $K$ with a upper bound $\small \mathcal{O}(1/T)$ if setting a proper local interval. Moreover, we conduct extensive experiments on the real-world dataset to demonstrate the efficiency of our proposed FedSpeed, which performs significantly faster and achieves the state-of-the-art (SOTA) performance on the general FL experimental settings than several baselines. Our code is available at \url{https://github.com/woodenchild95/FL-Simulator.git}.

View on arXivView PDF

Code Implementations(1)

Pytorch implementations of some general federated optimization methods.

5810PythonJun 27, 20231 years ago

Cite this paper

@article{sun2023fedspeed,
  title  = {FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracy},
  author = {Yan Sun and Li Shen and Tiansheng Huang and Liang Ding and Dacheng Tao},
  year   = {2023},
  eprint = {2302.10429},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2302.10429},
  journal = {ICLR 2023 2023}
}

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

Discussion