Towards Understanding and Mitigating Dimensional Collapse in Heterogeneous Federated Learning

Yujun Shi, Jian Liang, Wenqing Zhang, Vincent Y. F. Tan, Song Bai
10/1/2022
91 citations
cs.LG
federated

Official code: bytedance/FedDecorr (71 stars, Python, MIT, last commit 2023-02-27). 1 more implementation below.

Abstract

Federated learning aims to train models collaboratively across different clients without the sharing of data for privacy considerations. However, one major challenge for this learning paradigm is the {\em data heterogeneity} problem, which refers to the discrepancies between the local data distributions among various clients.

Show full abstract

To tackle this problem, we first study how data heterogeneity affects the representations of the globally aggregated models. Interestingly, we find that heterogeneous data results in the global model suffering from severe {\em dimensional collapse}, in which representations tend to reside in a lower-dimensional space instead of the ambient space. Moreover, we observe a similar phenomenon on models locally trained on each client and deduce that the dimensional collapse on the global model is inherited from local models. In addition, we theoretically analyze the gradient flow dynamics to shed light on how data heterogeneity result in dimensional collapse for local models. To remedy this problem caused by the data heterogeneity, we propose {\sc FedDecorr}, a novel method that can effectively mitigate dimensional collapse in federated learning. Specifically, {\sc FedDecorr} applies a regularization term during local training that encourages different dimensions of representations to be uncorrelated. {\sc FedDecorr}, which is implementation-friendly and computationally-efficient, yields consistent improvements over baselines on standard benchmark datasets. Code: https://github.com/bytedance/FedDecorr.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
bytedance/FedDecorrOfficial71PythonMIT2023-02-27
Yujun-Shi/FedCLSCommunity40Python–2023-01-30
MIT

[ICLR2023] Official Implementation of Towards Understanding and Mitigating Dimensional Collapse in Heterogeneous Federated Learning (https://arxiv.org/abs/2210.00226)

716Python, ShellFeb 27, 20233 years agoMIT
research
Yujun-Shi/FedCLSCommunity100%

[ICLR2023] Towards Understanding and Mitigating Dimensional Collapse in Heterogeneous Federated Learning (https://arxiv.org/abs/2210.00226)

404Python, ShellJan 25, 20233 years ago
federated-learningfederated-learning-frameworkiclr2023representation-learning

Similar Papers

Cite this paper

@article{shi2022towards,
  title  = {Towards Understanding and Mitigating Dimensional Collapse in Heterogeneous Federated Learning},
  author = {Yujun Shi and Jian Liang and Wenqing Zhang and Vincent Y. F. Tan and Song Bai},
  year   = {2022},
  eprint = {2210.00226},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.00226}
}

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

Discussion