AutoDistill: an End-to-End Framework to Explore and Distill Hardware-Efficient Language Models
Not on the map. Why?
Abstract (arXiv)
Recently, large pre-trained models have significantly improved the performance of various Natural LanguageProcessing (NLP) tasks but they are expensive to serve due to long serving latency and large memory usage. To compress these models, knowledge distillation has attracted an increasing amount of interest as one of the most effective methods for model compression. However, existing distillation methods have not yet addressed the unique challenges of model serving in datacenters, such as handling fast evolving models, considering serving performance, and optimizing for multiple objectives. To solve these problems, we propose AutoDistill, an end-to-end model distillation framework integrating model architecture exploration and multi-objective optimization for building hardware-efficient NLP pre-trained models. We use Bayesian Optimization to conduct multi-objective Neural Architecture Search for selecting student model architectures. The proposed search comprehensively considers both prediction accuracy and serving latency on target hardware. The experiments on TPUv4i show the finding of seven model architectures with better pre-trained accuracy (up to 3.2% higher) and lower inference latency (up to 1.44x faster) than MobileBERT. By running downstream NLP tasks in the GLUE benchmark, the model distilled for pre-training by AutoDistill with 28.5M parameters achieves an 81.69 average score, which is higher than BERT_BASE, DistillBERT, TinyBERT, NAS-BERT, and MobileBERT. The most compact model found by AutoDistill contains only 20.6M parameters but still outperform BERT_BASE(109M), DistillBERT(67M), TinyBERT(67M), and MobileBERT(25.3M) regarding the average GLUE score. By evaluating on SQuAD, a model found by AutoDistill achieves an 88.4% F1 score with 22.8M parameters, which reduces parameters by more than 62% while maintaining higher accuracy than DistillBERT, TinyBERT, and NAS-BERT.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 33 of its 47 references that are in the map. First posted on arXiv 21 Jan 2022.
Builds on
33 of 47 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2018Deep contextualized word representationscited by 2,285
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
21 more
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2018FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Searchcited by 480
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2015Deep Kernel Learningcited by 440
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2015Scalable Bayesian Optimization Using Deep Neural Networkscited by 284
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2019BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Searchcited by 175
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
- 2017Learning to select data for transfer learning with Bayesian Optimizationcited by 64
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
- 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
- 2019Small and Practical BERT Models for Sequence Labelingcited by 40
- 2021Searching for Fast Model Families on Datacenter Acceleratorscited by 22
- 2021AutoBERT-Zero: Evolving BERT Backbone from Scratchcited by 21
- 2020Finding Fast Transformers: One-Shot Neural Architecture Search by Component Compositioncited by 10
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 3; 2025: 1.
7 papers.
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2023How to Distill your BERT: An Empirical Study on the Impact of Weight Initialisation and Distillation Objectivescited by 9
- 2024New Solutions on LLM Acceleration, Optimization, and Applicationcited by 7
- 2025On Accelerating Edge AI: Optimizing Resource-Constrained Environmentscited by 5
- 2024MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollerscited by 3
- 2022Design Automation for Fast, Lightweight, and Effective Deep Learning Models: A Surveycited by 1
- 2024Domain Adaptable Fine-Tune Distillation Framework For Advancing Farm Surveillancecited by 1
- 2025On Accelerating Edge AI: Optimizing Resource-Constrained Environments25 Jan 2025
- 2024MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollers23 Oct 2024
- 2024New Solutions on LLM Acceleration, Optimization, and Application16 Jun 2024
- 2024Domain Adaptable Fine-Tune Distillation Framework For Advancing Farm Surveillance10 Feb 2024
- 2023A Survey of Techniques for Optimizing Transformer Inference16 Jul 2023
- 2023How to Distill your BERT: An Empirical Study on the Impact of Weight Initialisation and Distillation Objectives24 May 2023
- 2022Design Automation for Fast, Lightweight, and Effective Deep Learning Models: A Survey22 Aug 2022