paper-with-me

홈 › Papers

Data Quality-aware Mixed-precision Quantization via Hybrid Reinforcement Learning

2023-02-09 · Yingchun Wang, Jingcai Guo, Song Guo, Weizhan Zhang

Mixed-precision quantization mostly predetermines the model bit-width settings before actual training due to the non-differential bit-width sampling process, obtaining sub-optimal performance. Worse still, the conventional static quality-consistent training setting, i.e., all data is assumed to be of the same quality across training and inference, overlooks data quality changes in real-world applications which may lead to poor robustness of the quantized models. In this paper, we propose a novel Data Quality-aware Mixed-precision Quantization framework, dubbed DQMQ, to dynamically adapt quantization bit-widths to different data qualities. The adaption is based on a bit-width decision policy that can be learned jointly with the quantization training. Concretely, DQMQ is modeled as a hybrid reinforcement learning (RL) task that combines model-based policy optimization with supervised quantization training. By relaxing the discrete bit-width sampling to a continuous probability distribution that is encoded with few learnable parameters, DQMQ is differentiable and can be directly optimized end-to-end with a hybrid optimization target considering both task performance and quantization benefits. Trained on mixed-quality image datasets, DQMQ can implicitly select the most proper bit-width for each layer when facing uneven input qualities. Extensive experiments on various benchmark datasets and networks demonstrate the superiority of DQMQ against existing fixed/mixed-precision quantization methods.

📄 PDF Abstract BibTeX arXiv:2302.04453

Code (0)

등록된 구현이 없습니다.

Tasks

Quantizationreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

MetaMix: Meta-state Precision Searcher for Mixed-precision Activation Quantization

2023-11-12 · Han-Byul Kim, Joo Hyung Lee, Sungjoo Yoo, Hong-Seok Kim

Mixed-precision quantization of efficient networks often suffer from activation instability encountered in the exploration of bit selections. To address this problem, we propose a novel method called MetaMix which consis…

Quantization

APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models

2024-02-21 · Ziyi Guan, Hantao Huang, Yupeng Su, Hong Huang 외

Large Language Models (LLMs) have greatly advanced the natural language processing paradigm. However, the high computational load and huge model sizes pose a grand challenge for deployment on edge devices. To this end, w…

Quantization

FairQuant: Fairness-Aware Mixed-Precision Quantization for Medical Image Classification

2026-02-26 · Thomas Woergaard, Raghavendra Selvan arxiv

Compressing neural networks by quantizing model parameters offers useful trade-off between performance and efficiency. Methods like quantization-aware training and post-training quantization strive to maintain the downst…

Medical Image Classification

BOMP-NAS: Bayesian Optimization Mixed Precision NAS

2023-01-27 · David van Son, Floran de Putter, Sebastian Vogel, Henk Corporaal

Bayesian Optimization Mixed-Precision Neural Architecture Search (BOMP-NAS) is an approach to quantization-aware neural architecture search (QA-NAS) that leverages both Bayesian optimization (BO) and mixed-precision quan…

Bayesian OptimizationNeural Architecture SearchQuantization

CSQ: Growing Mixed-Precision Quantization Scheme with Bi-level Continuous Sparsification

2022-12-06 · Lirui Xiao, Huanrui Yang, Zhen Dong, Kurt Keutzer 외

Mixed-precision quantization has been widely applied on deep neural networks (DNNs) as it leads to significantly better efficiency-accuracy tradeoffs compared to uniform quantization. Meanwhile, determining the exact pre…

Quantization