Rethinking the initialization of Momentum in Federated Learning with Heterogeneous Data

Chenguang Xiao, Shuo Wang
11/29/2024
cs.LG

No confident code implementation found for this paper.

Abstract

Data Heterogeneity is a major challenge of Federated Learning performance. Recently, momentum based optimization techniques have beed proved to be effective in mitigating the heterogeneity issue. Along with the model updates, the momentum updates are transmitted to the server side and aggregated. Therefore, the local training initialized with a global momentum is guided by the global history of the gradients. However, we spot a problem in the traditional cumulation of the momentum which is suboptimal in the Federated Learning systems. The momentum used to weight less on the historical gradients and more on the recent gradients. This however, will engage more biased local gradients in the end of the local training. In this work, we propose a new way to calculate the estimated momentum used in local initialization. The proposed method is named as Reversed Momentum Federated Learning (RMFL). The key idea is to assign exponentially decayed weights to the gradients with the time going forward, which is on the contrary to the traditional momentum cumulation. The effectiveness of RMFL is evaluated on three popular benchmark datasets with different heterogeneity levels.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiao2024rethinking,
  title  = {Rethinking the initialization of Momentum in Federated Learning with Heterogeneous Data},
  author = {Chenguang Xiao and Shuo Wang},
  year   = {2024},
  eprint = {2411.19798},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.19798v1}
}

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

Discussion