Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Distillation for Federated Learning: a Practical Guide

Alessio Mora, Irene Tenison|arXiv (Cornell University)|Nov 9, 2022
Privacy-Preserving Technologies in DataComputer Science18 citations
TL;DR

This paper presents a comprehensive review of knowledge distillation (KD)-based methods for federated learning (FL), proposing techniques that address key FL limitations such as model heterogeneity, high communication costs, and data non-IIDness. By replacing parameter averaging with distillation-based knowledge transfer—using soft labels, intermediate representations, or data-free generators—these methods enable model-agnostic training, reduce communication overhead, and mitigate client drift, though at the cost of increased computational load or reliance on proxy data.

ABSTRACT

Federated Learning (FL) enables the training of Deep Learning models without centrally collecting possibly sensitive raw data. The most used algorithms for FL are parameter-averaging based schemes (e.g., Federated Averaging) that, however, have well known limits, i.e., model homogeneity, high communication cost, poor performance in presence of heterogeneous data distributions. Federated adaptations of regular Knowledge Distillation (KD) can solve or mitigate the weaknesses of parameter-averaging FL algorithms while possibly introducing other trade-offs. In this article, we originally present a focused review of the state-of-the-art KD-based algorithms specifically tailored for FL, by providing both a novel classification of the existing approaches and a detailed technical description of their pros, cons, and tradeoffs.

Motivation & Objective

  • Address the limitations of parameter-averaging FL algorithms, such as model homogeneity, high communication costs, and poor performance under non-IID data distributions.
  • Investigate how knowledge distillation (KD) can enable model-agnostic federated learning by transferring knowledge via outputs or intermediate features instead of model parameters.
  • Examine KD-based strategies that improve global model performance in the presence of data heterogeneity by refining aggregation or regularizing local training.
  • Analyze trade-offs in communication efficiency, computational overhead, and privacy implications across different KD-based FL approaches.
  • Provide a practical guide for selecting appropriate KD-based FL techniques based on deployment constraints and system requirements.

Proposed method

  • Adapt co-distillation in FL by having clients train a student model using soft labels from a global teacher model, enabling model heterogeneity and reducing communication to only model outputs or activations.
  • Use temperature-scaled soft labels and KL divergence loss to transfer knowledge from a teacher to a student model: $\mathcal{L} = (1-\lambda)\mathcal{L}_{CE}(q^S, y) + \lambda\mathcal{L}_{KL}(q^S_\tau, q^T_\tau)$.
  • Implement server-side distillation phases where the global model is refined using knowledge from multiple clients’ outputs, improving aggregation robustness under non-IID data.
  • Introduce data-free generator models to simulate proxy data for distillation, enabling server-side model correction without requiring labeled data or client data sharing.
  • Apply regularization via global model outputs on local data (e.g., FedGKD) to constrain client model drift during local training, maintaining alignment with the global model.
  • Integrate split-learning paradigms with KD to enable communication-efficient, model-agnostic training, though at the cost of disclosing local ground-truth labels in some cases.

Experimental results

Research questions

  • RQ1How can knowledge distillation enable model heterogeneity in federated learning without requiring all clients to use the same architecture?
  • RQ2To what extent can KD-based methods reduce communication costs in FL compared to traditional parameter-averaging schemes like FedAvg?
  • RQ3Can KD-based aggregation strategies improve global model accuracy under non-IID data distributions, and what conditions are necessary for such improvements?
  • RQ4What are the trade-offs between communication efficiency, computational overhead, and privacy when using KD in FL?
  • RQ5How effective are data-free KD approaches in mitigating client model drift without relying on labeled proxy datasets?

Key findings

  • KD-based federated learning enables model heterogeneity by allowing clients to use different architectures, as knowledge is transferred via outputs rather than model parameters.
  • Model-agnostic KD approaches reduce communication costs by transmitting only soft labels or intermediate features, but introduce client-side computation overhead and may underperform FedAvg in accuracy.
  • Server-side distillation with proxy data can significantly improve global model performance under non-IID data, especially when multiple local epochs are used.
  • Data-free KD strategies such as those using global generators or output regularization can mitigate client drift without requiring labeled proxy data or data sharing.
  • Despite their communication efficiency, many KD-based methods perform worse than FedAvg in terms of global test accuracy, particularly when proxy data are not semantically aligned with client data.
  • Solutions that disclose local labels (e.g., in split-learning KD) risk privacy violations, highlighting a key trade-off in practical deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.