Adaptive Distribution-aware Quantization for Mixed-Precision Neural Networks

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jia, Shaohang, Huang, Zhiyong, Yu, Zhi, Hou, Mingyang, Miao, Shuai, Yang, Han
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918165796093952
author Jia, Shaohang
Huang, Zhiyong
Yu, Zhi
Hou, Mingyang
Miao, Shuai
Yang, Han
author_facet Jia, Shaohang
Huang, Zhiyong
Yu, Zhi
Hou, Mingyang
Miao, Shuai
Yang, Han
contents Quantization-Aware Training (QAT) is a critical technique for deploying deep neural networks on resource-constrained devices. However, existing methods often face two major challenges: the highly non-uniform distribution of activations and the static, mismatched codebooks used in weight quantization. To address these challenges, we propose Adaptive Distribution-aware Quantization (ADQ), a mixed-precision quantization framework that employs a differentiated strategy. The core of ADQ is a novel adaptive weight quantization scheme comprising three key innovations: (1) a quantile-based initialization method that constructs a codebook closely aligned with the initial weight distribution; (2) an online codebook adaptation mechanism based on Exponential Moving Average (EMA) to dynamically track distributional shifts; and (3) a sensitivity-informed strategy for mixed-precision allocation. For activations, we integrate a hardware-friendly non-uniform-to-uniform mapping scheme. Comprehensive experiments validate the effectiveness of our method. On ImageNet, ADQ enables a ResNet-18 to achieve 71.512% Top-1 accuracy with an average bit-width of only 2.81 bits, outperforming state-of-the-art methods under comparable conditions. Furthermore, detailed ablation studies on CIFAR-10 systematically demonstrate the individual contributions of each innovative component, validating the rationale and effectiveness of our design.
format Preprint
id arxiv_https___arxiv_org_abs_2510_19760
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Distribution-aware Quantization for Mixed-Precision Neural Networks
Jia, Shaohang
Huang, Zhiyong
Yu, Zhi
Hou, Mingyang
Miao, Shuai
Yang, Han
Computer Vision and Pattern Recognition
Quantization-Aware Training (QAT) is a critical technique for deploying deep neural networks on resource-constrained devices. However, existing methods often face two major challenges: the highly non-uniform distribution of activations and the static, mismatched codebooks used in weight quantization. To address these challenges, we propose Adaptive Distribution-aware Quantization (ADQ), a mixed-precision quantization framework that employs a differentiated strategy. The core of ADQ is a novel adaptive weight quantization scheme comprising three key innovations: (1) a quantile-based initialization method that constructs a codebook closely aligned with the initial weight distribution; (2) an online codebook adaptation mechanism based on Exponential Moving Average (EMA) to dynamically track distributional shifts; and (3) a sensitivity-informed strategy for mixed-precision allocation. For activations, we integrate a hardware-friendly non-uniform-to-uniform mapping scheme. Comprehensive experiments validate the effectiveness of our method. On ImageNet, ADQ enables a ResNet-18 to achieve 71.512% Top-1 accuracy with an average bit-width of only 2.81 bits, outperforming state-of-the-art methods under comparable conditions. Furthermore, detailed ablation studies on CIFAR-10 systematically demonstrate the individual contributions of each innovative component, validating the rationale and effectiveness of our design.
title Adaptive Distribution-aware Quantization for Mixed-Precision Neural Networks
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2510.19760