arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.05168eess.IV
收藏

Soft then Hard:重新思考神经图像压缩中的量化

Soft then Hard: Rethinking the Quantization in Neural Image Compression

Zongyu Guo, Zhizheng Zhang, Runsen Feng, Zhibo Chen

AI总结:

本文提出一种软到硬量化策略,先软性学习潜在空间再硬量化消除训练-测试不匹配,并引入缩放加性均匀噪声自适应控制量化粒度,显著提升神经图像压缩的率失真性能。

摘要:

量化是有损图像压缩的核心组件之一。对于神经图像压缩,端到端优化需要可微的量化近似,这些近似通常可分为三类:加性均匀噪声、直通估计器和软到硬退火。使用加性均匀噪声进行训练以变分方式近似量化误差,但存在训练-测试不匹配问题。另外两种方法不会遇到这种不匹配,但如本文所示,由于潜在表示能力被削弱,它们会损害率失真性能。因此,我们提出了一种用于神经图像压缩的新型软到硬量化策略,该策略首先软性地学习一个富有表现力的潜在空间,然后通过硬量化消除训练-测试不匹配。此外,超越固定整数量化,我们通过在实际速率上推导一个新的变分上界,应用缩放加性均匀噪声来自适应控制量化粒度。实验表明,我们提出的方法易于采用、训练稳定,尤其在复杂压缩模型上非常有效。

英文摘要:

Quantization is one of the core components in lossy image compression. For neural image compression, end-to-end optimization requires differentiable approximations of quantization, which can generally be grouped into three categories: additive uniform noise, straight-through estimator and soft-to-hard annealing. Training with additive uniform noise approximates the quantization error variationally but suffers from the train-test mismatch. The other two methods do not encounter this mismatch but, as shown in this paper, hurt the rate-distortion performance since the latent representation ability is weakened. We thus propose a novel soft-then-hard quantization strategy for neural image compression that first learns an expressive latent space softly, then closes the train-test mismatch with hard quantization. In addition, beyond the fixed integer quantization, we apply scaled additive uniform noise to adaptively control the quantization granularity by deriving a new variational upper bound on actual rate. Experiments demonstrate that our proposed methods are easy to adopt, stable to train, and highly effective especially on complex compression models.

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

↑