paper-with-me

Papers

Attention Round for Post-Training Quantization

2022-07-07 · Huabin Diao, Gongyan Li, Shaoyun Xu, Yuexing Hao

At present, the quantification methods of neural network models are mainly divided into post-training quantization (PTQ) and quantization aware training (QAT). Post-training quantization only need a small part of the data to complete the quantification process, but the performance of its quantitative model is not as good as the quantization aware training. This paper presents a novel quantification method called Attention Round. This method gives parameters w the opportunity to be mapped to all possible quantized values, rather than just the two quantized values nearby w in the process of quantization. The probability of being mapped to different quantified values is negatively correlated with the distance between the quantified values and w, and decay with a Gaussian function. In addition, this paper uses the lossy coding length as a measure to assign bit widths to the different layers of the model to solve the problem of mixed precision quantization, which effectively avoids to solve combinatorial optimization problem. This paper also performs quantitative experiments on different models, the results confirm the effectiveness of the proposed method. For ResNet18 and MobileNetV2, the post-training quantization proposed in this paper only require 1,024 training data and 10 minutes to complete the quantization process, which can achieve quantization performance on par with quantization aware training.

📄 PDF Abstract BibTeX arXiv:2207.03088

Code (0)

등록된 구현이 없습니다.

Tasks

Combinatorial OptimizationQuantization

Methods 이 논문이 사용한 방법론

Batch Normalization 설명 없음
1x1 Convolution A 1 x 1 Convolution is a convolution with some special properties in that it can be used for dimensionality reduction,…
Pointwise Convolution Pointwise Convolution is a type of convolution that uses a 1x1 kernel: a kernel that iterates through every single point. This…
Depthwise Convolution Depthwise Convolution is a type of convolution where we apply a single convolutional filter for each input channel. In the regular 2D…
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Depthwise Separable Convolution While standard convolution performs the channelwise and spatial-wise computation in one step, Depthwise Separable Convolution
Average Pooling 설명 없음
Inverted Residual Block 설명 없음

Similar Papers 제목 키워드 기반

Efficient Adaptive Activation Rounding for Post-Training Quantization

2022-08-25 · Zhengyi Li, Cong Guo, Zhanda Zhu, Yangjie Zhou 외

Post-training quantization attracts increasing attention due to its convenience in deploying quantized neural networks. Although rounding-to-nearest remains the prevailing method for DNN quantization, prior research has …

Quantization

ERQ: Error Reduction for Post-Training Quantization of Vision Transformers

2024-07-09 · Yunshan Zhong, Jiawei Hu, You Huang, Yuxin Zhang 외

Post-training quantization (PTQ) for vision transformers (ViTs) has garnered significant attention due to its efficiency in compressing models. However, existing methods typically overlook the intricate interdependence b…

Quantizationregression

Post-Training Quantization for Vision Transformer

2021-06-27 · NeurIPS 2021 12 · Zhenhua Liu, Yunhe Wang, Kai Han, Siwei Ma 외

Recently, transformer has achieved remarkable performance on a variety of computer vision applications. Compared with mainstream convolutional neural networks, vision transformers are often of sophisticated architectures…

DiversityQuantization

Outlier-Aware Post-Training Quantization for Image Super-Resolution

2025-11-01 · Hailing Wang, jianglin Lu, Yitian Zhang, Yun Fu arxiv

Quantization techniques, including quantization-aware training (QAT) and post-training quantization (PTQ), have become essential for inference acceleration of image super-resolution (SR) networks. Compared to QAT, PTQ ha…

Image Super-Resolution

Q-Rater: Non-Convex Optimization for Post-Training Uniform Quantization

2021-05-05 · Byeongwook Kim, Dongsoo Lee, Yeonju Ro, Yongkweon Jeon 외

Various post-training uniform quantization methods have usually been studied based on convex optimization. As a result, most previous ones rely on the quantization error minimization and/or quadratic approximations. Such…

Quantization