Sparse Distillation: Speeding Up Text Classification by Using Bigger Student Models
Not on the map. Why?
Abstract (arXiv)
Distilling state-of-the-art transformer models into lightweight student models is an effective way to reduce computation cost at inference time. The student models are typically compact transformers with fewer parameters, while expensive operations such as self-attention persist. Therefore, the improved inference speed may still be unsatisfactory for real-time or high-volume use cases. In this paper, we aim to further push the limit of inference speed by distilling teacher models into bigger, sparser student models -- bigger in that they scale up to billions of parameters; sparser in that most of the model parameters are n-gram embeddings. Our experiments on six single-sentence text classification tasks show that these student models retain 97% of the RoBERTa-Large teacher performance on average, and meanwhile achieve up to 600x speed-up on both GPUs and CPUs at inference time. Further investigation reveals that our pipeline is also helpful for sentence-pair classification tasks, and in domain generalization settings.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 32 of its 50 references that are in the map. First posted on arXiv 16 Oct 2021.
Builds on
32 of 50 references.
References · 32
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
20 more
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2020Efficient Transformers: A Surveycited by 790
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2021Datasets: A Community Library for Natural Language Processingcited by 530
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
- 2016Ex Machina: Personal Attacks Seen at Scalecited by 210
- 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 200
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 177
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 153
- 2020Fast WordPiece Tokenizationcited by 87
- 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
- 2020ConvoKit: A Toolkit for the Analysis of Conversationscited by 72
- 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
- 2020Hard-Coded Gaussian Attention for Neural Machine Translationcited by 42
- 2021Are Pre-trained Convolutions Better than Pre-trained Transformers?cited by 27
- 2016A Compare-Aggregate Model for Matching Text Sequencescited by 23
- 2020AttentionLite: Towards Efficient Self-Attention Models for Visioncited by 10
- 2019Transformer to CNN: Label-scarce distillation for efficient text classificationcited by 9
Built on by
Citing papers per year: 2023: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2022Extreme compression of sentence-transformer ranker models: faster inference, longer battery life, and less storage on edge devices
- 2024Performance-Guided LLM Knowledge Distillation for Efficient Text Classification at Scale
- 2024Parameter-Efficient Sparsity Crafting from Dense to Mixture-of-Experts for Instruction Tuning on General Tasks
- 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance
- 2023Instruction Distillation Makes Large Language Models Efficient Zero-shot Rankers
- 2022Sparse*BERT: Sparse Models Generalize To New tasks and Domains
- 2024Disentangling Dense Embeddings with Sparse Autoencoders
- 2025Unveiling Decision-Making in LLMs for Text Classification : Extraction of influential and interpretable concepts with Sparse Autoencoders