Progressively Knowledge Distillation via Re-parameterizing Diffusion Reverse Process

Authors

  • Xufeng Yao The Chinese University of Hong Kong
  • Fanbin Lu The Chinese University of Hong Kong
  • Yuechen Zhang The Chinese University of Hong Kong
  • Xinyun Zhang The Chinese University of Hong Kong
  • Wenqian Zhao The Chinese University of Hong Kong
  • Bei Yu The Chinese University of Hong Kong

DOI:

https://doi.org/10.1609/aaai.v38i15.29579

Keywords:

ML: Transfer, Domain Adaptation, Multi-Task Learning

Abstract

Knowledge distillation aims at transferring knowledge from the teacher model to the student one by aligning their distributions. Feature-level distillation often uses L2 distance or its variants as the loss function, based on the assumption that outputs follow normal distributions. This poses a significant challenge when distribution gaps are substantial since this loss function ignores the variance term. To address the problem, we propose to decompose the transfer objective into small parts and optimize it progressively. This process is inspired by diffusion models from which the noise distribution is mapped to the target distribution step by step. However, directly employing diffusion models is impractical in the distillation scenario due to its heavy reverse process. To overcome this challenge, we adopt the structural re-parameterization technique to generate multiple student features to approximate the teacher features sequentially. The multiple student features are combined linearly in inference time without extra cost. We present extensive experiments performed on various transfer scenarios, such as CNN-to-CNN and Transformer-to-CNN, that validate the effectiveness of our approach.

Published

2024-03-24

How to Cite

Yao, X., Lu, F., Zhang, Y., Zhang, X., Zhao, W., & Yu, B. (2024). Progressively Knowledge Distillation via Re-parameterizing Diffusion Reverse Process. Proceedings of the AAAI Conference on Artificial Intelligence, 38(15), 16425–16432. https://doi.org/10.1609/aaai.v38i15.29579

Issue

Section

AAAI Technical Track on Machine Learning VI