paper-with-me

Papers

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

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

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 between quantized weight and activation, leading to considerable quantization error. In this paper, we propose ERQ, a two-step PTQ approach meticulously crafted to sequentially reduce the quantization error arising from activation and weight quantization. ERQ first introduces Activation quantization error reduction (Aqer) that strategically formulates the minimization of activation quantization error as a Ridge Regression problem, tackling it by updating weights with full-precision. Subsequently, ERQ introduces Weight quantization error reduction (Wqer) that adopts an iterative approach to mitigate the quantization error induced by weight quantization. In each iteration, an empirically derived, efficient proxy is employed to refine the rounding directions of quantized weights, coupled with a Ridge Regression solver to curtail weight quantization error. Experimental results attest to the effectiveness of our approach. Notably, ERQ surpasses the state-of-the-art GPTQ by 22.36% in accuracy for W3A4 ViT-S.

📄 PDF Abstract BibTeX arXiv:2407.06794

Code (0)

등록된 구현이 없습니다.

Tasks

Quantizationregression

Methods 이 논문이 사용한 방법론

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$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Two Heads are Better Than One: Neural Networks Quantization with 2D Hilbert Curve-based Output Representation

2024-05-22 · Mykhailo Uss, Ruslan Yermolenko, Olena Kolodiazhna, Oleksii Shashko 외

Quantization is widely used to increase deep neural networks' (DNN) memory, computation, and power efficiency. Various techniques, such as post-training quantization and quantization-aware training, have been proposed to…

CPUobject-detectionObject DetectionQuantization

NoisyQuant: Noisy Bias-Enhanced Post-Training Activation Quantization for Vision Transformers

2022-11-29 · CVPR 2023 1 · Yijiang Liu, Huanrui Yang, Zhen Dong, Kurt Keutzer 외

The complicated architecture and high training cost of vision transformers urge the exploration of post-training quantization. However, the heavy-tailed distribution of vision transformer activations hinders the effectiv…

Quantization

Inlier-Centric Post-Training Quantization for Object Detection Models

2026-02-03 · Minsu Kim, Dongyeun Lee, Jaemyung Yu, Jiwan Hur 외 arxiv

Object detection is pivotal in computer vision, yet its immense computational demands make deployment slow and power-hungry, motivating quantization. However, task-irrelevant morphologies such as background clutter and s…

Object Detection

Towards Efficient Post-training Quantization of Pre-trained Language Models

2021-09-30 · Haoli Bai, Lu Hou, Lifeng Shang, Xin Jiang 외

Network quantization has gained increasing attention with the rapid growth of large pre-trained language models~(PLMs). However, most existing quantization methods for PLMs follow quantization-aware training~(QAT) that r…

Quantization

Symmetry Regularization and Saturating Nonlinearity for Robust Quantization

2022-07-31 · Sein Park, Yeongsang Jang, Eunhyeok Park

Robust quantization improves the tolerance of networks for various implementations, allowing reliable output in different bit-widths or fragmented low-precision arithmetic. In this work, we perform extensive analyses to …

Quantization