arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.03844eess.IVcs.CV
收藏

超低精度超分辨网络的动态对偶可训练界

Dynamic Dual Trainable Bounds for Ultra-low Precision Super-Resolution Networks

Tencent Youtu Lab(腾讯优图实验室);Xiamen University(厦门大学)

Yunshan Zhong, Mingbao Lin, Xunchao Li, Ke Li, Yunhang Shen, Fei Chao, Yongjian Wu, Rongrong Ji

摘要:

轻量级超分辨率(SR)模型由于其在移动设备中的可服务性而受到相当大的关注。许多努力采用网络量化来压缩SR模型。然而,这些方法在将SR模型量化到超低精度(例如,2-位和3位)与低成本逐层量化器。在本文中,我们确定的性能下降来自层之间的矛盾对称量化器和高度不对称的激活分布SR模型。这种差异导致量化水平上的浪费或重建图像中的细节损失。因此,我们提出了一种新的激活量化器,称为动态双可训练边界(DDTB),以适应激活的不对称性。具体而言,DDTB创新于:1)具有可训练上限和下限的逐层量化器,以解决高度不对称的激活。2)动态门控制器用于在运行时自适应地调整上下限,以克服在不同样本上急剧变化的激活范围。为了减少额外的开销,动态门控制器被量化为2位,并根据引入的动态强度仅应用于部分SR网络。大量的实验表明,我们的DDTB表现出显着的性能改善超低精度。例如,当将EDSR量化为2位并将输出图像放大到x4时,我们的DDTB在Urban100基准上实现了0.70dB的PSNR增加。代码位于\url{https://github.com/zysxmu/DDTB}。

英文摘要:

Light-weight super-resolution (SR) models have received considerable attention for their serviceability in mobile devices. Many efforts employ network quantization to compress SR models. However, these methods suffer from severe performance degradation when quantizing the SR models to ultra-low precision (e.g., 2-bit and 3-bit) with the low-cost layer-wise quantizer. In this paper, we identify that the performance drop comes from the contradiction between the layer-wise symmetric quantizer and the highly asymmetric activation distribution in SR models. This discrepancy leads to either a waste on the quantization levels or detail loss in reconstructed images. Therefore, we propose a novel activation quantizer, referred to as Dynamic Dual Trainable Bounds (DDTB), to accommodate the asymmetry of the activations. Specifically, DDTB innovates in: 1) A layer-wise quantizer with trainable upper and lower bounds to tackle the highly asymmetric activations. 2) A dynamic gate controller to adaptively adjust the upper and lower bounds at runtime to overcome the drastically varying activation ranges over different samples.To reduce the extra overhead, the dynamic gate controller is quantized to 2-bit and applied to only part of the SR networks according to the introduced dynamic intensity. Extensive experiments demonstrate that our DDTB exhibits significant performance improvements in ultra-low precision. For example, our DDTB achieves a 0.70dB PSNR increase on Urban100 benchmark when quantizing EDSR to 2-bit and scaling up output images to x4. Code is at \url{https://github.com/zysxmu/DDTB}.

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

↑