Abstract
This paper introduces a "plug-and-play" algorithm that significantly boosts the perceptual quality of any existing image codec without requiring expensive retraining. By leveraging pre-trained diffusion and consistency models to "refine" decoded images, the authors slash decoding times from the typical 1 minute required by previous training-free methods down to just 0.1 seconds, while outperforming state-of-the-art conditional generative models in visual fidelity.
Introduction
Traditional image compression focuses on minimizing distortion (like MSE). However, at low bitrates, this often leads to blurry images. Perceptual image codecs solve this by using generative models (GANs or Diffusion) to produce "perceptually lossless" results.
The catch? Most perceptual codecs require training a conditional generative model from scratch, which is computationally expensive and rigid. Recent "training-free" alternatives use pre-trained unconditional models (like standard Stable Diffusion components) but are notoriously slow—often taking over a minute to decode a single image because they rely on complex "diffusion inversion" or iterative sampling. This paper tackles the "slow decoding" bottleneck of training-free perceptual compression.
Methodology
The authors propose a simple three-step procedure on the decoder side:
- Decode: Use any base codec (e.g., VTM, ELIC) to get an initial reconstruction $\hat{X}$.
- Add Noise: Intentionally add Gaussian noise to the decoded image to reach a specific noise level $\sigma_t$.
- Denoise: Use a pre-trained generative model (like a Diffusion or Consistency Model) to remove that noise and move the image closer to the distribution of real images.
The core innovation lies in their Implementation Presets, which allow users to trade time for quality:
- Fast (~0.1s): Uses a Consistency Model (CM) to perform one-step denoising. This is roughly 600x faster than previous methods.
- Medium (0.1–10s): Uses standard ODE/SDE solvers (like DPM-solver) with multiple steps.
- Slow (≥10s): Combines an SDE solver with a "diffusion inversion constraint" (DPS) for maximum quality.
Crucially, they provide a theoretical guarantee that this "noise-then-denoise" process reduces the KL divergence between the decoded image distribution and the real image distribution, effectively "pulling" the blurry output of a standard codec toward a realistic-looking one.
Experimental Results
The researchers evaluated their approach using the LSUN Bedroom and ImageNet datasets. They applied their method to several base codecs: ELIC (a high-performance learned codec), VTM (the reference software for the H.266/VVC standard), and MS-ILLM (an existing perceptual codec).
Key results include:
- Speed: The "Fast" preset achieves decoding in ~0.1 seconds, compared to ~60 seconds for the previous state-of-the-art training-free codec (IVC).
- Perceptual Quality: In terms of FID (Fréchet Inception Distance), the proposed method outperformed established conditional models like HiFiC and MS-ILLM.
- Performance on VTM: It successfully turned VTM (a standard non-perceptual codec) into a perceptual one, significantly improving its visual appeal at low bitrates.
Key Insights
- Universal Compatibility: Unlike previous methods that required the base codec to be "differentiable", this method treats the codec as a black box. It even works on traditional, non-neural codecs like VTM.
- The "Double MSE" Rule: The authors found that the optimal amount of noise to add is the amount that roughly doubles the Mean Square Error (MSE) of the base codec. This provides a practical heuristic for balancing realism (perception) and faithfulness to the original (distortion).
- Consistency Models are the Key: By adopting Consistency Models (distilled diffusion models designed for single-step generation), they achieved decoding speeds comparable to standard neural codecs while maintaining high perceptual quality.
Limitations and Future Work
- Resolution Scaling: The current approach is limited by the availability of pre-trained Consistency Models for high-resolution images. Scaling to 4K or 8K images remains a challenge.
- Out-of-Distribution (OOD) Issues: Since the method relies on a pre-trained generative prior, it can "hallucinate" incorrectly if the input image is very different from the training data. For example, a model trained on bedrooms might try to turn a person in the image into furniture-like textures.
- Latent Space Potential: Applying this method in the latent space of a model (like Stable Diffusion) rather than pixel space could be a promising future direction to handle larger images more efficiently.
Summary updated