mlsanityData to 7 Oct 2026

KDLSQ-BERT: A Quantized Bert Combining Knowledge Distillation with Learned Step Size Quantization

arXiv 2101.05938 ↗First posted 15 Jan 2021cs.CL cs.AI cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

Recently, transformer-based language models such as BERT have shown tremendous performance improvement for a range of natural language processing tasks. However, these language models usually are computation expensive and memory intensive during inference. As a result, it is difficult to deploy them on resource-restricted devices. To improve the inference performance, as well as reduce the model size while maintaining the model accuracy, we propose a novel quantization method named KDLSQ-BERT that combines knowledge distillation (KD) with learned step size quantization (LSQ) for language model quantization. The main idea of our method is that the KD technique is leveraged to transfer the knowledge from a "teacher" model to a "student" model when exploiting LSQ to quantize that "student" model during the quantization training process. Extensive experiment results on GLUE benchmark and SQuAD demonstrate that our proposed KDLSQ-BERT not only performs effectively when doing different bit (e.g. 2-bit ~ 8-bit) quantization, but also outperforms the existing BERT quantization methods, and even achieves comparable performance as the full-precision base-line model while obtaining 14.9x compression ratio. Our code will be public available.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 36 of its 42 references that are in the map. First posted on arXiv 15 Jan 2021.

Builds on

36 of 42 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  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. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  11. 2014FitNets: Hints for Thin Deep Netscited by 1,619
  12. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
24 more
  1. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  2. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  3. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  4. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  5. 2019Are Sixteen Heads Really Better than One?cited by 803
  6. 2016Sequence-Level Knowledge Distillationcited by 761
  7. 2019Learned Step Size Quantizationcited by 604
  8. 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
  9. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  10. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  11. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  12. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  13. 2018Model compression via distillation and quantizationcited by 287
  14. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  15. 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
  16. 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
  17. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 103
  18. 2019Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of Deep Neural Networkscited by 87
  19. 2019A Tensorized Transformer for Language Modelingcited by 85
  20. 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
  21. 2020LadaBERT: Lightweight Adaptation of BERT through Hybrid Model Compressioncited by 45
  22. 2019QKD: Quantization-aware Knowledge Distillationcited by 42
  23. 2018Attention-Guided Answer Distillation for Machine Reading Comprehensioncited by 18
  24. 2019Structured Pruning of a BERT-based Question Answering Modelcited by 16

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 5; 2023: 5; 2024: 3.

14 papers.

Sort: