A Fast Knowledge Distillation Framework for Visual Recognition
By Zhiqiang Shen, Eric P. Xing. 2021
68 citations recorded by the source corpus.
While Knowledge Distillation (KD) has been recognized as a useful tool in many visual tasks, such as supervised classification and self-supervised representation learning, the main drawback of a vanilla KD framework is its mechanism, which consumes the majority of the computational overhead on forwarding through the giant teacher networks, making the entire learning procedure inefficient and costly. ReLabel, a recently proposed solution, suggests creating a label map for the entire image. During training, it receives the cropped region-level label by RoI aligning on a pre-generated entire label map, allowing for efficient supervision generation without having to pass through the teachers many times. However, as the KD teachers are from conventional multi-crop training, there are various mismatches between the global label-map and region-level label in this technique, resulting in performance deterioration. In this study, we present a Fast Knowledge Distillation (FKD) framework that replicates the distillation training phase and generates soft labels using the multi-crop KD approach, while training faster than ReLabel since no post-processes such as RoI align and softmax operations are used. When conducting multi-crop in the same image for data loading, our FKD is even more efficient than the traditional image classification framework. On ImageNet-1K, we obtain 79.8% with ResNet-50, outperforming ReLabel by ~1.0% while being faster. On the self-supervised learning task, we also show that FKD has an efficiency advantage. Our project page: http://zhiqiangshen.com/projects/FKD/index.html, source code and models are available at: https://github.com/szq0214/FKD.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Mohammad Rastegari
- Lu Yuan
- Sachin Mehta
- Oncel Tuzel
- Houwen Peng
- Bin Xiao
- Hadi Pouransari
- Ali Farhadi
In Computer Vision and Pattern Recognition
- Lu Yuan
- Luc Van Gool
- Dacheng Tao
- Mohammad Rastegari
- Ming-Hsuan Yang
- Xiaogang Wang
- Chunhua Shen
- Jianfeng Gao
In Efficiency & Compression
- Oncel Tuzel
- Hadi Pouransari
- Ali Farhadi
- Mohammad Rastegari
- Sachin Mehta
- Lu Yuan
- Mehrdad Farajtabar
- Bin Xiao
Citations in the corpus
- Reinforce Data, Multiply Impact: Improved Model Accuracy and Robustness with Dataset Reinforcement (2023, methodology): “FKD [55] further pushed this direction by caching the predictions of a strong teacher but with a limited augmentation.”
- TinyViT: Fast Pretraining Distillation for Small Vision Transformers (2022, background): “Moreover, the studied problem in [59] is different to ours.”