paper-with-me

Papers

Sparse Distillation: Speeding Up Text Classification by Using Bigger Student Models

2021-10-16 · NAACL 2022 7 · Qinyuan Ye, Madian Khabsa, Mike Lewis, Sinong Wang, Xiang Ren, Aaron Jaech

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.

📄 PDF Abstract BibTeX arXiv:2110.08536

Code (1)

ink-usc/sparse-distillation 공식 구현 pytorch

Tasks

ClassificationDomain GeneralizationPrivacy PreservingSentenceSentence-Pair Classificationtext-classificationText Classification

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Soft-Label Dataset Distillation and Text Dataset Distillation

2019-10-06 · Ilia Sucholutsky, Matthias Schonlau

Dataset distillation is a method for reducing dataset sizes by learning a small number of synthetic samples containing all the information of a large dataset. This has several benefits like speeding up model training, re…

Dataset DistillationData Summarizationimage-classificationImage Classification+1

Distillation of encoder-decoder transformers for sequence labelling

2023-02-10 · Marco Farina, Duccio Pappadopulo, Anant Gupta, Leslie Huang 외

Driven by encouraging results on a wide range of tasks, the field of NLP is experiencing an accelerated race to develop bigger language models. This race for bigger models has also underscored the need to continue the pu…

DecoderFew-Shot LearningHallucination

Fine-tuning a Multiple Instance Learning Feature Extractor with Masked Context Modelling and Knowledge Distillation

2024-03-08 · Juan I. Pisula, Katarzyna Bozek

The first step in Multiple Instance Learning (MIL) algorithms for Whole Slide Image (WSI) classification consists of tiling the input image into smaller patches and computing their feature vectors produced by a pre-train…

Image GenerationKnowledge DistillationMultiple Instance Learning

Basic Reading Distillation

2025-07-26 · Zhi Zhou, Sirui Miao, Xiangyu Duan, Hao Yang 외 arxiv

Large language models (LLMs) have demonstrated remarkable abilities in various natural language processing areas, but they demand high computation resources which limits their deployment in real-world. Distillation is on…

Knowledge Distillation

Distilled Neural Networks for Efficient Learning to Rank

2022-02-22 · F. M. Nardini, C. Rulli, S. Trani, R. Venturini

Recent studies in Learning to Rank have shown the possibility to effectively distill a neural network from an ensemble of regression trees. This result leads neural networks to become a natural competitor of tree-based e…

CPUInformation RetrievalKnowledge DistillationLearning-To-Rank+1