paper-with-me

Papers

Automatic Mixed-Precision Quantization Search of BERT

2021-12-30 · Changsheng Zhao, Ting Hua, Yilin Shen, Qian Lou, Hongxia Jin

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.

📄 PDF Abstract BibTeX arXiv:2112.14938

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationModel CompressionNeural Architecture SearchQuantization

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Pruning 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Residual Connection 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…

Similar Papers 제목 키워드 기반

Effective and Efficient Mixed Precision Quantization of Speech Foundation Models

2025-01-07 · Haoning Xu, Zhaoqing Li, Zengrui Jin, Huimeng Wang 외

This paper presents a novel mixed-precision quantization approach for speech foundation models that tightly integrates mixed-precision learning and quantized model parameter estimation into one single model compression s…

Model Compressionparameter estimationQuantization

Patch-wise Mixed-Precision Quantization of Vision Transformer

2023-05-11 · Junrui Xiao, Zhikai Li, Lianwei Yang, Qingyi Gu

As emerging hardware begins to support mixed bit-width arithmetic computation, mixed-precision quantization is widely used to reduce the complexity of neural networks. However, Vision Transformers (ViTs) require complex …

QuantizationSensitivity

Mixed Precision of Quantization of Transformer Language Models for Speech Recognition

2021-11-29 · Junhao Xu, Shoukang Hu, Jianwei Yu, Xunying Liu 외

State-of-the-art neural language models represented by Transformers are becoming increasingly complex and expensive for practical applications. Low-bit deep neural network quantization techniques provides a powerful solu…

QuantizationSensitivityspeech-recognitionSpeech Recognition

RMSMP: A Novel Deep Neural Network Quantization Framework with Row-wise Mixed Schemes and Multiple Precisions

2021-10-30 · ICCV 2021 10 · Sung-En Chang, Yanyu Li, Mengshu Sun, Weiwen Jiang 외

This work proposes a novel Deep Neural Network (DNN) quantization framework, namely RMSMP, with a Row-wise Mixed-Scheme and Multi-Precision approach. Specifically, this is the first effort to assign mixed quantization sc…

image-classificationImage ClassificationQuantization

Search What You Want: Barrier Panelty NAS for Mixed Precision Quantization

2020-07-20 · ECCV 2020 8 · Haibao Yu, Qi Han, Jianbo Li, Jianping Shi 외

Emergent hardwares can support mixed precision CNN models inference that assign different bitwidths for different layers. Learning to find an optimal mixed precision model that can preserve accuracy and satisfy the speci…

Quantizationvalid