Tackling the Non-IID Issue in Heterogeneous Federated Learning by Gradient Harmonization

Xinyu Zhang, Weiyu Sun, Ying Chen
9/13/2023
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Federated learning (FL) is a privacy-preserving paradigm for collaboratively training a global model from decentralized clients. However, the performance of FL is hindered by non-independent and identically distributed (non-IID) data and device heterogeneity. In this work, we revisit this key challenge through the lens of gradient conflicts on the server side. Specifically, we first investigate the gradient conflict phenomenon among multiple clients and reveal that stronger heterogeneity leads to more severe gradient conflicts. To tackle this issue, we propose FedGH, a simple yet effective method that mitigates local drifts through Gradient Harmonization. This technique projects one gradient vector onto the orthogonal plane of the other within conflicting client pairs. Extensive experiments demonstrate that FedGH consistently enhances multiple state-of-the-art FL baselines across diverse benchmarks and non-IID scenarios. Notably, FedGH yields more significant improvements in scenarios with stronger heterogeneity. As a plug-and-play module, FedGH can be seamlessly integrated into any FL framework without requiring hyperparameter tuning.

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{zhang2023tackling,
  title  = {Tackling the Non-IID Issue in Heterogeneous Federated Learning by Gradient Harmonization},
  author = {Xinyu Zhang and Weiyu Sun and Ying Chen},
  year   = {2023},
  eprint = {2309.06692},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.06692v2}
}

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

Discussion