mlsanityData to 7 Oct 2026

Understanding and Improving Knowledge Distillation for Quantization-Aware Training of Large Transformer Encoders

arXiv 2211.11014 ↗First posted 20 Nov 2022cs.CL cs.AIcited by 11

Not on the map. Why?

Abstract (arXiv)

Knowledge distillation (KD) has been a ubiquitous method for model compression to strengthen the capability of a lightweight model with the transferred knowledge from the teacher. In particular, KD has been employed in quantization-aware training (QAT) of Transformer encoders like BERT to improve the accuracy of the student model with the reduced-precision weight parameters. However, little is understood about which of the various KD approaches best fits the QAT of Transformers. In this work, we provide an in-depth analysis of the mechanism of KD on attention recovery of quantized large Transformers. In particular, we reveal that the previously adopted MSE loss on the attention score is insufficient for recovering the self-attention information. Therefore, we propose two KD methods; attention-map and attention-output losses. Furthermore, we explore the unification of both losses to address task-dependent preference between attention-map and output losses. The experimental results on various Transformer encoder models demonstrate that the proposed KD methods achieve state-of-the-art accuracy for QAT with sub-2-bit weight quantization.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 28 of its 33 references that are in the map. First posted on arXiv 20 Nov 2022.

Builds on

28 of 33 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  7. 2017Decoupled Weight Decay Regularizationcited by 1,722
  8. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  9. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  10. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  11. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  12. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
16 more
  1. 2022How Do Vision Transformers Work?cited by 305
  2. 2019Revealing the Dark Secrets of BERTcited by 300
  3. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  4. 2021Post-Training Quantization for Vision Transformercited by 274
  5. 2021I-BERT: Integer-only BERT Quantizationcited by 250
  6. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  7. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
  8. 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
  9. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
  10. 2021Comparing Kullback-Leibler Divergence and Mean Squared Error Loss in Knowledge Distillationcited by 131
  11. 2021KLUE: Korean Language Understanding Evaluationcited by 113
  12. 2019Knowledge Distillation from Internal Representationscited by 87
  13. 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 58
  14. 2022DQ-BART: Efficient Sequence-to-Sequence Model via Joint Distillation and Quantizationcited by 23
  15. 2021KDLSQ-BERT: A Quantized Bert Combining Knowledge Distillation with Learned Step Size Quantizationcited by 14
  16. 2021Marginal Utility Diminishes: Exploring the Minimum Knowledge for BERT Knowledge Distillationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

11 papers.