mlsanityData to 7 Oct 2026

Knowledge Distillation of Transformer-based Language Models Revisited

arXiv 2206.14366 ↗First posted 29 Jun 2022cs.CL cs.AIcited by 11

Not on the map. Why?

Abstract (arXiv)

In the past few years, transformer-based pre-trained language models have achieved astounding success in both industry and academia. However, the large model size and high run-time latency are serious impediments to applying them in practice, especially on mobile phones and Internet of Things (IoT) devices. To compress the model, considerable literature has grown up around the theme of knowledge distillation (KD) recently. Nevertheless, how KD works in transformer-based models is still unclear. We tease apart the components of KD and propose a unified KD framework. Through the framework, systematic and extensive experiments that spent over 23,000 GPU hours render a comprehensive analysis from the perspectives of knowledge types, matching strategies, width-depth trade-off, initialization, model size, etc. Our empirical results shed light on the distillation in the pre-train language model and with relative significant improvement over previous state-of-the-arts(SOTA). Finally, we provide a best-practice guideline for the KD in transformer-based models.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 46 of its 62 references that are in the map. First posted on arXiv 29 Jun 2022.

Builds on

46 of 62 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  8. 2020Scaling Laws for Neural Language Modelscited by 6,411
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  11. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  12. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
34 more
  1. 2017Decoupled Weight Decay Regularizationcited by 1,722
  2. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  3. 2014FitNets: Hints for Thin Deep Netscited by 1,619
  4. 2020Knowledge Distillation: A Surveycited by 1,578
  5. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  6. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  7. 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,059
  8. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  9. 2019When Does Label Smoothing Help?cited by 985
  10. 2018Neural Network Acceptability Judgmentscited by 952
  11. 2019Relational Knowledge Distillationcited by 873
  12. 2019Contrastive Representation Distillationcited by 734
  13. 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
  14. 2019Similarity-Preserving Knowledge Distillationcited by 507
  15. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  16. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  17. 2013Do Deep Nets Really Need to be Deep?cited by 466
  18. 2019Variational Information Distillation for Knowledge Transfercited by 321
  19. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  20. 2018Paraphrasing Complex Network: Network Compression via Factor Transfercited by 255
  21. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  22. 2020Revisiting Few-sample BERT Fine-tuningcited by 237
  23. 2015Convergent Learning: Do different neural networks learn the same representations?cited by 215
  24. 2018Dissecting Contextual Word Embeddings: Architecture and Representationcited by 146
  25. 2020Lite Transformer with Long-Short Range Attentioncited by 127
  26. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
  27. 2021M6: A Chinese Multimodal Pretrainercited by 91
  28. 2020ALP-KD: Attention-Based Layer Projection for Knowledge Distillationcited by 65
  29. 2018MEAL: Multi-Model Ensemble via Adversarial Learningcited by 52
  30. 2020MEAL V2: Boosting Vanilla ResNet-50 to 80%+ Top-1 Accuracy on ImageNet without Trickscited by 39
  31. 2020TextBrewer: An Open-Source Knowledge Distillation Toolkit for Natural Language Processingcited by 25
  32. 2022EdgeFormer: A Parameter-Efficient Transformer for On-Device Seq2seq Generationcited by 21
  33. 2020NPAS: A Compiler-aware Framework of Unified Network Pruning and Architecture Search for Beyond Real-Time Mobile Accelerationcited by 16
  34. 2019Adaptive Regularization of Labelscited by 15

Built on by

Cited by year

Citing papers per year: 2023: 5; 2024: 4; 2025: 2.

11 papers.