Federated Distillation: A Survey

Lin Li, Jianping Gou, Baosheng Yu, Lan Du, Zhang Yi, Dacheng TaoarXiv 2024 · DOI

Abstract

Standard Federated Learning (FL) is often constrained by massive communication overhead and the strict requirement for uniform model architectures across all participants. Federated Distillation (FD) emerges as a powerful alternative by exchanging compact "knowledge" representations (such as logits or soft labels) instead of bulky model parameters. This approach enables collaborative training across diverse hardware with significantly lower costs and improved privacy. This survey provides a comprehensive overview of FD frameworks, applications, and future research directions.

Introduction: The Real-World Bottlenecks of Federated Learning

While Federated Learning has advanced privacy-preserving AI by keeping data on-device, it faces three critical real-world bottlenecks that limit its scalability and flexibility:

  1. Communication Costs: Transferring millions of model parameters between clients and a central server is resource-intensive, particularly for large-scale deep learning models.
  2. Model Heterogeneity: Traditional FL algorithms like FedAvg typically require a "one-size-fits-all" architecture. However, in heterogeneous ecosystems, a powerful server and a low-power IoT sensor cannot realistically run the same model.
  3. Data Heterogeneity (Non-IID): Divergent data distributions across clients lead to "client drift," where local models diverge significantly, degrading the performance of the aggregated global model.
Visualizing the core challenges addressed by Federated Distillation: (a) Data Heterogeneity, (b) Privacy and Security, and (c) Model/Device Heterogeneity.

Federated Distillation (FD) addresses these issues by integrating Knowledge Distillation (KD) into the federated pipeline, effectively decoupling the learning process from specific model architectures.

Survey Methodology and FD Frameworks

The core innovation of FD is the shift from sharing model weights ($\theta$) to sharing logits (soft labels). Instead of synchronizing entire neural networks, clients generate predictions on a shared "proxy" dataset and transmit these compact outputs to the server.

A taxonomy of the Federated Distillation survey, outlining formulation, background, schemes, and applications.

Key FD Frameworks

  • FD with Public Data: Clients and the server utilize a common, unlabeled public dataset. Clients "teach" the server by providing predictions on this data; the server then aggregates these to "teach" the clients back.
  • Data-Free FD: In the absence of public data, the server employs Generative Adversarial Networks (GANs) to synthesize "pseudo-data" that captures the global distribution for distillation purposes.
  • Weighted Aggregation: To mitigate the impact of low-quality local models, the server assigns weights based on client performance, data similarity, or entropy.
  • Bidirectional Distillation: A two-way communication scheme where the server and clients act as both teachers and students simultaneously to accelerate convergence.

Benchmarks and Datasets

The survey catalogs a wide array of benchmarks used in FD research across various domains:

  • Computer Vision: MNIST, Fashion-MNIST, CIFAR-10/100, EMNIST, and Tiny-ImageNet.
  • Medical Imaging: Knee MRI, COVID-19 lung images (HAM10000), and abdominal CT scans.
  • Natural Language Processing: Reuters, IMDB, and diverse news classification tasks.
  • Industrial/IoT: Wind turbine icing datasets, modulation signals, and intrusion detection logs.
  • Proxy Datasets: Often include unlabeled versions of ImageNet or generic datasets like SVHN to serve as the distillation bridge.

Key Insights: Why FD is the "Killer App" for Heterogeneous FL

  • Architecture Agnosticism: Because communication happens via output probabilities (logits), a client using a lightweight MobileNet can collaborate seamlessly with a server running a massive Transformer.
  • The Logit Advantage: Logits are significantly smaller than model parameters. For a 10-class classification task, a client only sends 10 values per sample, regardless of the internal model's parameter count.
  • Enhanced Privacy: Sharing logits provides a higher level of abstraction than sharing gradients, making it harder for attackers to perform "reconstruction attacks" on private training data.
  • Mitigating Catastrophic Forgetting: FD can act as a "knowledge lock," distilling knowledge from previous rounds into the current model to prevent the global model from forgetting old tasks as it learns from new clients.

The literature highlights several key performance trends:

  • Communication Efficiency: FD methods frequently reduce communication overhead by 10x to 100x compared to standard FedAvg, especially as model complexity increases.
  • Robustness in Heterogeneity: FD maintains high accuracy in scenarios where devices have wildly different compute capabilities, whereas standard FL often fails to converge.
  • Rapid Convergence: "One-shot" FD approaches can achieve competitive results in a single round, significantly reducing training time compared to iterative FL.

Limitations and Future Directions

Despite its advantages, several challenges remain:

  • The Proxy Data Gap: FD often relies on a public dataset similar to the private data. Distributional mismatches can lead to noisy and ineffective distillation.
  • Computational Cost of Generators: While "Data-Free" FD removes the need for public data, training GANs on the server is computationally expensive and often unstable.
  • Security Vulnerabilities: FD is not immune to all threats; "membership inference attacks" may still reveal if specific data points were used in local training.
  • Expansion Beyond Classification: Most current research focuses on classification. Extending FD to complex tasks like object detection, semantic segmentation, and Large Language Model (LLM) fine-tuning is a major open frontier.

Summary updated

BibTeX
@misc{li2024federated,
  author = {Lin Li and Jianping Gou and Baosheng Yu and Lan Du and Zhang Yi and Dacheng Tao},
  title = {{Federated Distillation: A Survey}},
  year = {2024},
  eprint = {2404.08564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.08564},
}
Figure