[Paper Review] Mitigating Data Heterogeneity in Federated Learning with Data Augmentation
This paper proposes using data augmentation in Federated Learning (FL) to mitigate data heterogeneity (non-IID data) by treating each client as a domain, inspired by Domain Generalization (DG). By applying task-relevant augmentations, the method improves both in-domain and out-of-domain generalization, enabling even basic FedAvg to achieve state-of-the-art performance with minimal communication—down to just two rounds—while maintaining privacy.
Federated Learning (FL) is a prominent framework that enables training a centralized model while securing user privacy by fusing local, decentralized models. In this setting, one major obstacle is data heterogeneity, i.e., each client having non-identically and independently distributed (non-IID) data. This is analogous to the context of Domain Generalization (DG), where each client can be treated as a different domain. However, while many approaches in DG tackle data heterogeneity from the algorithmic perspective, recent evidence suggests that data augmentation can induce equal or greater performance. Motivated by this connection, we present federated versions of popular DG algorithms, and show that by applying appropriate data augmentation, we can mitigate data heterogeneity in the federated setting, and obtain higher accuracy on unseen clients. Equipped with data augmentation, we can achieve state-of-the-art performance using even the most basic Federated Averaging algorithm, with much sparser communication.
Motivation & Objective
- To address the challenge of data heterogeneity in federated learning, where clients have non-IID data distributions.
- To explore whether data augmentation—successful in Domain Generalization—can mitigate non-IID issues in FL.
- To demonstrate that data augmentation enables better out-of-domain generalization and convergence with sparse communication.
- To show that even simple FedAvg can outperform complex state-of-the-art FL methods when combined with proper data augmentation.
Proposed method
- Adapt established Domain Generalization (DG) algorithms into federated settings by treating each client as a distinct domain.
- Apply task-specific data augmentations (e.g., geometric, color, or adversarial transformations) to each client’s local data to reduce distributional shift.
- Use data augmentation as a form of invariance learning, encouraging the model to focus on semantic content rather than spurious style features.
- Maintain privacy by performing augmentation locally on each client’s data without sharing raw data.
- Train a global model via Federated Averaging (FedAvg), where augmented local data improve convergence and generalization.
- Formalize the approach using a causal perspective, where data augmentation acts as an intervention on environmental factors (e.g., lighting, viewpoint), promoting robustness.
Experimental results
Research questions
- RQ1Can data augmentation effectively reduce data heterogeneity in federated learning by making client data distributions more similar?
- RQ2Does applying data augmentation in FL lead to improved out-of-domain generalization, even with minimal communication?
- RQ3Can a simple FedAvg algorithm outperform more complex aggregation schemes when combined with proper data augmentation?
- RQ4How does data augmentation compare to algorithmic approaches (e.g., domain adaptation, robust optimization) in mitigating non-IID issues in FL?
Key findings
- Data augmentation significantly improves out-of-domain generalization performance, reducing the gap between in-domain and out-of-domain accuracy.
- With proper augmentation, FedAvg achieves state-of-the-art performance on non-IID FL benchmarks, outperforming more complex algorithms.
- The method enables high model accuracy with as few as two communication rounds, demonstrating superior communication efficiency.
- The causal interpretation of data augmentation as an intervention on environmental factors explains its effectiveness in promoting invariance and robustness.
- Empirical results show that data augmentation acts as a regularizer, mitigating spurious correlations and improving model generalization across diverse client data distributions.
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.