Introduction
Federated Learning (FL) enables collaborative model training across decentralized devices while maintaining data privacy. However, two primary challenges persist: significant data heterogeneity (non-I.I.D. distributions) and severe resource constraints on edge devices. Standard aggregation methods like FedAvg often fail to converge when local data distributions vary drastically. Furthermore, edge devices frequently lack the computational capacity to train the large-scale models required for state-of-the-art performance.
While Dataset Distillation (DD) offers a potential solution by condensing large datasets into informative synthetic samples, previous client-side implementations imposed heavy computational burdens and introduced privacy risks. This paper introduces FedDGM, a novel framework that offloads the distillation process to the server by leveraging pre-trained generative models in latent space.
Methodology
FedDGM shifts the heavy lifting of dataset distillation from resource-constrained clients to the central server. The process is structured into three primary phases:
- Surrogate Training: Clients train compact, efficient surrogate models on their local datasets. Only the resulting model parameters are transmitted to the server, minimizing communication overhead and preserving privacy.
- Latent Space Trajectory Matching: The server utilizes the received surrogate models to perform Matching Training Trajectories (MTT). Instead of synthesizing pixels directly, the server optimizes latent vectors within a pre-trained generative model (e.g., StyleGAN-XL). This approach identifies latent codes that produce images capable of inducing the same learning behavior observed in the client's local model.
- Global Model Refinement: The server aggregates these distilled synthetic representations to train a high-capacity global model.
By distilling into the intermediate latent spaces (specifically the "F5" layer of StyleGAN), FedDGM achieves superior generalization across diverse model architectures compared to traditional pixel-based methods.
Experimental Evaluation
The framework was evaluated using CIFAR-10 and various ImageNet subsets (ImageWoof, ImageMeow, etc.) at 128x128 resolution. These datasets tested the generative model's ability to handle both low-resolution benchmarks and high-resolution, domain-specific tasks.
Key Results
- Robustness to Heterogeneity: In extreme non-I.I.D. settings (Dirichlet $\alpha=0.01$), FedDGM achieved a 40% accuracy improvement over standard FL baselines on CIFAR-10.
- Superior Distillation: FedDGM outperformed existing federated distillation methods like FedDM by an average of 18%.
- Architecture Agnosticism: The framework successfully trained large Vision Transformers (ViT) on the server using knowledge distilled from tiny convolutional surrogate models on the clients.
- High-Resolution Performance: On the ImageWoof dataset, FedDGM reached 57.4% accuracy, significantly exceeding the 47.0% achieved by the best baseline.
Discussion and Limitations
FedDGM demonstrates that server-side distillation using generative priors can overcome the fundamental bottlenecks of traditional FL. The "F5" latent space was identified as a critical "sweet spot," balancing the realism of the generative prior with the expressiveness needed to represent client-specific data.
However, the framework's efficacy is tied to the availability of high-quality pre-trained generative models for the target domain. Additionally, while client-side computation is reduced, the server faces increased workloads due to the iterative trajectory matching process. Future work will explore adapting FedDGM for non-image modalities and domains where pre-trained priors are unavailable.
Summary updated