Distilling Large Language Models into Tiny and Effective Students using pQRNN
Not on the map. Why?
Abstract (arXiv)
Large pre-trained multilingual models like mBERT, XLM-R achieve state of the art results on language understanding tasks. However, they are not well suited for latency critical applications on both servers and edge devices. It's important to reduce the memory and compute resources required by these models. To this end, we propose pQRNN, a projection-based embedding-free neural encoder that is tiny and effective for natural language processing tasks. Without pre-training, pQRNNs significantly outperform LSTM models with pre-trained embeddings despite being 140x smaller. With the same number of parameters, they outperform transformer baselines thereby showcasing their parameter efficiency. Additionally, we show that pQRNNs are effective student architectures for distilling large pre-trained language models. We perform careful ablations which study the effect of pQRNN parameters, data augmentation, and distillation settings. On MTOP, a challenging multilingual semantic parsing dataset, pQRNN students achieve 95.9% of the performance of an mBERT teacher while being 350x smaller. On mATIS, a popular parsing task, pQRNN students on average are able to get to 97.1% of the teacher while again being 350x smaller. Our strong results suggest that our approach is great for latency-sensitive applications while being able to leverage large mBERT-like models.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 42 of its 52 references that are in the map. First posted on arXiv 21 Jan 2021.
Builds on
42 of 52 references.
References · 42
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
30 more
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
- 2018Universal Transformerscited by 613
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 467
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2019Massively Multilingual Neural Machine Translation in the Wild: Findings and Challengescited by 253
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 189
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
- 2017Revisiting Distributed Synchronous SGDcited by 142
- 2016Attention-Based Recurrent Neural Network Models for Joint Intent Detection and Slot Fillingcited by 137
- 2020Rethinking embedding coupling in pre-trained language modelscited by 103
- 2016Quasi-Recurrent Neural Networkscited by 87
- 2020End-to-End Slot Alignment and Recognition for Cross-Lingual NLUcited by 82
- 2016Zoneout: Regularizing RNNs by Randomly Preserving Hidden Activationscited by 54
- 2019Small and Practical BERT Models for Sequence Labelingcited by 40
- 2020FILTER: An Enhanced Fusion Method for Cross-lingual Language Understandingcited by 29
- 2019Evaluating the Cross-Lingual Effectiveness of Massively Multilingual Neural Machine Translationcited by 27
- 2020An Empirical Analysis of the Impact of Data Augmentation on Knowledge Distillationcited by 11
- 2019Making Neural Machine Reading Comprehension Fastercited by 2
Built on by
Citing papers per year: 2021: 5; 2022: 4; 2023: 1.
10 papers.
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Bettercited by 153
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2022pNLP-Mixer: an Efficient all-MLP Architecture for Languagecited by 19
- 2021Translate & Fill: Improving Zero-Shot Multilingual Semantic Parsing with Synthetic Datacited by 17
- 2021MergeDistill: Merging Pre-trained Language Models using Distillationcited by 13
- 2022Too Brittle To Touch: Comparing the Stability of Quantization and Distillation Towards Developing Lightweight Low-Resource MT Modelscited by 5
- 2021Transfer Learning for Multi-lingual Tasks -- a Surveycited by 1
- 2022Unsupervised Term Extraction for Highly Technical Domainscited by 1
- 2023Using Large Text-to-Image Models with Structured Prompts for Skin Disease Identification: A Case Studycited by 1
- 2021Tiny Neural Models for Seq2Seqcited by 0
- 2023Using Large Text-to-Image Models with Structured Prompts for Skin Disease Identification: A Case Study17 Jan 2023
- 2022Cramming: Training a Language Model on a Single GPU in One Day28 Dec 2022
- 2022Too Brittle To Touch: Comparing the Stability of Quantization and Distillation Towards Developing Lightweight Low-Resource MT Models27 Oct 2022
- 2022Unsupervised Term Extraction for Highly Technical Domains24 Oct 2022
- 2022pNLP-Mixer: an Efficient all-MLP Architecture for Language9 Feb 2022
- 2021Translate & Fill: Improving Zero-Shot Multilingual Semantic Parsing with Synthetic Data9 Sep 2021
- 2021Transfer Learning for Multi-lingual Tasks -- a Survey28 Aug 2021
- 2021Tiny Neural Models for Seq2Seq7 Aug 2021
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Better16 Jun 2021
- 2021MergeDistill: Merging Pre-trained Language Models using Distillation5 Jun 2021