mlsanityData to 13 Oct 2026

Marginal Utility Diminishes: Exploring the Minimum Knowledge for BERT Knowledge Distillation

arXiv 2106.05691 ↗First posted 10 Jun 2021cs.CLcited by 6

On the map: Knowledge distillation → Knowledge distillation for LLMs

Abstract (arXiv)

Recently, knowledge distillation (KD) has shown great success in BERT compression. Instead of only learning from the teacher's soft label as in conventional KD, researchers find that the rich information contained in the hidden layers of BERT is conducive to the student's performance. To better exploit the hidden knowledge, a common practice is to force the student to deeply mimic the teacher's hidden states of all the tokens in a layer-wise manner. In this paper, however, we observe that although distilling the teacher's hidden state knowledge (HSK) is helpful, the performance gain (marginal utility) diminishes quickly as more HSK is distilled. To understand this effect, we conduct a series of analysis. Specifically, we divide the HSK of BERT into three dimensions, namely depth, length and width. We first investigate a variety of strategies to extract crucial knowledge for each single dimension and then jointly compress the three dimensions. In this way, we show that 1) the student's performance can be improved by extracting and distilling the crucial HSK, and 2) using a tiny fraction of HSK can achieve the same performance as extensive HSK distillation. Based on the second finding, we further propose an efficient KD paradigm to compress BERT, which does not require loading the teacher during the training of student. For two kinds of student models and computing devices, the proposed KD paradigm gives rise to training speedup of 2.7x ~ 3.4x.

Key facts. Cited by 6 papers in the map (data through 13 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 25 of its 30 references that are in the map. First posted on arXiv 10 Jun 2021.

Builds on

25 of 30 references.

References · 25

  1. 2017Attention Is All You Needcited by 60,106
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,180
  5. 2016Layer Normalizationcited by 5,624
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,880
  7. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,315
  8. 2014FitNets: Hints for Thin Deep Netscited by 1,631
  9. 2020Knowledge Distillation: A Surveycited by 1,590
  10. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,473
  11. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,435
  12. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,157
13 more
  1. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 999
  2. 2019Attention is not not Explanationcited by 633
  3. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 504
  4. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 480
  5. 2019Is Attention Interpretable?cited by 388
  6. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 247
  7. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  8. 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 125
  9. 2019On Identifiability in Transformerscited by 116
  10. 2020ALP-KD: Attention-Based Layer Projection for Knowledge Distillationcited by 65
  11. 2020BERT-EMD: Many-to-Many Layer Mapping for BERT Compression with Earth Mover's Distancecited by 27
  12. 2020Why Skip If You Can Combine: A Simple Knowledge Distillation Technique for Intermediate Layerscited by 24
  13. 2021ROSITA: Refined BERT cOmpreSsion with InTegrAted techniquescited by 14

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 3.

6 papers.