Understanding the Effect of Data Augmentation on Knowledge Distillation
Not on the map. Why?
Abstract (arXiv)
Knowledge distillation (KD) requires sufficient data to transfer knowledge from large-scale teacher models to small-scale student models. Therefore, data augmentation has been widely used to mitigate the shortage of data under specific scenarios. Classic data augmentation techniques, such as synonym replacement and k-nearest-neighbors, are initially designed for fine-tuning. To avoid severe semantic shifts and preserve task-specific labels, those methods prefer to change only a small proportion of tokens (e.g., changing 10% tokens is generally the best option for fine-tuning). However, such data augmentation methods are sub-optimal for knowledge distillation since the teacher model could provide label distributions and is more tolerant to semantic shifts. We first observe that KD prefers as much data as possible, which is different from fine-tuning that too much data will not gain more performance. Since changing more tokens leads to more semantic shifts, we use the proportion of changed tokens to reflect semantic shift degrees. Then we find that KD prefers augmented data with a larger semantic shift degree (e.g., changing 30% tokens is generally the best option for KD) than fine-tuning (changing 10% tokens). Besides, our findings show that smaller datasets prefer larger degrees until the out-of-distribution problem occurs (e.g., datasets with less than 10k inputs may prefer the 50% degree, and datasets with more than 100k inputs may prefer the 10% degree). Our work sheds light on the preference difference in data augmentation between fine-tuning and knowledge distillation and encourages the community to explore KD-specific data augmentation methods.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 21 of its 36 references that are in the map. First posted on arXiv 21 May 2023.
Builds on
21 of 36 references.
References · 21
- 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
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
9 more
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2021GPT3Mix: Leveraging Large-scale Language Models for Text Augmentationcited by 185
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
- 2020MixKD: Towards Efficient Distillation of Large-scale Language Modelscited by 65
- 2020What Makes a "Good" Data Augmentation in Knowledge Distillation -- A Statistical Perspectivecited by 35
- 2021FlipDA: Effective and Robust Data Augmentation for Few-Shot Learningcited by 32
- 2022TreeMix: Compositional Constituency-based Data Augmentation for Natural Language Understandingcited by 15
- 2021Learning to Augment for Data-Scarce Domain BERT Knowledge Distillationcited by 2
- 2022Augmentation with Projection: Towards an Effective and Efficient Data Augmentation Paradigm for Distillationcited by 2
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 1.
2 papers.