Skip to main content
QUICK REVIEW

[论文解读] Lossy Image Compression with Conditional Diffusion Models

Ruihan Yang, Stephan Mandt|arXiv (Cornell University)|Sep 14, 2022
Generative Adversarial Networks and Image SynthesisComputer Science被引用 30
一句话总结

提出一个端到端有损图像压缩框架,在变换编码架构中将条件扩散模型作为解码器,实现速率失真感知权衡并结合 X-prediction 进行快速解码。

ABSTRACT

This paper outlines an end-to-end optimized lossy image compression framework using diffusion generative models. The approach relies on the transform coding paradigm, where an image is mapped into a latent space for entropy coding and, from there, mapped back to the data space for reconstruction. In contrast to VAE-based neural compression, where the (mean) decoder is a deterministic neural network, our decoder is a conditional diffusion model. Our approach thus introduces an additional ``content'' latent variable on which the reverse diffusion process is conditioned and uses this variable to store information about the image. The remaining ``texture'' variables characterizing the diffusion process are synthesized at decoding time. We show that the model's performance can be tuned toward perceptual metrics of interest. Our extensive experiments involving multiple datasets and image quality assessment metrics show that our approach yields stronger reported FID scores than the GAN-based model, while also yielding competitive performance with VAE-based models in several distortion metrics. Furthermore, training the diffusion with $\mathcal{X}$-parameterization enables high-quality reconstructions in only a handful of decoding steps, greatly affecting the model's practicality. Our code is available at: \url{https://github.com/buggyyang/CDC_compression}

研究动机与目标

  • 引入一个基于变换编码的有损图像压缩框架,该框架使用条件扩散模型作为解码器。
  • 将图像编码为一个内容潜变量以对扩散过程进行重建条件化。
  • 实现可调的速率、失真和感知质量之间的权衡。
  • 在保持具有竞争力的失真性能的同时,展示改进的感知指标(如 FID)。

提出的方法

  • 将图像编码为带有两级分层先验的上下文潜变量 z,以对 z 进行熵编码。
  • 通过将去噪扩散过程在 z 上条件化来重建 x0,同时在解码时合成纹理变量 x1:N。
  • 推导扩散模型隐式率失真函数的变分上界,以形成训练目标。
  • 使用 X-prediction 实现少量解码步骤的快速解码,可选地启用带 gamma 噪声参数的随机解码。
  • 可选地添加感知损失,通过 rho 加权组合在速率、失真和感知之间进行权衡。
  • 提供基于 DDIM 的解码方案,并讨论用于感知控制的确定性解码与随机解码。

实验结果

研究问题

  • RQ1基于扩散的解码器是否能够在保持具有竞争力的速率-失真性能的同时提高学习图像压缩的感知质量?
  • RQ2在实践中,将扩散过程条件化到内容潜变量是否能够实现可控的感知–失真权衡?
  • RQ3X-prediction 能否在相对较少的解码步骤中实现高质量重建?
  • RQ4随机解码和感知损失对 FID、LPIPS 等指标的影响是什么?
  • RQ5所提方法在多数据集和多指标下与基于 GAN 与 VAE 的编码器相比如何?

主要发现

  • CDC 在所比较的方法中提供了报告的最佳 FID 分数,并且在若干失真指标上与基于 VAE 的模型具有竞争力。
  • 带少量解码步骤的 X-prediction 变体能够高效地实现高质量的重建。
  • 确定性解码有利于失真指标,而在适当设置下,随机解码可以改善感知指标。
  • 改变感知权衡参数 rho 可以实现三方的速率–失真–感知权衡。
  • 该方法在感知质量方面可以超越 GAN 的基线,同时保持具有竞争力的速率-失真性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。