mlsanityData to 7 Oct 2026

Automatic Mixed-Precision Quantization Search of BERT

arXiv 2112.14938 ↗First posted 30 Dec 2021cs.CL cs.AIcited by 16

Not on the map. Why?

Abstract (arXiv)

Pre-trained language models such as BERT have shown remarkable effectiveness in various natural language processing tasks. However, these models usually contain millions of parameters, which prevents them from practical deployment on resource-constrained devices. Knowledge distillation, Weight pruning, and Quantization are known to be the main directions in model compression. However, compact models obtained through knowledge distillation may suffer from significant accuracy drop even for a relatively small compression ratio. On the other hand, there are only a few quantization attempts that are specifically designed for natural language processing tasks. They suffer from a small compression ratio or a large error rate since manual setting on hyper-parameters is required and fine-grained subgroup-wise quantization is not supported. In this paper, we proposed an automatic mixed-precision quantization framework designed for BERT that can simultaneously conduct quantization and pruning in a subgroup-wise level. Specifically, our proposed method leverages Differentiable Neural Architecture Search to assign scale and precision for parameters in each sub-group automatically, and at the same time pruning out redundant groups of parameters. Extensive evaluations on BERT downstream tasks reveal that our proposed method outperforms baselines by providing the same performance with much smaller model size. We also show the feasibility of obtaining the extremely light-weight model by combining our solution with orthogonal methods such as DistilBERT.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 28 of its 32 references that are in the map. First posted on arXiv 30 Dec 2021.

Builds on

28 of 32 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  4. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  5. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  6. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  7. 2018DARTS: Differentiable Architecture Searchcited by 1,782
  8. 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
  9. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  10. 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
  11. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  12. 2019Are Sixteen Heads Really Better than One?cited by 803
16 more
  1. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
  2. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  3. 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
  4. 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
  5. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  6. 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 349
  7. 2019Revealing the Dark Secrets of BERTcited by 300
  8. 2018SNAS: Stochastic Neural Architecture Searchcited by 288
  9. 2017Variational Dropout Sparsifies Deep Neural Networkscited by 265
  10. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  11. 2018Mixed Precision Quantization of ConvNets via Differentiable Neural Architecture Searchcited by 122
  12. 2019Network Pruning via Transformable Architecture Searchcited by 80
  13. 2015Scalable Gradient-Based Tuning of Continuous Regularization Hyperparameterscited by 71
  14. 2020DSNAS: Direct Neural Architecture Search without Parameter Retrainingcited by 69
  15. 2017Adaptive Quantization for Deep Neural Networkcited by 67
  16. 2016Doubly Convolutional Neural Networkscited by 7

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 5; 2024: 4; 2025: 5.

16 papers.

Sort:

By area: