Distiller: A Systematic Study of Model Distillation Methods in Natural Language Processing
Not on the map. Why?
Abstract (arXiv)
We aim to identify how different components in the KD pipeline affect the resulting performance and how much the optimal KD pipeline varies across different datasets/tasks, such as the data augmentation policy, the loss function, and the intermediate representation for transferring the knowledge between teacher and student. To tease apart their effects, we propose Distiller, a meta KD framework that systematically combines a broad range of techniques across different stages of the KD pipeline, which enables us to quantify each component's contribution. Within Distiller, we unify commonly used objectives for distillation of intermediate representations under a universal mutual information (MI) objective and propose a class of MI-α objective functions with better bias/variance trade-off for estimating the MI between the teacher and the student. On a diverse set of NLP datasets, the best Distiller configurations are identified via large-scale hyperparameter optimization. Our experiments reveal the following: 1) the approach used to distill the intermediate representations is the most important factor in KD performance, 2) among different objectives for intermediate distillation, MI-α performs the best, and 3) data augmentation provides a large boost for small training datasets or small student networks. Moreover, we find that different datasets/tasks prefer different KD algorithms, and thus propose a simple AutoDistiller algorithm that can recommend a good KD pipeline for a new dataset.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 30 of its 41 references that are in the map. First posted on arXiv 23 Sep 2021.
Builds on
30 of 41 references.
References · 30
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
18 more
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2016Variational Inference: A Review for Statisticianscited by 1,466
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
- 2019On Variational Bounds of Mutual Informationcited by 550
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 368
- 2019On Mutual Information Maximization for Representation Learningcited by 315
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2021Comparing Kullback-Leibler Divergence and Mean Squared Error Loss in Knowledge Distillationcited by 131
- 2019Augmenting Data with Mixup for Sentence Classification: An Empirical Studycited by 125
- 2019A Mutual Information Maximization Perspective of Language Representation Learningcited by 85
- 2020MixKD: Towards Efficient Distillation of Large-scale Language Modelscited by 65
- 2020Compression of Deep Learning Models for Text: A Surveycited by 64
- 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
- 2020Fast, Accurate, and Simple Models for Tabular Data via Augmented Distillationcited by 27
- 2020BERT-EMD: Many-to-Many Layer Mapping for BERT Compression with Earth Mover's Distancecited by 27
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 4.
7 papers.
- 2024A Survey on Efficient Federated Learning Methods for Foundation Model Trainingcited by 29
- 2024Automated data processing and feature engineering for deep learning and big data applications: a surveycited by 14
- 2024Sentence-Level or Token-Level? A Comprehensive Study on Knowledge Distillationcited by 12
- 2022Which Student is Best? A Comprehensive Knowledge Distillation Exam for Task-Specific BERT Modelscited by 5
- 2022Bridging Fairness and Environmental Sustainability in Natural Language Processingcited by 5
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillationcited by 5
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddingscited by 0
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillation18 Dec 2024
- 2024Sentence-Level or Token-Level? A Comprehensive Study on Knowledge Distillation23 Apr 2024
- 2024Automated data processing and feature engineering for deep learning and big data applications: a survey18 Mar 2024
- 2024A Survey on Efficient Federated Learning Methods for Foundation Model Training9 Jan 2024
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddings13 Mar 2023
- 2022Bridging Fairness and Environmental Sustainability in Natural Language Processing8 Nov 2022
- 2022Which Student is Best? A Comprehensive Knowledge Distillation Exam for Task-Specific BERT Models3 Jan 2022