arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17706cs.CV
收藏

基于低成本代理的自适应混合精度量化

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

Beijing Jiaotong University(北京交通大学);School of Software Engineering(软件学院)

Junzhe Chen, Qiao Yang, Senmao Tian, Shunli Zhang

AI总结:

针对资源受限硬件部署难题,本文提出 LCPAQ 混合精度量化方法,融合硬件感知、Hessian 与 Pareto 敏感性评估、整数规划及低成本代理架构搜索,在 ImageNet 上保持精度并将搜索时间降至现有方法的 1/200。

摘要:

在资源受限的硬件上部署复杂神经网络模型至关重要。本文提出一种名为基于低成本代理的自适应混合精度模型量化(LCPAQ)的新型模型量化方法,该方法包含三个关键模块。硬件感知模块在设计时考虑了硬件限制,同时开发了自适应混合精度量化模块,利用 Hessian 矩阵和 Pareto 前沿技术评估量化敏感性。整数线性规划用于微调不同层之间的量化。随后,低成本代理神经架构搜索模块高效探索理想的量化超参数。在 ImageNet 上的实验表明,所提出的 LCPAQ 取得了与现有混合精度模型相当或更优的量化精度。值得注意的是,与现有方法相比,LCPAQ 的搜索时间仅为其 1/200,这为资源受限设备上的实际量化应用提供了一条捷径。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