Skip to main content
QUICK REVIEW

[Paper Review] Meta Knowledge Distillation

Jihao Liu, Boxiao Liu|arXiv (Cornell University)|Feb 16, 2022
Advanced Neural Network ApplicationsComputer Science20 citations
TL;DR

Meta Knowledge Distillation (MKD) meta-learns the distillation temperatures for teacher and student to mitigate knowledge distillation degradation, improving ViT performance on ImageNet-1K without extra data,

ABSTRACT

Recent studies pointed out that knowledge distillation (KD) suffers from two degradation problems, the teacher-student gap and the incompatibility with strong data augmentations, making it not applicable to training state-of-the-art models, which are trained with advanced augmentations. However, we observe that a key factor, i.e., the temperatures in the softmax functions for generating probabilities of both the teacher and student models, was mostly overlooked in previous methods. With properly tuned temperatures, such degradation problems of KD can be much mitigated. However, instead of relying on a naive grid search, which shows poor transferability, we propose Meta Knowledge Distillation (MKD) to meta-learn the distillation with learnable meta temperature parameters. The meta parameters are adaptively adjusted during training according to the gradients of the learning objective. We validate that MKD is robust to different dataset scales, different teacher/student architectures, and different types of data augmentation. With MKD, we achieve the best performance with popular ViT architectures among compared methods that use only ImageNet-1K as training data, ranging from tiny to large models. With ViT-L, we achieve 86.5% with 600 epochs of training, 0.6% better than MAE that trains for 1,650 epochs.

Motivation & Objective

  • Identify why standard KD degrades when using strong data augmentations and larger teachers.
  • Propose a meta-learning framework to adaptively set distillation temperatures for teacher and student.
  • Show robustness of MKD across dataset scales, architectures, and augmentations.
  • Demonstrate MKD’s effectiveness on Vision Transformers (ViT) compared with prior methods using ImageNet-1K.

Proposed method

  • Formulate KD with separate temperatures for teacher and student (tau_t, tau_s).
  • Introduce meta-parameters to optimize these temperatures online via a meta objective on a validation set.
  • Perform a one-step pre-update of the student and then update meta-parameters by backpropagating validation loss.
  • Update the student with the freshly learned temperatures.
  • Optionally model temperatures with a small network (temperature prediction network) for faster adaptation.
  • Provide alternative meta-objectives that focus on misclassified samples.

Experimental results

Research questions

  • RQ1Can adaptive temperatures for teacher and student mitigate teacher-student gap and augmentation incompatibility in KD?
  • RQ2Does MKD improve ViT and other architectures using ImageNet-1K with standard data?
  • RQ3Are separate temperatures for teacher and student better than shared or grid-searched values?
  • RQ4How robust is MKD to dataset size, teacher/student architectures, and augmentation types?

Key findings

  • Properly tuned temperatures can substantially mitigate KD degradation caused by strong augmentations and capacity gaps.
  • MKD outperforms grid-searched temperatures and standard KD across CIFAR-100 and ImageNet-1K benchmarks.
  • On ViT architectures trained from scratch with ImageNet-1K, MKD achieves 86.5% top-1 on ViT-L (vs 85.15% reported previously).
  • MKD yields 2.0–4.2 percentage point gains over prior ViT distillation methods for various student sizes.
  • Using a temperature prediction network improves adaptation speed and final performance.
  • Jointly learning separate tau_s and tau_t provides the best results among tested meta-learning setups.

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.