Knowledge Distillation via Flow Matching

Shitong Shao, Zhiqiang Shen, Linrui Gong, Huanran ChenOpenReview 2024 · Submission to ICLR 2024 · Rejected · OpenReview

Abstract

In this paper, we propose a novel knowledge transfer framework that introduces Rectified flow into knowledge distillation and leverages multi-step sampling strategies to achieve precision flow matching. We name this framework Knowledge Distillation via Flow Matching (FM-KD), which can be integrated with a metric-based distillation method with any form (\textit{e.g.} vanilla KD, DKD, PKD and DIST), a meta-encoder with any available architecture (\textit{e.g.} CNN, MLP and Swin-Transformer), and achieves significant accuracy improvement for the student. We theoretically demonstrate that the training objective of FM-KD is equivalent to minimizing the upper bound of the teacher feature map's or logit's negative log-likelihood. Besides, FM-KD can be viewed as a unique implicit ensemble method that leads to performance gains. By slightly modifying the FM-KD framework, FM-KD can also be transformed into an online distillation framework OFM-KD with desirable performance gains. Through extensive experiments on CIFAR-100, ImageNet-1k, and MS-COCO datasets, we empirically validate the scalability and state-of-the-art performance of our proposed methods among relevant comparison approaches.
BibTeX
@misc{shao2024knowledge,
  author = {Shitong Shao and Zhiqiang Shen and Linrui Gong and Huanran Chen},
  title = {{Knowledge Distillation via Flow Matching}},
  year = {2024},
  url = {https://openreview.net/forum?id=oZ8FmnLpCA},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure