paper-with-me

홈 › Papers

AutoQNN: An End-to-End Framework for Automatically Quantizing Neural Networks

2023-04-07 · Cheng Gong, Ye Lu, Surong Dai, Deng Qian, Chenkun Du, Tao Li

Exploring the expected quantizing scheme with suitable mixed-precision policy is the key point to compress deep neural networks (DNNs) in high efficiency and accuracy. This exploration implies heavy workloads for domain experts, and an automatic compression method is needed. However, the huge search space of the automatic method introduces plenty of computing budgets that make the automatic process challenging to be applied in real scenarios. In this paper, we propose an end-to-end framework named AutoQNN, for automatically quantizing different layers utilizing different schemes and bitwidths without any human labor. AutoQNN can seek desirable quantizing schemes and mixed-precision policies for mainstream DNN models efficiently by involving three techniques: quantizing scheme search (QSS), quantizing precision learning (QPL), and quantized architecture generation (QAG). QSS introduces five quantizing schemes and defines three new schemes as a candidate set for scheme search, and then uses the differentiable neural architecture search (DNAS) algorithm to seek the layer- or model-desired scheme from the set. QPL is the first method to learn mixed-precision policies by reparameterizing the bitwidths of quantizing schemes, to the best of our knowledge. QPL optimizes both classification loss and precision loss of DNNs efficiently and obtains the relatively optimal mixed-precision model within limited model size and memory footprint. QAG is designed to convert arbitrary architectures into corresponding quantized ones without manual intervention, to facilitate end-to-end neural network quantization. We have implemented AutoQNN and integrated it into Keras. Extensive experiments demonstrate that AutoQNN can consistently outperform state-of-the-art quantization.

📄 PDF Abstract BibTeX arXiv:2304.03782

Code (0)

등록된 구현이 없습니다.

Tasks

Neural Architecture SearchQuantization

Similar Papers 제목 키워드 기반

A Greedy Algorithm for Quantizing Neural Networks

2020-10-29 · Eric Lybrand, Rayan Saab

We propose a new computationally efficient method for quantizing the weights of pre- trained neural networks that is general enough to handle both multi-layer perceptrons and convolutional neural networks. Our method det…

Quantization

Q-ARVD: Quantizing Autoregressive Video Diffusion Models

2026-05-20 · Siao Tang, Xinyin Ma, Gongfan Fang, Xingyi Yang 외 arxiv

Autoregressive video diffusion models (ARVDs) have emerged as a promising architecture for streaming video generation, paving the way for real-time interactive video generation and world modeling. Despite their potential…

Video Generation

A simple approach for quantizing neural networks

2022-09-07 · Johannes Maly, Rayan Saab

In this short note, we propose a new method for quantizing the weights of a fully trained neural network. A simple deterministic pre-processing step allows us to quantize network layers via memoryless scalar quantization…

Quantization

Quantizing Multiple Sources to a Common Cluster Center: An Asymptotic Analysis

2020-10-23 · Erdem Koyuncu

We consider quantizing an $Ld$-dimensional sample, which is obtained by concatenating $L$ vectors from datasets of $d$-dimensional vectors, to a $d$-dimensional cluster center. The distortion measure is the weighted sum …

Clustering

Zero-Shot Dynamic Quantization for Transformer Inference

2022-11-17 · Yousef El-Kurdi, Jerry Quinn, Avirup Sil

We introduce a novel run-time method for significantly reducing the accuracy loss associated with quantizing BERT-like models to 8-bit integers. Existing methods for quantizing models either modify the training procedure…

Quantization