Introduction
Federated Learning (FL) enables collaborative model training across decentralized devices while preserving data privacy. However, real-world deployments face significant challenges due to data heterogeneity (non-IID data distributions across devices) and model heterogeneity (varying hardware capabilities requiring different model architectures). Data heterogeneity leads to "client drift," where local models diverge from the global objective. Model heterogeneity prevents standard aggregation methods like FedAvg, which require uniform architectures.
Existing Data-Free Knowledge Distillation (DFKD) approaches attempt to mitigate these issues by generating synthetic data on a central server. However, these methods often suffer from instability, particularly when merging generators from diverse clients, leading to catastrophic forgetting.
The Mosaic Framework
Mosaic is a four-stage framework designed to provide stability and high performance in heterogeneous FL environments by combining local generative models with a Mixture-of-Experts (MoE) teacher.
- Lightweight Local Generators: Each client trains a small, label-agnostic generator. To support clients with limited data, an inversion loss aligns synthetic features with global model statistics.
- One-Shot Generator Ensemble: Instead of unstable parameter averaging, Mosaic uploads generators once and treats them as an ensemble to synthesize a diverse proxy dataset.
- Mixture-of-Experts (MoE) Teacher: The server organizes client models into per-class experts. A lightweight meta-model (MLP) is trained on "prototypes" (feature averages) to learn optimal weighting for expert predictions.
- Knowledge Distillation: The MoE "teacher" guides the training of a global "student" model using the synthetic data.
Experimental Setup
Mosaic was evaluated on seven image classification benchmarks: MNIST, FMNIST, SVHN, CIFAR-10, CIFAR-100, FOOD101, and Tiny-ImageNet. Data was partitioned using a Dirichlet distribution to simulate extreme heterogeneity.
Key Results and Insights
Mosaic consistently outperforms state-of-the-art DFKD baselines, including DENSE, FedFTG, and DFRD.
- Superior Accuracy: Mosaic achieved significant improvements on SVHN (13.95%), CIFAR-10 (12.89%), and FOOD101 (12.47%) over existing baselines.
- Robustness to Data Drift: Under extreme skew (where $\omega = 0.01$), Mosaic maintained high performance while baseline accuracies dropped significantly.
- Ensemble Stability: By avoiding generator parameter fusion and using an ensemble approach, Mosaic preserves unique client knowledge fragments without the interference caused by parameter averaging.
- MoE Specialization: The MoE approach effectively weights client contributions based on their local data expertise, recognizing that specialized clients should not be trusted equally for all classes.
Limitations and Future Work
While effective, Mosaic faces challenges on highly complex datasets like Tiny-ImageNet, where lightweight generators may lack sufficient capacity for diverse sample production across many classes. Additionally, training local generators adds computational overhead to edge devices. Future work includes integrating formal Differential Privacy (DP) guarantees to further secure the synthetic data generation process and mitigate theoretical risks of privacy leakage.
Summary updated