Knowledge Diffusion for Distillation

Tao Huang, Yuan Zhang, Mingkai Zheng, Shan You, Fei Wang +2 more
2/12/2026

No official code found. Best implementation: hunto/DiffKD (96 stars, Apache-2.0, last commit 2024-01-24).

Abstract

The representation gap between teacher and student is an emerging topic in knowledge distillation (KD). To reduce the gap and improve the performance, current methods often resort to complicated training schemes, loss functions, and feature alignments, which are task-specific and feature-specific. In this paper, we state that the essence of these methods is to discard the noisy information and distill the valuable information in the feature, and propose a novel KD method dubbed DiffKD, to explicitly denoise and match features using diffusion models. Our approach is based on the observation that student features typically contain more noises than teacher features due to the smaller capacity of student model. To address this, we propose to denoise student features using a diffusion model trained by teacher features. This allows us to perform better distillation between the refined clean feature and teacher feature. Additionally, we introduce a light-weight diffusion model with a linear autoencoder to reduce the computation cost and an adaptive noise matching module to improve the denoising performance. Extensive experiments demonstrate that DiffKD is effective across various types of features and achieves state-of-the-art performance consistently on image classification, object detection, and semantic segmentation tasks. Code is available at https://github.com/hunto/DiffKD.

View on arXivView PDF

Code Implementations(1)

hunto/DiffKDCommunity65%
Apache-2.0

Official implementation for paper "Knowledge Diffusion for Distillation", NeurIPS 2023

968May 25, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{huang2026knowledge,
  title  = {Knowledge Diffusion for Distillation},
  author = {Tao Huang and Yuan Zhang and Mingkai Zheng and Shan You and Fei Wang and Chen Qian and Chang Xu},
  year   = {2026},
  eprint = {2305.15712},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.15712},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.15712.svg)](https://codeofpaper.com/paper/2305.15712)

Discussion