Once-for-All:具有动态粒度自适应的可控生成式图像压缩
Once-for-All: Controllable Generative Image Compression with Dynamic Granularity Adaptation
AI总结:
本文提出Control-GIC框架,基于VQGAN和动态粒度分配实现细粒度可控码率的生成式图像压缩,并通过概率条件解码器提升重建质量,性能优于现有方法。
摘要:
尽管近期的生成式图像压缩方法在优化率-失真-感知权衡方面展现出令人瞩目的潜力,但它们仍面临灵活速率自适应以适应多样化压缩需求和场景的关键挑战。为克服这一挑战,本文提出了一种可控生成式图像压缩框架,称为Control-GIC,它是首个能够在广泛范围内实现细粒度码率自适应,同时确保高保真度和通用性压缩的框架。Control-GIC基于VQGAN框架,将图像编码为可变长度码(即VQ索引)序列,这些码可以被无损压缩,并与码率呈直接正相关关系。受经典编码原理启发,我们将局部图像块的信息密度与其粒度表示相关联。因此,我们可以灵活地为图像块确定适当的粒度分配,以实现对VQ索引的动态调整,从而获得期望的压缩率。我们进一步开发了一种概率条件解码器,能够根据传输的码检索历史编码的多粒度表示,然后以条件概率的形式重建分层粒度特征,从而实现更具信息量的聚合以提升重建真实感。我们的实验表明,Control-GIC允许高度灵活和可控的码率自适应,结果证明了其优于近期最先进方法的性能。代码可在https://github.com/lianqi1008/Control-GIC获取。
英文摘要:
Although recent generative image compression methods have demonstrated impressive potential in optimizing the rate-distortion-perception trade-off, they still face the critical challenge of flexible rate adaption to diverse compression necessities and scenarios. To overcome this challenge, this paper proposes a Controllable Generative Image Compression framework, termed Control-GIC, the first capable of fine-grained bitrate adaption across a broad spectrum while ensuring high-fidelity and generality compression. Control-GIC is grounded in a VQGAN framework that encodes an image as a sequence of variable-length codes (i.e. VQ-indices), which can be losslessly compressed and exhibits a direct positive correlation with the bitrates. Drawing inspiration from the classical coding principle, we correlate the information density of local image patches with their granular representations. Hence, we can flexibly determine a proper allocation of granularity for the patches to achieve dynamic adjustment for VQ-indices, resulting in desirable compression rates. We further develop a probabilistic conditional decoder capable of retrieving historic encoded multi-granularity representations according to transmitted codes, and then reconstruct hierarchical granular features in the formalization of conditional probability, enabling more informative aggregation to improve reconstruction realism. Our experiments show that Control-GIC allows highly flexible and controllable bitrate adaption where the results demonstrate its superior performance over recent state-of-the-art methods. Code is available at https://github.com/lianqi1008/Control-GIC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。