mlsanityData to 7 Oct 2026

General Cross-Architecture Distillation of Pretrained Language Models into Matrix Embeddings

arXiv 2109.08449 ↗First posted 17 Sep 2021cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Large pretrained language models (PreLMs) are revolutionizing natural language processing across all benchmarks. However, their sheer size is prohibitive for small laboratories or for deployment on mobile devices. Approaches like pruning and distillation reduce the model size but typically retain the same model architecture. In contrast, we explore distilling PreLMs into a different, more efficient architecture, Continual Multiplication of Words (CMOW), which embeds each word as a matrix and uses matrix multiplication to encode sequences. We extend the CMOW architecture and its CMOW/CBOW-Hybrid variant with a bidirectional component for more expressive power, per-token representations for a general (task-agnostic) distillation during pretraining, and a two-sequence encoding scheme that facilitates downstream tasks on sentence pairs, such as sentence similarity and natural language inference. Our matrix-based bidirectional CMOW/CBOW-Hybrid model is competitive to DistilBERT on question similarity and recognizing textual entailment, but uses only half of the number of parameters and is three times faster in terms of inference speed. We match or exceed the scores of ELMo for all tasks of the GLUE benchmark except for the sentiment analysis task SST-2 and the linguistic acceptability task CoLA. However, compared to previous cross-architecture distillation approaches, we demonstrate a doubling of the scores on detecting linguistic acceptability. This shows that matrix-based embeddings can be used to distill large PreLM into competitive models and motivates further research in this direction.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 36 of its 46 references that are in the map. First posted on arXiv 17 Sep 2021.

Builds on

36 of 46 references.

References · 36

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  9. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  10. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  11. 2018Deep contextualized word representationscited by 2,285
  12. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
24 more
  1. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  2. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  3. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  4. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  5. 2020Efficient Transformers: A Surveycited by 784
  6. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  7. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  8. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  9. 2015Deep Learning with Limited Numerical Precisioncited by 368
  10. 2021Pay Attention to MLPscited by 367
  11. 2018Model compression via distillation and quantizationcited by 287
  12. 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
  13. 2020Characterising Bias in Compressed Modelscited by 162
  14. 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
  15. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
  16. 2017Apprentice: Using Knowledge Distillation Techniques To Improve Low-Precision Network Accuracycited by 100
  17. 2020LadaBERT: Lightweight Adaptation of BERT through Hybrid Model Compressioncited by 45
  18. 2015Natural Language Inference by Tree-Based Convolution and Heuristic Matchingcited by 42
  19. 2019Small and Practical BERT Models for Sequence Labelingcited by 40
  20. 2019Discovering the Compositional Structure of Vector Representations with Role Learning Networkscited by 33
  21. 2019No Training Required: Exploring Random Encoders for Sentence Classificationcited by 30
  22. 2019Model Compression with Multi-Task Knowledge Distillation for Web-scale Question Answering Systemcited by 5
  23. 2019CBOW Is Not All You Need: Combining CBOW with the Compositional Matrix Space Modelcited by 4
  24. 2021Word2rate: training and evaluating multiple word embeddings as statistical transitionscited by 1

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.