[Paper Review] Lossy Image Compression with Conditional Diffusion Models
Proposes an end-to-end lossy image compression framework that uses a conditional diffusion model as the decoder within a transform-coding architecture, enabling rate-distortion-perception tradeoffs and fast decoding with X-prediction.
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}
Motivation & Objective
- Introduce a transform-coding-based lossy image compression framework that uses a conditional diffusion model as the decoder.
- Encode an image into a content latent variable to condition a diffusion process for reconstruction.
- Enable tunable tradeoffs between rate, distortion, and perceptual quality.
- Demonstrate improved perceptual metrics (e.g., FID) while maintaining competitive distortion performance.
Proposed method
- Encode images into a context latent z with a two-level hierarchical prior for entropy coding of z.
- Decode by conditioning a denoising diffusion process on z to reconstruct x0, while synthesizing texture variables x1:N at decode time.
- Derive a variational upper bound to the diffusion model's implicit rate-distortion function to form the training objective.
- Use X-prediction for fast decoding with a small number of steps, optionally enabling stochastic decoding with a gamma-noise parameter.
- Optionally add perceptual losses to trade rate-distortion-perception via a rho-weighted combination.
- Provide a DDIM-based decoding scheme and discuss deterministic vs. stochastic decoding for perceptual control.
Experimental results
Research questions
- RQ1Can a diffusion-based decoder improve perceptual quality for learned image compression while maintaining competitive rate-distortion performance?
- RQ2Does conditioning a diffusion process on a content latent enable controllable perception–distortion tradeoffs in practice?
- RQ3Can X-prediction enable high-quality reconstructions with relatively few decoding steps?
- RQ4What is the impact of stochastic decoding and perceptual losses on metrics like FID and LPIPS?
- RQ5How does the proposed method compare to GAN- and VAE-based codecs across multiple datasets and metrics?
Key findings
- CDC yields best reported FID scores among compared methods and is competitive with VAE-based models on several distortion metrics.
- An X-prediction variant with few decoding steps achieves high-quality reconstructions efficiently.
- Deterministic decoding favors distortion metrics, while stochastic decoding improves perceptual metrics under appropriate settings.
- Varying the perceptual tradeoff parameter rho enables a three-way rate–distortion–perception tradeoff.
- The approach can outperform GAN-based baselines on perceptual quality while maintaining competitive rate-distortion performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.