Knowledge Distillation Transfer Sets and their Impact on Downstream NLU Tasks
Not on the map. Why?
Abstract (arXiv)
Teacher-student knowledge distillation is a popular technique for compressing today's prevailing large language models into manageable sizes that fit low-latency downstream applications. Both the teacher and the choice of transfer set used for distillation are crucial ingredients in creating a high quality student. Yet, the generic corpora used to pretrain the teacher and the corpora associated with the downstream target domain are often significantly different, which raises a natural question: should the student be distilled over the generic corpora, so as to learn from high-quality teacher predictions, or over the downstream task corpora to align with finetuning? Our study investigates this trade-off using Domain Classification (DC) and Intent Classification/Named Entity Recognition (ICNER) as downstream tasks. We distill several multilingual students from a larger multilingual LM with varying proportions of generic and task-specific datasets, and report their performance after finetuning on DC and ICNER. We observe significant improvements across tasks and test sets when only task-specific corpora is used. We also report on how the impact of adding task-specific data to the transfer set correlates with the similarity between generic and task-specific data. Our results clearly indicate that, while distillation from a generic LM benefits downstream tasks, students learn better using target domain data even if it comes at the price of noisier teacher predictions. In other words, target domain data still trumps teacher knowledge.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 15 of its 20 references that are in the map. First posted on arXiv 10 Oct 2022.
Builds on
15 of 20 references.
References · 15
- 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
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
- 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 189
Built on by
Citing papers per year: 2023: 1; 2024: 3.
4 papers.
- 2024Inference Optimization of Foundation Models on AI Acceleratorscited by 9
- 2023Exploiting Correlations Between Contexts and Definitions with Multiple Definition Modelingcited by 1
- 2024Can MLLMs generate human-like feedback in grading multimodal short answers?cited by 1
- 2024GPTA: Generative Prompt Tuning Assistant for Synergistic Downstream Neural Network Enhancement with LLMscited by 0
- 2024Can MLLMs generate human-like feedback in grading multimodal short answers?27 Dec 2024
- 2024Inference Optimization of Foundation Models on AI Accelerators12 Jul 2024
- 2024GPTA: Generative Prompt Tuning Assistant for Synergistic Downstream Neural Network Enhancement with LLMs29 Mar 2024
- 2023Exploiting Correlations Between Contexts and Definitions with Multiple Definition Modeling24 May 2023