mlsanityData to 7 Oct 2026

NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Search

arXiv 2105.14444 ↗First posted 30 May 2021cs.CL cs.AI cs.LGcited by 55

Not on the map. Why?

Abstract (arXiv)

While pre-trained language models (e.g., BERT) have achieved impressive results on different natural language processing tasks, they have large numbers of parameters and suffer from big computational and memory costs, which make them difficult for real-world deployment. Therefore, model compression is necessary to reduce the computation and memory cost of pre-trained models. In this work, we aim to compress BERT and address the following two challenging practical issues: (1) The compression algorithm should be able to output multiple compressed models with different sizes and latencies, in order to support devices with different memory and latency limitations; (2) The algorithm should be downstream task agnostic, so that the compressed models are generally applicable for different downstream tasks. We leverage techniques in neural architecture search (NAS) and propose NAS-BERT, an efficient method for BERT compression. NAS-BERT trains a big supernet on a search space containing a variety of architectures and outputs multiple compressed models with adaptive sizes and latency. Furthermore, the training of NAS-BERT is conducted on standard self-supervised pre-training tasks (e.g., masked language model) and does not depend on specific downstream tasks. Thus, the compressed models can be used across various downstream tasks. The technical challenge of NAS-BERT is that training a big supernet on the pre-training task is extremely costly. We employ several techniques including block-wise search, search space pruning, and performance approximation to improve search efficiency and accuracy. Extensive experiments on GLUE and SQuAD benchmark datasets demonstrate that NAS-BERT can find lightweight models with better accuracy than previous approaches, and can be directly applied to different downstream tasks with adaptive model sizes for different requirements of memory or latency.

Key facts. Cited by 55 papers in the map (data through 7 Oct 2026). Builds on 45 of its 57 references that are in the map. First posted on arXiv 30 May 2021.

Builds on

45 of 57 references.

References · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  11. 2019Searching for MobileNetV3cited by 1,984
  12. 2018DARTS: Differentiable Architecture Searchcited by 1,782
33 more
  1. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  2. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  3. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  4. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  5. 2020Designing Network Design Spacescited by 954
  6. 2018Neural Network Acceptability Judgmentscited by 952
  7. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
  8. 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 666
  9. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  10. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  11. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  12. 2019Single Path One-Shot Neural Architecture Search with Uniform Samplingcited by 411
  13. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  14. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  15. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  16. 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
  17. 2020BigNAS: Scaling Up Neural Architecture Search with Big Single-Stage Modelscited by 187
  18. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  19. 2018Auto-Keras: An Efficient Neural Architecture Search Systemcited by 169
  20. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  21. 2019FairNAS: Rethinking Evaluation Fairness of Weight Sharing Neural Architecture Searchcited by 129
  22. 2019Large Memory Layers with Product Keyscited by 120
  23. 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
  24. 2019Blockwisely Supervised Neural Architecture Search with Knowledge Distillationcited by 81
  25. 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
  26. 2019Improving One-shot NAS by Suppressing the Posterior Fadingcited by 28
  27. 2017Depthwise Separable Convolutions for Neural Machine Translationcited by 26
  28. 2020LightPAFF: A Two-Stage Distillation Framework for Pre-training and Fine-tuningcited by 25
  29. 2019Sample-Efficient Neural Architecture Search by Learning Action Spacecited by 23
  30. 2020FreeDOM: A Transferable Neural Architecture for Structured Information Extraction on Web Documentscited by 22
  31. 2019Structured Pruning of a BERT-based Question Answering Modelcited by 16
  32. 2020Finding Fast Transformers: One-Shot Neural Architecture Search by Component Compositioncited by 10
  33. 2019Balanced One-shot Neural Architecture Optimizationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 6; 2022: 12; 2023: 16; 2024: 13; 2025: 4; 2026: 4.

55 papers.

Sort:

By area:

  1. 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 285
  2. 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 216
  3. 2024A Survey on Efficient Inference for Large Language Modelscited by 197
  4. 2023Speculative Decoding with Big Little Decodercited by 163
  5. 2022A Fast Post-Training Pruning Framework for Transformerscited by 161
  6. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
  7. 2021Towards Efficient Post-training Quantization of Pre-trained Language Modelscited by 37
  8. 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
  9. 2024A Survey of Small Language Modelscited by 31
  10. 2023LLM Performance Predictors are good initializers for Architecture Searchcited by 29
  11. 2022Meta Learning for Natural Language Processing: A Surveycited by 26
  12. 2023Gradient-Free Structured Pruning with Unlabeled Datacited by 26
