Adaptive quantization with mixed-precision based on low-cost proxy

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Junzhe, Yang, Qiao, Tian, Senmao, Zhang, Shunli
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910397016047616
author Chen, Junzhe
Yang, Qiao
Tian, Senmao
Zhang, Shunli
author_facet Chen, Junzhe
Yang, Qiao
Tian, Senmao
Zhang, Shunli
contents It is critical to deploy complicated neural network models on hardware with limited resources. This paper proposes a novel model quantization method, named the Low-Cost Proxy-Based Adaptive Mixed-Precision Model Quantization (LCPAQ), which contains three key modules. The hardware-aware module is designed by considering the hardware limitations, while an adaptive mixed-precision quantization module is developed to evaluate the quantization sensitivity by using the Hessian matrix and Pareto frontier techniques. Integer linear programming is used to fine-tune the quantization across different layers. Then the low-cost proxy neural architecture search module efficiently explores the ideal quantization hyperparameters. Experiments on the ImageNet demonstrate that the proposed LCPAQ achieves comparable or superior quantization accuracy to existing mixed-precision models. Notably, LCPAQ achieves 1/200 of the search time compared with existing methods, which provides a shortcut in practical quantization use for resource-limited devices.
format Preprint
id arxiv_https___arxiv_org_abs_2402_17706
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adaptive quantization with mixed-precision based on low-cost proxy
Chen, Junzhe
Yang, Qiao
Tian, Senmao
Zhang, Shunli
Computer Vision and Pattern Recognition
It is critical to deploy complicated neural network models on hardware with limited resources. This paper proposes a novel model quantization method, named the Low-Cost Proxy-Based Adaptive Mixed-Precision Model Quantization (LCPAQ), which contains three key modules. The hardware-aware module is designed by considering the hardware limitations, while an adaptive mixed-precision quantization module is developed to evaluate the quantization sensitivity by using the Hessian matrix and Pareto frontier techniques. Integer linear programming is used to fine-tune the quantization across different layers. Then the low-cost proxy neural architecture search module efficiently explores the ideal quantization hyperparameters. Experiments on the ImageNet demonstrate that the proposed LCPAQ achieves comparable or superior quantization accuracy to existing mixed-precision models. Notably, LCPAQ achieves 1/200 of the search time compared with existing methods, which provides a shortcut in practical quantization use for resource-limited devices.
title Adaptive quantization with mixed-precision based on low-cost proxy
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.17706