Skip to main content
QUICK REVIEW

[Paper Review] FedKD: Communication Efficient Federated Learning via Knowledge Distillation

Chuhan Wu, Fangzhao Wu|arXiv (Cornell University)|Aug 30, 2021
Privacy-Preserving Technologies in DataComputer Science33 references18 citations
TL;DR

FedKD proposes a communication-efficient federated learning framework using adaptive knowledge distillation and dynamic gradient compression via SVD. It trains a lightweight student model collaboratively across clients while maintaining a local teacher model per client, reducing communication costs by sharing only small student models and compressing gradients with dynamic precision, achieving competitive performance with significantly reduced bandwidth usage.

ABSTRACT

Federated learning is widely used to learn intelligent models from decentralized data. In federated learning, clients need to communicate their local model updates in each iteration of model learning. However, model updates are large in size if the model contains numerous parameters, and there usually needs many rounds of communication until model converges. Thus, the communication cost in federated learning can be quite heavy. In this paper, we propose a communication efficient federated learning method based on knowledge distillation. Instead of directly communicating the large models between clients and server, we propose an adaptive mutual distillation framework to reciprocally learn a student and a teacher model on each client, where only the student model is shared by different clients and updated collaboratively to reduce the communication cost. Both the teacher and student on each client are learned on its local data and the knowledge distilled from each other, where their distillation intensities are controlled by their prediction quality. To further reduce the communication cost, we propose a dynamic gradient approximation method based on singular value decomposition to approximate the exchanged gradients with dynamic precision. Extensive experiments on benchmark datasets in different tasks show that our approach can effectively reduce the communication cost and achieve competitive results.

Motivation & Objective

  • Reduce the high communication cost in federated learning caused by large model updates in large-scale models like BERT.
  • Minimize bandwidth usage while preserving model performance in decentralized learning settings with privacy-sensitive data.
  • Develop a communication-efficient framework that maintains model accuracy through adaptive knowledge distillation between student and teacher models on each client.
  • Introduce dynamic gradient approximation using singular value decomposition (SVD) to further compress model updates with variable precision.
  • Validate the approach across diverse benchmark datasets and tasks to ensure robustness and scalability.

Proposed method

  • Proposes an adaptive mutual distillation framework where each client trains a local teacher and a shared student model, with distillation intensity dynamically adjusted based on prediction correctness.
  • Uses knowledge distillation to transfer knowledge between the local teacher and student models, improving generalization and reducing overfitting risk.
  • Shares only the small student model across clients for collaborative training, avoiding transmission of large teacher model parameters.
  • Employs a dynamic gradient approximation method based on SVD to compress model updates with variable precision, reducing communication overhead.
  • Applies energy-based thresholding to retain only the most significant singular values in gradient matrices, balancing accuracy and compression.
  • Uses a two-stage thresholding strategy: $T_{start} = 0.95$ at the beginning and $T_{end} = 0.98$ at the end of training to adaptively adjust compression precision.

Experimental results

Research questions

  • RQ1Can adaptive mutual distillation between student and teacher models on each client reduce communication cost without sacrificing model performance in federated learning?
  • RQ2How does dynamic gradient compression via SVD affect communication efficiency and model accuracy in federated training?
  • RQ3What is the impact of varying the number of clients on model convergence and performance in the proposed FedKD framework?
  • RQ4How does the energy distribution of singular values in gradient matrices evolve during training, and what does it imply for compression efficiency?
  • RQ5Can the proposed method achieve competitive performance on benchmark datasets while significantly reducing communication volume compared to standard FedAvg?

Key findings

  • FedKD reduces communication cost substantially by sharing only small student models instead of large full models, achieving competitive performance with minimal bandwidth usage.
  • The adaptive mutual distillation mechanism, which adjusts distillation intensity based on prediction correctness, improves model accuracy and mitigates overfitting compared to standard distillation.
  • The dynamic gradient approximation using SVD achieves significant compression, with singular value energy concentrated in low-rank components, especially in feed-forward network parameters.
  • Performance remains stable or slightly improves as client count increases, due to richer knowledge aggregation from multiple teacher models across clients.
  • The model achieves optimal trade-off between communication cost and accuracy at $T_{start} = 0.95$ and $T_{end} = 0.98$, balancing compression and precision.
  • The number of required singular values increases during training, justifying the use of dynamic thresholding to maintain accuracy as training progresses.

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.