38 more
  1. 2021Pruning Self-attentions into Convolutional Layers in Single Pathcited by 24
  2. 2021Analyzing and Mitigating Interference in Neural Architecture Searchcited by 20
  3. 2024EvoPress: Accurate Dynamic Model Compression via Evolutionary Searchcited by 20
  4. 2021EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillationcited by 15
  5. 2022Exploring Extreme Parameter Compression for Pre-trained Language Modelscited by 15
  6. 2024A Comprehensive Survey of Compression Algorithms for Language Modelscited by 15
  7. 2022Differentially Private Model Compressioncited by 13
  8. 2022FlexiBERT: Are Current Transformer Architectures too Homogeneous and Rigid?cited by 12
  9. 2022SuperTickets: Drawing Task-Agnostic Lottery Tickets from Supernets via Jointly Architecture Searching and Parameter Pruningcited by 12
  10. 2025EfficientLLM: Scalable Pruning-Aware Pretraining for Architecture-Agnostic Edge Language Modelscited by 10
  11. 2022AutoMoE: Heterogeneous Mixture-of-Experts with Adaptive Computation for Efficient Neural Machine Translationcited by 9
  12. 2023Training-free Neural Architecture Search for RNNs and Transformerscited by 9
  13. 2022AutoDistill: an End-to-End Framework to Explore and Distill Hardware-Efficient Language Modelscited by 7
  14. 2023Mixture-of-Supernets: Improving Weight-Sharing Supernet Training with Architecture-Routed Mixture-of-Expertscited by 7
  15. 2025Composer: A Search Framework for Hybrid Neural Architecture Designcited by 7
  16. 2021SuperShaper: Task-Agnostic Super Pre-training of BERT Models with Variable Hidden Dimensionscited by 6
  17. 2023Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inferencecited by 6
  18. 2024Efficiently Distilling LLMs for Edge Applicationscited by 5
  19. 2024Structural Pruning of Pre-trained Language Models via Neural Architecture Searchcited by 5
  20. 2024CE-NAS: An End-to-End Carbon-Efficient Neural Architecture Search Frameworkcited by 5
  21. 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
  22. 2022SwiftPruner: Reinforced Evolutionary Pruning for Efficient Ad Relevancecited by 4
  23. 2023Meta-Tsallis-Entropy Minimization: A New Self-Training Approach for Domain Adaptation on Text Classificationcited by 4
  24. 2023RingMo-lite: A Remote Sensing Multi-task Lightweight Network with CNN-Transformer Hybrid Frameworkcited by 4
  25. 2022AutoDistil: Few-shot Task-agnostic Neural Architecture Search for Distilling Large Language Modelscited by 3
  26. 2023Evolutionary Neural Architecture Search for Transformer in Knowledge Tracingcited by 3
  27. 2024Merino: Entropy-driven Design for Generative Language Models on IoT Devicescited by 3
  28. 2024MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollerscited by 3
  29. 2023EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platformscited by 2
  30. 2023Sensi-BERT: Towards Sensitivity Driven Fine-Tuning for Parameter-Efficient BERTcited by 2
  31. 2021AutoHEnsGNN: Winning Solution to AutoGraph Challenge for KDD Cup 2020cited by 1
  32. 2022Design Automation for Fast, Lightweight, and Effective Deep Learning Models: A Surveycited by 1
  33. 2023TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inferencecited by 1
  34. 2025W-PCA Based Gradient-Free Proxy for Efficient Search of Lightweight Language Modelscited by 1
  35. 2026Prune Once: Retraining-Free Task-Agnostic Pruning for Vision-Language Modelscited by 1
  36. 2022SpeedLimit: Neural Architecture Search for Quantized Transformer Modelscited by 0
  37. 2023NAS-FM: Neural Architecture Search for Tunable and Interpretable Sound Synthesis based on Frequency Modulationcited by 0
  38. 2024Automatic Pruning of Fine-tuning Datasets for Transformer-based Language Modelscited by 0

50 most cited of 55 All 55 (JSON)