arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.14330eess.IVcs.CV
收藏

细粒度思考:利用多粒度线索的图像超分辨率动态量化

Thinking in Granularity: Dynamic Quantization for Image Super-Resolution by Intriguing Multi-Granularity Clues

Hefei University of Technology(合肥工业大学);Yunnan Key Laboratory of Software Engineering(云南省软件工程重点实验室);Anhui University(安徽大学)

Mingshen Wang, Zhao Zhang, Feng Li, Ke Xu, Kang Miao, Meng Wang

AI总结:

本文提出Granular-DQ框架,通过多粒度分析局部图像块的信息密度,采用粒度-比特控制器和熵到比特机制实现逐块且层不变的动态量化,在保持超分辨率精度的同时提升了量化效率。

摘要:

动态量化在图像超分辨率(SR)领域引起了越来越多的关注,因为它在保持有竞争力的性能的同时,将重型SR模型的潜力扩展到了移动设备上。现有方法在不同局部区域上探索层到比特的配置,自适应地为每一层和每个图像块分配比特。尽管有这些优势,它们在SR精度和量化效率的权衡上仍然存在不足。此外,单独为每一层调整量化级别可能会扰乱原有的层间关系,从而削弱量化模型的表示能力。在本工作中,我们提出了Granular-DQ,该方法利用图像的内在特征,同时摒弃了以往量化中对层敏感性的考虑。Granular-DQ对局部图像块进行多粒度分析,并进一步探索其信息密度,实现了一种独特的逐块且层不变的动态量化范式。具体而言,Granular-DQ首先开发了一个粒度-比特控制器(GBC),以捕捉不同图像块从粗到细的粒度表示,匹配它们对整幅图像的比例贡献,从而确定合适的比特宽度分配。在此基础上,我们研究了比特宽度与信息密度之间的关系,设计了一种熵到比特(E2B)机制,能够对高比特图像块进行进一步的细粒度动态比特调整。大量实验验证了Granular-DQ在各种SR模型上相对于近期最先进方法的优越性和泛化能力。代码和补充说明可在\url{https://github.com/MmmingS/Granular-DQ.git}找到。

英文摘要:

Dynamic quantization has attracted rising attention in image super-resolution (SR) as it expands the potential of heavy SR models onto mobile devices while preserving competitive performance. Existing methods explore layer-to-bit configuration upon varying local regions, adaptively allocating the bit to each layer and patch. Despite the benefits, they still fall short in the trade-off of SR accuracy and quantization efficiency. Apart from this, adapting the quantization level for each layer individually can disturb the original inter-layer relationships, thus diminishing the representation capability of quantized models. In this work, we propose Granular-DQ, which capitalizes on the intrinsic characteristics of images while dispensing with the previous consideration for layer sensitivity in quantization. Granular-DQ conducts a multi-granularity analysis of local patches with further exploration of their information densities, achieving a distinctive patch-wise and layer-invariant dynamic quantization paradigm. Specifically, Granular-DQ initiates by developing a granularity-bit controller (GBC) to apprehend the coarse-to-fine granular representations of different patches, matching their proportional contribution to the entire image to determine the proper bit-width allocation. On this premise, we investigate the relation between bit-width and information density, devising an entropy-to-bit (E2B) mechanism that enables further fine-grained dynamic bit adaption of high-bit patches. Extensive experiments validate the superiority and generalization ability of Granular-DQ over recent state-of-the-art methods on various SR models. Code and supplementary statement can be found at \url{https://github.com/MmmingS/Granular-DQ.git}.

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

↑