[Paper Review] Towards Understanding and Mitigating Dimensional Collapse in Heterogeneous Federated Learning
This paper identifies and addresses dimensional collapse in heterogeneous federated learning, where data heterogeneity causes representations to degrade into lower-dimensional manifolds. The authors propose FedDecorr, a lightweight, plug-and-play regularization method that minimizes correlation between representation dimensions during local training, significantly improving model performance across CIFAR10, CIFAR100, and TinyImageNet under strong data heterogeneity.
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. 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.
Motivation & Objective
- To investigate how data heterogeneity affects representation learning in federated learning.
- To identify dimensional collapse as a key failure mode in global and local models under data heterogeneity.
- To theoretically analyze the gradient flow dynamics linking data heterogeneity to low-rank weight matrices and representation collapse.
- To propose a practical, computation-efficient method to mitigate dimensional collapse in federated learning.
Proposed method
- Propose FedDecorr, a regularization term that minimizes the Frobenius norm of the correlation matrix of representations during local training.
- Apply z-score normalization to representations before computing the correlation matrix to stabilize training.
- Integrate FedDecorr as a plug-in loss component that can be added to any existing federated learning baseline with minimal modification.
- Use the squared Frobenius norm of the normalized correlation matrix as the regularization loss to encourage uncorrelated representations.
- Train local models with the combined loss of the main task and the FedDecorr regularization, then aggregate via standard FedAvg.
- Demonstrate that FedDecorr is computationally efficient and compatible with existing federated learning frameworks.
Experimental results
Research questions
- RQ1How does data heterogeneity affect the intrinsic dimensionality of representations in federated learning models?
- RQ2To what extent is dimensional collapse in the global model inherited from local models trained on heterogeneous data?
- RQ3What is the underlying gradient dynamics mechanism that causes low-rank weight matrices and representation collapse under data heterogeneity?
- RQ4Can a simple, lightweight regularization term effectively mitigate dimensional collapse in federated learning without increasing computational or communication costs?
Key findings
- Stronger data heterogeneity leads to more severe dimensional collapse, as evidenced by a greater number of singular values of the representation covariance matrix approaching zero.
- Dimensional collapse is observed not only in global models but also in locally trained models, indicating it is a systemic issue rooted in local data distributions.
- Theoretical analysis shows that data heterogeneity biases local model weights toward low-rank structures, which directly causes representation collapse.
- FedDecorr effectively reduces representation correlation and mitigates dimensional collapse, resulting in consistent performance gains across multiple benchmark datasets.
- The method yields more dramatic improvements under challenging settings such as high data heterogeneity or a large number of clients.
- FedDecorr incurs negligible computational overhead and can be seamlessly integrated into any federated learning pipeline as a plug-and-play component.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.