AdaBM:面向图像超分辨率的即时自适应比特映射
AdaBM: On-the-Fly Adaptive Bit Mapping for Image Super-Resolution
AI总结:
针对图像超分辨率自适应量化依赖完整训练数据和耗时量化感知训练的问题,本文提出AdaBM,仅用两个比特映射模块和少量校准图像即可即时确定图像级与层级比特配置,性能具竞争力且处理速度提升2000倍。
摘要:
尽管图像超分辨率(SR)问题借助深度神经网络已经取得前所未有的复原精度,但由于巨大的计算成本,其在多种场景中的应用仍受到限制。由于用于SR的不同输入图像面临不同的复原难度,根据输入图像调整计算成本(称为自适应推理)已成为压缩SR网络的一种有前景的解决方案。具体而言,调整量化比特宽度已经成功降低了推理和内存成本,且没有牺牲精度。然而,尽管所得自适应网络具有这些优势,现有工作仍依赖耗时的量化感知训练,并需要完全访问原始训练图像对来学习合适的比特分配策略,这限制了其普遍使用。为此,我们提出首个即时自适应量化框架,将处理时间从数小时缩短到数秒。我们仅使用两个比特映射模块来形式化比特分配问题:一个模块将输入图像映射为图像级比特自适应因子,另一个模块用于获得层级自适应因子。这些比特映射仅使用少量校准图像进行校准和微调。我们取得了与以往自适应量化方法相比具有竞争力的性能,同时处理时间加速了2000倍。代码可在 https://github.com/Cheeun/AdaBM 获取。
英文摘要:
Although image super-resolution (SR) problem has experienced unprecedented restoration accuracy with deep neural networks, it has yet limited versatile applications due to the substantial computational costs. Since different input images for SR face different restoration difficulties, adapting computational costs based on the input image, referred to as adaptive inference, has emerged as a promising solution to compress SR networks. Specifically, adapting the quantization bit-widths has successfully reduced the inference and memory cost without sacrificing the accuracy. However, despite the benefits of the resultant adaptive network, existing works rely on time-intensive quantization-aware training with full access to the original training pairs to learn the appropriate bit allocation policies, which limits its ubiquitous usage. To this end, we introduce the first on-the-fly adaptive quantization framework that accelerates the processing time from hours to seconds. We formulate the bit allocation problem with only two bit mapping modules: one to map the input image to the image-wise bit adaptation factor and one to obtain the layer-wise adaptation factors. These bit mappings are calibrated and fine-tuned using only a small number of calibration images. We achieve competitive performance with the previous adaptive quantization methods, while the processing time is accelerated by x2000. Codes are available at https://github.com/Cheeun/AdaBM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。