mlsanityData to 14 Oct 2026

RefBERT: Compressing BERT by Referencing to Pre-computed Representations

arXiv 2106.08898 ↗First posted 11 Jun 2021cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Recently developed large pre-trained language models, e.g., BERT, have achieved remarkable performance in many downstream natural language processing applications. These pre-trained language models often contain hundreds of millions of parameters and suffer from high computation and latency in real-world applications. It is desirable to reduce the computation overhead of the models for fast training and inference while keeping the model performance in downstream applications. Several lines of work utilize knowledge distillation to compress the teacher model to a smaller student model. However, they usually discard the teacher's knowledge when in inference. Differently, in this paper, we propose RefBERT to leverage the knowledge learned from the teacher, i.e., facilitating the pre-computed BERT representation on the reference sample and compressing BERT into a smaller student model. To guarantee our proposal, we provide theoretical justification on the loss function and the usage of reference samples. Significantly, the theoretical result shows that including the pre-computed teacher's representations on the reference samples indeed increases the mutual information in learning the student model. Finally, we conduct the empirical evaluation and show that our RefBERT can beat the vanilla TinyBERT over 8.1% and achieves more than 94% of the performance of BERTBASE on the GLUE benchmark. Meanwhile, RefBERT is 7.4x smaller and 9.5x faster on inference than BERTrm BASE.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 44 references that are in the map. First posted on arXiv 11 Jun 2021.

Builds on

30 of 44 references.

References · 30

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  7. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  11. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
  12. 2018Deep contextualized word representationscited by 2,290
18 more
  1. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  2. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  3. 2018Neural Network Acceptability Judgmentscited by 958
  4. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
  5. 2017Opening the Black Box of Deep Neural Networks via Informationcited by 503
  6. 2021Retrieving and Reading: A Comprehensive Survey on Open-domain Question Answeringcited by 178
  7. 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 153
  8. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
  9. 2021Advances and Challenges in Conversational Recommender Systems: A Surveycited by 118
  10. 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
  11. 2019BAM! Born-Again Multi-Task Networks for Natural Language Understandingcited by 85
  12. 2019HiGRU: Hierarchical Gated Recurrent Units for Utterance-level Emotion Recognitioncited by 43
  13. 2019Model Compression with Two-stage Multi-teacher Knowledge Distillation for Web Question Answering Systemcited by 43
  14. 2020PiRhDy: Learning Pitch-, Rhythm-, and Dynamics-aware Embeddings for Symbolic Musiccited by 24
  15. 2021Automatic Intent-Slot Induction for Dialogue Systemscited by 13
  16. 2019Transformer to CNN: Label-scarce distillation for efficient text classificationcited by 9
  17. 2021Emotion Dynamics Modeling via BERTcited by 5
  18. 2016A deep learning approach for predicting the quality of online health expert question-answering servicescited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Improving Knowledge Distillation for BERT Models: Loss Functions, Mapping Methods, and Weight Tuning
  2. 2021Learning to Augment for Data-Scarce Domain BERT Knowledge Distillation
  3. 2021Marginal Utility Diminishes: Exploring the Minimum Knowledge for BERT Knowledge Distillation
  4. 2021ROSITA: Refined BERT cOmpreSsion with InTegrAted techniques
  5. 2021Extract then Distill: Efficient and Effective Task-Agnostic BERT Distillation
  6. 2022Exploring Extreme Parameter Compression for Pre-trained Language Models
  7. 2022Token Dropping for Efficient BERT Pretraining
  8. 2021One Teacher is Enough? Pre-trained Language Model Distillation from Multiple Teachers