Unlocking the Potential of Federated Learning: The Symphony of Dataset Distillation via Deep Generative Latents

Yuqi Jia, Saeed Vahidian, Jingwei Sun, Jianyi Zhang, Vyacheslav Kungurtsev, Neil Zhenqiang Gong, Yiran Chen

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.

Conceptual comparison between FedAvg weight averaging and FedDGM's trajectory matching in latent space.

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:

  1. 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.
  2. 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.
  3. Global Model Refinement: The server aggregates these distilled synthetic representations to train a high-capacity global model.
System architecture of FedDGM illustrating the interaction between clients and the server.

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

BibTeX
@inproceedings{jia2024unlocking,
  author = {Yuqi Jia and Saeed Vahidian and Jingwei Sun and Jianyi Zhang and Vyacheslav Kungurtsev and Neil Zhenqiang Gong and Yiran Chen},
  title = {{Unlocking the Potential of Federated Learning: The Symphony of Dataset Distillation via Deep Generative Latents}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73229-4\_2},
}
Figure