On the Surprising Efficacy of Distillation as an Alternative to Pre-Training Small Models
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose that small models may not need to absorb the cost of pre-training to reap its benefits. Instead, they can capitalize on the astonishing results achieved by modern, enormous models to a surprising degree. We observe that, when distilled on a task from a pre-trained teacher model, a small model can achieve or surpass the performance it would achieve if it was pre-trained then finetuned on that task. To allow this phenomenon to be easily leveraged, we establish a connection reducing knowledge distillation to modern contrastive learning, opening two doors: (1) vastly different model architecture pairings can work for the distillation, and (2) most contrastive learning algorithms rooted in the theory of Noise Contrastive Estimation can be easily applied and used. We demonstrate this paradigm using pre-trained teacher models from open-source model hubs, Transformer and convolution based model combinations, and a novel distillation algorithm that massages the Alignment/Uniformity perspective of contrastive learning by Wang & Isola (2020) into a distillation objective. We choose this flavor of contrastive learning due to its low computational cost, an overarching theme of this work. We also observe that this phenomenon tends not to occur if the task is data-limited. However, this can be alleviated by leveraging yet another scale-inspired development: large, pre-trained generative models for dataset augmentation. Again, we use an open-source model, and our rudimentary prompts are sufficient to boost the small model`s performance. Thus, we highlight a training method for small models that is up to 94% faster than the standard pre-training paradigm without sacrificing performance. For practitioners discouraged from fully utilizing modern foundation datasets for their small models due to the prohibitive scale, we believe our work keeps that door open.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 58 of its 78 references that are in the map. First posted on arXiv 4 Apr 2024.
Builds on
58 of 78 references.
References · 58
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
38 more
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2016Learning without Forgettingcited by 2,465
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2013Describing Textures in the Wildcited by 2,110
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2023Consistency Modelscited by 1,778
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,059
- 2019Relational Knowledge Distillationcited by 873
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2019Contrastive Representation Distillationcited by 734
- 2019Similarity-Preserving Knowledge Distillationcited by 507
- 2022Decoupled Knowledge Distillationcited by 380
- 2019A Comprehensive Overhaul of Feature Distillationcited by 341
- 2023Synthetic Data from Diffusion Models Improves ImageNet Classificationcited by 326
- 2019Variational Information Distillation for Knowledge Transfercited by 321
- 2022Is synthetic data from generative models ready for image recognition?cited by 320
- 2021Distilling Knowledge via Knowledge Reviewcited by 285
- 2019Correlation Congruence for Knowledge Distillationcited by 280
- 2018Paraphrasing Complex Network: Network Compression via Factor Transfercited by 255
- 2018Knowledge Transfer via Distillation of Activation Boundaries Formed by Hidden Neuronscited by 235
- 2018Learning Deep Representations with Probabilistic Knowledge Transfercited by 209
- 2020Cross-Layer Distillation with Semantic Calibrationcited by 141
- 2022Knowledge Distillation with the Reused Teacher Classifiercited by 140
- 2021SEED: Self-supervised Distillation For Visual Representationcited by 132
50 most cited of 58 All 58 (JSON)
Built on by
Not cited yet.