[Paper Review] VanillaKD: Revisit the Power of Vanilla Knowledge Distillation from Small Scale to Large Scale
This paper revisits vanilla knowledge distillation (KD) and demonstrates that, contrary to prior assumptions, it achieves state-of-the-art performance on large-scale datasets like ImageNet-1K without architectural modifications. By leveraging stronger data augmentation and longer training schedules, vanilla KD outperforms complex KD variants, achieving 83.1% top-1 accuracy on ResNet-50, 84.3% on ViT-S, and 85.0% on ConvNeXtV2-T.
The tremendous success of large models trained on extensive datasets demonstrates that scale is a key ingredient in achieving superior results. Therefore, the reflection on the rationality of designing knowledge distillation (KD) approaches for limited-capacity architectures solely based on small-scale datasets is now deemed imperative. In this paper, we identify the \emph{small data pitfall} that presents in previous KD methods, which results in the underestimation of the power of vanilla KD framework on large-scale datasets such as ImageNet-1K. Specifically, we show that employing stronger data augmentation techniques and using larger datasets can directly decrease the gap between vanilla KD and other meticulously designed KD variants. This highlights the necessity of designing and evaluating KD approaches in the context of practical scenarios, casting off the limitations of small-scale datasets. Our investigation of the vanilla KD and its variants in more complex schemes, including stronger training strategies and different model capacities, demonstrates that vanilla KD is elegantly simple but astonishingly effective in large-scale scenarios. Without bells and whistles, we obtain state-of-the-art ResNet-50, ViT-S, and ConvNeXtV2-T models for ImageNet, which achieve 83.1\%, 84.3\%, and 85.0\% top-1 accuracy, respectively. PyTorch code and checkpoints can be found at https://github.com/Hao840/vanillaKD.
Motivation & Objective
- To challenge the prevailing assumption that complex KD methods are necessary for high performance by re-evaluating vanilla KD in large-scale settings.
- To identify the 'small data pitfall' in existing KD literature, where small-scale benchmarks (e.g., CIFAR-100) underestimate the power of vanilla KD.
- To investigate how training strategies and model capacity affect KD performance across scale, particularly on ImageNet-1K.
- To demonstrate that vanilla KD, without additional components, can achieve state-of-the-art results on modern backbone architectures when trained with strong data augmentation and longer schedules.
- To advocate for evaluating KD methods in practical, large-scale scenarios rather than relying on small-scale benchmarks.
Proposed method
- Re-evaluates vanilla KD on ImageNet-1K using strong data augmentation and extended training schedules to assess its performance relative to complex KD variants.
- Compares logits-based KD (e.g., Hinton's original KD) with hint-based methods (e.g., FitNet, CRD) across different model capacities and training recipes.
- Employs standard knowledge distillation loss: cross-entropy between student and soft labels from the teacher, using a temperature scaling factor.
- Trains student models (ResNet-50, ViT-S, ConvNeXtV2-T) using the same training recipe across all methods to ensure fair comparison.
- Uses a single, consistent training protocol across all experiments: extended training, strong augmentations (e.g., Mixup, CutMix), and standard optimization settings.
- Validates results across multiple model architectures and teacher-student capacity pairs to assess generalizability of findings.
Experimental results
Research questions
- RQ1Does the performance gap between vanilla KD and advanced KD methods persist when evaluated on large-scale datasets like ImageNet-1K?
- RQ2To what extent do stronger data augmentation and longer training schedules improve vanilla KD performance compared to complex KD variants?
- RQ3How does model capacity (e.g., Res34 vs. Res152 teaching Res50) influence the effectiveness of vanilla KD?
- RQ4Why do hint-based KD methods underperform compared to logits-based methods in large-scale settings?
- RQ5Can vanilla KD alone achieve state-of-the-art performance on modern vision backbones without architectural or training recipe modifications?
Key findings
- Vanilla KD achieves state-of-the-art performance on ImageNet-1K with 83.1% top-1 accuracy on ResNet-50, surpassing prior best results.
- On ViT-S, vanilla KD achieves 84.3% top-1 accuracy, setting a new SOTA without any additional components.
- For ConvNeXtV2-T, vanilla KD reaches 85.0% top-1 accuracy, outperforming previously reported results.
- The performance gap between vanilla KD and complex KD variants diminishes significantly on large-scale datasets, especially with strong data augmentation and longer training.
- Logits-based KD methods consistently outperform hint-based methods in generalizability on large-scale benchmarks.
- The impact of model capacity on distillation effectiveness is minimal when strong training strategies are applied, suggesting that vanilla KD is robust across architecture scales.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.