paper-with-me

Papers

HAQ: Hardware-Aware Automated Quantization with Mixed Precision

2018-11-21 · CVPR 2019 6 · Kuan Wang, Zhijian Liu, Yujun Lin, Ji Lin, Song Han

Model quantization is a widely used technique to compress and accelerate deep neural network (DNN) inference. Emergent DNN hardware accelerators begin to support mixed precision (1-8 bits) to further improve the computation efficiency, which raises a great challenge to find the optimal bitwidth for each layer: it requires domain experts to explore the vast design space trading off among accuracy, latency, energy, and model size, which is both time-consuming and sub-optimal. Conventional quantization algorithm ignores the different hardware architectures and quantizes all the layers in a uniform way. In this paper, we introduce the Hardware-Aware Automated Quantization (HAQ) framework which leverages the reinforcement learning to automatically determine the quantization policy, and we take the hardware accelerator's feedback in the design loop. Rather than relying on proxy signals such as FLOPs and model size, we employ a hardware simulator to generate direct feedback signals (latency and energy) to the RL agent. Compared with conventional methods, our framework is fully automated and can specialize the quantization policy for different neural network architectures and hardware architectures. Our framework effectively reduced the latency by 1.4-1.95x and the energy consumption by 1.9x with negligible loss of accuracy compared with the fixed bitwidth (8 bits) quantization. Our framework reveals that the optimal policies on different hardware architectures (i.e., edge and cloud architectures) under different resource constraints (i.e., latency, energy and model size) are drastically different. We interpreted the implication of different quantization policies, which offer insights for both neural network architecture design and hardware architecture design.

📄 PDF Abstract BibTeX arXiv:1811.08886

Code (11)

AhmadQasim/proxylessnas-dense pytorch
MIT-HAN-LAB/ProxylessNAS pytorch
ZTao-z/ProxylessNAS pytorch
ito-rafael/once-for-all-2 pytorch
mit-han-lab/ProxylessNAS pytorch
mit-han-lab/amc pytorch
mit-han-lab/once-for-all pytorch
newwhitecheng/compress-all-nn tf
seulkiyeom/once-for-all pytorch
songhan/DSD pytorch
songhan/SqueezeNet-Residual

Tasks

QuantizationReinforcement Learning

Similar Papers 제목 키워드 기반

ScaleBITS: Scalable Bitwidth Search for Hardware-Aligned Mixed-Precision LLMs

2026-02-06 · Xinlin Li, Timothy Chou, Josh Fromm, Zichang Liu 외 arxiv

Post-training weight quantization is crucial for reducing the memory and inference cost of large language models (LLMs), yet pushing the average precision below 4 bits remains challenging due to highly non-uniform weight…

On-Chip Hardware-Aware Quantization for Mixed Precision Neural Networks

2023-09-05 · Wei Huang, Haotong Qin, Yangdong Liu, Jingzhuo Liang 외

Low-bit quantization emerges as one of the most promising compression approaches for deploying deep neural networks on edge devices. Mixed-precision quantization leverages a mixture of bit-widths to unleash the accuracy …

Quantization

Adaptive quantization with mixed-precision based on low-cost proxy

2024-02-27 · Junzhe Chen, Qiao Yang, Senmao Tian, Shunli Zhang

It is critical to deploy complicated neural network models on hardware with limited resources. This paper proposes a novel model quantization method, named the Low-Cost Proxy-Based Adaptive Mixed-Precision Model Quantiza…

Neural Architecture SearchQuantization

Hardware-Centric AutoML for Mixed-Precision Quantization

2020-08-11 · Kuan Wang, Zhijian Liu, Yujun Lin, Ji Lin 외

Model quantization is a widely used technique to compress and accelerate deep neural network (DNN) inference. Emergent DNN hardware accelerators begin to support mixed precision (1-8 bits) to further improve the computat…

AutoMLQuantization

Hardware-Aware DNN Compression via Diverse Pruning and Mixed-Precision Quantization

2023-12-23 · Konstantinos Balaskas, Andreas Karatzas, Christos Sad, Kostas Siozios 외

Deep Neural Networks (DNNs) have shown significant advantages in a wide variety of domains. However, DNNs are becoming computationally intensive and energy hungry at an exponential pace, while at the same time, there is …

QuantizationReinforcement Learning (RL)