Lune

NeurIPS2024Top-tier venue

ScaleKD: Strong Vision Transformers Could Be Excellent Teachers

Jiawei Fan, Chao Li, Xiaolong Liu, Anbang Yao

Abstract

In this paper, we question if well pre-trained vision transformer (ViT) models could be used as teachers that exhibit scalable properties to advance cross architecture knowledge distillation (KD) research, in the context of using large-scale datasets for evaluation. To make this possible, our analysis underlines the importance of seeking effective strategies to align (1) feature computing paradigm differences, (2) model scale differences, and (3) knowledge density differences. By combining three coupled components namely cross attention projector, dual-view feature mimicking and teacher parameter perception tailored to address the above problems, we present a simple and effective KD method, called ScaleKD. Our method can train student backbones that span across a variety of convolutional neural network (CNN), multi-layer perceptron (MLP), and ViT architectures on image classification datasets, achieving state-of-the-art distillation performance. For instance, taking a well pre-trained Swin-L as the teacher model, our method gets 75.15%|82.03%|84.16%|78.63%|81.96%|83.93%|83.80%|85.53% top-1 accuracies for MobileNet-V1|ResNet-50|ConvNeXt-T|Mixer-S/16|Mixer-B/16|ViT-S/16|Swin-T|ViT-B/16 models trained on ImageNet-1K dataset from scratch, showing 3.05%|3.39%|2.02%|4.61%|5.52%|4.03%|2.62%|3.73% absolute gains to the individually trained counterparts. Intriguingly, when scaling up the size of teacher models or their pre-training datasets, our method showcases the desired scalable properties, bringing increasingly larger gains to student models. The student backbones trained by our method transfer well on downstream MS-COCO and ADE20K datasets. More importantly, our method could be used as a more efficient alternative to the time-intensive pre-training paradigm for any target student model if a strong pre-trained ViT is available, reducing the amount of viewed training samples up to 195x.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation cites Segment Anything
  • Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
  • From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformers cites Cross-Architecture Distillation Made Simple with Redundancy Suppression
  • From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformers cites Distillation Dynamics: Towards Understanding Feature-Based Distillation in Vision Transformers
  • From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformers cites Learning Transferable Visual Models From Natural Language Supervision
  • Segment Anything cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Segment Anything cites Learning Transferable Visual Models From Natural Language Supervision
  • Cross-Architecture Distillation Made Simple with Redundancy Suppression cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cross-Architecture Distillation Made Simple with Redundancy Suppression cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
  • Distillation Dynamics: Towards Understanding Feature-Based Distillation in Vision Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Cross-Architecture Distillation Made Simple with Redundancy SuppressionWeijia Zhang, Yuehao Liu, Wu Ran, Chao MaICCV 2025 · 6 citations
  2. Generalizable Knowledge Distillation from Vision Foundation Models for Semantic SegmentationChonghua Lv, Dong Zhao, Shuang Wang, Dou Quan et al.CVPR 2026 · 1 citation
  3. From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision TransformersHuiyuan Tian, Bonan Xu, Shijian LiICML 2026 · 1 citation
  4. Distillation Dynamics: Towards Understanding Feature-Based Distillation in Vision TransformersHuiyuan Tian, Bonan Xu, Shijian LiAAAI 2026

Builds on43

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  4. Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
  5. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations

Related papers

  1. Are Large Kernels Better Teachers than Transformers for ConvNets?Tianjin Huang, Lu Yin, Zhenyu Zhang, Li Shen et al.ICML 2023 · 18 citations
  2. Revisit the Power of Vanilla Knowledge Distillation: from Small Scale to Large ScaleZhiwei Hao, Jianyuan Guo, Kai Han, Han Hu et al.NeurIPS 2023 · 17 citations
  3. Perspective-Aware Teaching: Adapting Knowledge for Heterogeneous DistillationJhe-Hao Lin, Yi Yao, Chan-Feng Hsu, Hong-Xia Xie et al.ICCV 2025 · 3 citations
  4. Asymmetric Masked Distillation for Pre-Training Small Foundation ModelsZhiyu Zhao, Bingkun Huang, Sen Xing, Gangshan Wu et al.CVPR 2024 · 6 citations
  5. Revisiting Cross-Architecture Distillation: Adaptive Dual-Teacher Transfer for Lightweight Video ModelsYing Peng, Hongsen Ye, Changxin Huang, Xiping Hu et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines