paper-with-me

홈 › Papers

A Practical Mixed Precision Algorithm for Post-Training Quantization

2023-02-10 · Nilesh Prasad Pandey, Markus Nagel, Mart van Baalen, Yin Huang, Chirag Patel, Tijmen Blankevoort

Neural network quantization is frequently used to optimize model size, latency and power consumption for on-device deployment of neural networks. In many cases, a target bit-width is set for an entire network, meaning every layer get quantized to the same number of bits. However, for many networks some layers are significantly more robust to quantization noise than others, leaving an important axis of improvement unused. As many hardware solutions provide multiple different bit-width settings, mixed-precision quantization has emerged as a promising solution to find a better performance-efficiency trade-off than homogeneous quantization. However, most existing mixed precision algorithms are rather difficult to use for practitioners as they require access to the training data, have many hyper-parameters to tune or even depend on end-to-end retraining of the entire model. In this work, we present a simple post-training mixed precision algorithm that only requires a small unlabeled calibration dataset to automatically select suitable bit-widths for each layer for desirable on-device performance. Our algorithm requires no hyper-parameter tuning, is robust to data variation and takes into account practical hardware deployment constraints making it a great candidate for practical use. We experimentally validate our proposed method on several computer vision tasks, natural language processing tasks and many different networks, and show that we can find mixed precision networks that provide a better trade-off between accuracy and efficiency than their homogeneous bit-width equivalents.

📄 PDF Abstract BibTeX arXiv:2302.05397

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Similar Papers 제목 키워드 기반

MixFrag: Fragility-Guided Mixed-Precision Post-Training Quantization for Vision Transformers

2026-07-30 · Md. Mehrab Hossain Opi, Robiul Islam Ryad, Md. Umar Faruk arxiv

Post-training quantization (PTQ) has emerged as an effective solution for deploying Vision Transformers (ViTs) on resource-constrained devices. However, existing PTQ methods typically employ uniform bit-widths across tra…

Instance SegmentationObject Detection

MPTQ-ViT: Mixed-Precision Post-Training Quantization for Vision Transformer

2024-01-26 · Yu-Shan Tai, An-Yeu, Wu

While vision transformers (ViTs) have shown great potential in computer vision tasks, their intense computation and memory requirements pose challenges for practical applications. Existing post-training quantization meth…

Quantization

Mixed Precision Post Training Quantization of Neural Networks with Sensitivity Guided Search

2023-02-02 · Clemens JS Schaefer, Elfie Guo, Caitlin Stanton, Xiaofan Zhang 외

Serving large-scale machine learning (ML) models efficiently and with low latency has become challenging owing to increasing model size and complexity. Quantizing models can simultaneously reduce memory and compute requi…

QuantizationSensitivity

MatGPTQ: Accurate and Efficient Post-Training Matryoshka Quantization

2026-02-03 · Maximilian Kleinegger, Elvir Crnčević, Dan Alistarh arxiv

Matryoshka Quantization (MatQuant) is a recent quantization approach showing that a single integer-quantized model can be served across multiple precisions, by slicing the most significant bits (MSB) at inference time. T…

WINDQuant: Weight-Informed Neural Decision-Making for Global Mixed-Precision LLM Quantization

2026-05-26 · Phong Nam Huu Nguyen, Khoi M. Le, Cong-Duy T Nguyen, Anh Tuan Luu 외 arxiv

Quantization is an effective approach to reduce the memory footprint and inference cost of large language models (LLMs), yet maintaining performance in the ultra-low-bit regime remains challenging. Existing post-training…

Reinforcement Learning