[Paper Review] Towards image compression with perfect realism at ultra-low bitrates
PerCo uses a diffusion-based decoder conditioned on vector-quantized latent representations and a textual caption to achieve perceptually realistic image reconstructions at ultra-low bitrates, outperforming state-of-the-art codecs in realism metrics across very low bits per pixel.
Image codecs are typically optimized to trade-off bitrate \vs distortion metrics. At low bitrates, this leads to compression artefacts which are easily perceptible, even when training with perceptual or adversarial losses. To improve image quality and remove dependency on the bitrate, we propose to decode with iterative diffusion models. We condition the decoding process on a vector-quantized image representation, as well as a global image description to provide additional context. We dub our model PerCo for 'perceptual compression', and compare it to state-of-the-art codecs at rates from 0.1 down to 0.003 bits per pixel. The latter rate is more than an order of magnitude smaller than those considered in most prior work, compressing a 512x768 Kodak image with less than 153 bytes. Despite this ultra-low bitrate, our approach maintains the ability to reconstruct realistic images. We find that our model leads to reconstructions with state-of-the-art visual quality as measured by FID and KID. As predicted by rate-distortion-perception theory, visual quality is less dependent on the bitrate than previous methods.
Motivation & Objective
- Motivate image compression that maintains realism at very low bitrates beyond traditional rate-distortion tradeoffs.
- Introduce a diffusion-model-based decoder to reconstruct realistic images from compressed latents.
- Enhance conditioning with both local latent representations and global textual image descriptions.
- Evaluate realism and semantics preservation against state-of-the-art codecs on Kodak and MS-COCO 30k.
Proposed method
- Encode images into local and global latents via a VQ-VAE-like hyperprior integrated with a latent diffusion model (LDM) encoder.
- Quantize the hyper latents and transmit them with a uniform code to form a bitstream.
- Condition the diffusion-based decoder on both quantized local features and a losslessly transmitted text caption describing the image; apply cross-attention for text conditioning.
- Train with a diffusion-reconstruction loss that includes a diffusion-based distortion term and optional LPIPS-based perceptual loss; use classifier-free guidance at inference with a guidance scale.
- Leverage a pre-trained text-conditioned diffusion model, freeze autoencoder weights, and finetune only hyper-encoder and diffusion components on OpenImages.
Experimental results
Research questions
- RQ1Can a diffusion-based decoder conditioned on textual and local visual context achieve realistic reconstructions at ultra-low bitrates (as low as 0.003 bpp)?
- RQ2Does combining vector-quantized latent representations with a global caption improve realism and semantic preservation at low rates?
- RQ3How do realism metrics (FID/KID) and semantics metrics (CLIP, mIoU) behave across varying bitrates for PerCo compared to baselines?
- RQ4What is the impact of conditioning modalities (text vs. spatial) and classifier-free guidance on reconstruction quality?
- RQ5What are the limitations in higher resolutions and which ablations reveal the bottlenecks of PerCo?
Key findings
- PerCo achieves realistic reconstructions at 0.0032 bpp on Kodak/MS-COCO 30k with state-of-the-art FID and KID scores at low rates.
- PerCo's FID and KID curves are flatter across bitrates, indicating decoupling of realism from bitrate.
- Semantics-related metrics (CLIP, mIoU) improve relative to baselines, particularly at low rates.
- Ablations show textual conditioning and spatial conditioning both contribute to FID and mIoU improvements; ground-truth captions yield similar trends to BLIP/IDEFICS captions.
- Quantization bottleneck, not the diffusion model, largely governs performance; LDM autoencoder provides notable gains.
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.