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

图像分类中深度神经网络模型量化的全面综述

A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classification

University of Zanjan(赞詹大学);Universitätsklinikum Freiburg(弗莱堡大学医院)

Babak Rokh, Ali Azarpeyvand, Alireza Khanteymoori

AI总结:

该综述聚焦图像分类任务,系统梳理DNN量化的概念、各类方法、训练策略、硬件适配特性与评估基准,并给出前沿方法在主流数据集上的准确率,为量化技术的研究与应用提供全面参考。

摘要:

深度神经网络(DNNs)在机器学习领域的最新进展十分显著。DNNs虽能展现出高准确率,但参数量与计算量极为庞大,会导致高内存占用与高能耗。因此,在硬件资源受限的设备上部署DNNs面临着巨大挑战。为解决这一问题,各类压缩技术已被广泛应用于DNN加速器优化,其中极具前景的方法便是量化——将全精度值以低位宽精度存储。量化不仅能降低内存需求,还可将高成本运算替换为低成本运算。DNN量化在硬件设计中具备灵活性与高效性,因此已成为各类方法中广泛采用的技术。由于量化在已有研究中已被大量应用,亟需一份整合性报告,对不同量化方法进行阐释、分析与比较。为此,本文针对图像分类任务,开展了量化概念与方法的全面综述。文中阐述了基于聚类的量化方法,探究了比例因子参数在全精度值近似中的应用;此外,全面回顾了量化DNN的训练过程,包括直通估计器(straight-through estimator)与量化正则化的使用;解释了量化DNN中浮点运算被低成本位运算替代的机制,以及不同层在量化中的敏感性;还重点介绍了量化方法的评估指标,以及图像分类任务中的重要基准;同时给出了当前最优方法在CIFAR-10与ImageNet上的准确率结果。

英文摘要:

Recent advancements in machine learning achieved by Deep Neural Networks (DNNs) have been significant. While demonstrating high accuracy, DNNs are associated with a huge number of parameters and computations, which leads to high memory usage and energy consumption. As a result, deploying DNNs on devices with constrained hardware resources poses significant challenges. To overcome this, various compression techniques have been widely employed to optimize DNN accelerators. A promising approach is quantization, in which the full-precision values are stored in low bit-width precision. Quantization not only reduces memory requirements but also replaces high-cost operations with low-cost ones. DNN quantization offers flexibility and efficiency in hardware design, making it a widely adopted technique in various methods. Since quantization has been extensively utilized in previous works, there is a need for an integrated report that provides an understanding, analysis, and comparison of different quantization approaches. Consequently, we present a comprehensive survey of quantization concepts and methods, with a focus on image classification. We describe clustering-based quantization methods and explore the use of a scale factor parameter for approximating full-precision values. Moreover, we thoroughly review the training of a quantized DNN, including the use of a straight-through estimator and quantization regularization. We explain the replacement of floating-point operations with low-cost bitwise operations in a quantized DNN and the sensitivity of different layers in quantization. Furthermore, we highlight the evaluation metrics for quantization methods and important benchmarks in the image classification task. We also present the accuracy of the state-of-the-art methods on CIFAR-10 and ImageNet.

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

↑