arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.10345cs.CVeess.IV
收藏

CADyQ:面向图像超分辨率的内容感知动态Quantization

CADyQ: Content-Aware Dynamic Quantization for Image Super-Resolution

Hanyang University(汉阳大学);NVIDIA(英伟达);Seoul National University(首尔大学)

Cheeun Hong, Sungyong Baik, Heewon Kim, Seungjun Nah, Kyoung Mu Lee

摘要:

尽管利用卷积神经网络(CNN)在图像超分辨率(SR)方面取得了突破性进展,但由于SR网络的高计算复杂性,SR尚未享有普遍的应用。量化是解决这一问题的有效方法之一。然而,现有的方法不能将比特宽度低于8比特的SR模型进行量化,由于到处应用固定的比特宽度量化,因此遭受严重的精度损失。在这项工作中,为了实现高平均比特减少与准确性损失少,我们提出了一种新的内容感知动态量化(CADyQ)SR网络的方法,分配最佳的比特到局部区域和层自适应的基础上输入图像的局部内容。为此,引入了一个可训练的位选择器模块,以确定每个层和给定的局部图像补丁的适当的位宽和量化级别。该模块由量化灵敏度控制,该量化灵敏度通过使用补丁的图像梯度的平均幅度和层的输入特征的标准偏差来估计。所提出的量化管道已经在各种SR网络上进行了测试,并在几个标准基准上进行了广泛的评估。计算复杂性的显著降低和提高的恢复精度清楚地证明了所提出的用于SR的CADyQ框架的有效性。代码可在https://github.com/Cheeun/CADyQ获得。

英文摘要:

Despite breakthrough advances in image super-resolution (SR) with convolutional neural networks (CNNs), SR has yet to enjoy ubiquitous applications due to the high computational complexity of SR networks. Quantization is one of the promising approaches to solve this problem. However, existing methods fail to quantize SR models with a bit-width lower than 8 bits, suffering from severe accuracy loss due to fixed bit-width quantization applied everywhere. In this work, to achieve high average bit-reduction with less accuracy loss, we propose a novel Content-Aware Dynamic Quantization (CADyQ) method for SR networks that allocates optimal bits to local regions and layers adaptively based on the local contents of an input image. To this end, a trainable bit selector module is introduced to determine the proper bit-width and quantization level for each layer and a given local image patch. This module is governed by the quantization sensitivity that is estimated by using both the average magnitude of image gradient of the patch and the standard deviation of the input feature of the layer. The proposed quantization pipeline has been tested on various SR networks and evaluated on several standard benchmarks extensively. Significant reduction in computational complexity and the elevated restoration accuracy clearly demonstrate the effectiveness of the proposed CADyQ framework for SR. Codes are available at https://github.com/Cheeun/CADyQ.

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

↑