PSC: Posterior Sampling-Based Compression
Noam Elata, Tomer Michaeli, Michael Elad
TL;DR
PSC tackles flexible, training-free image compression by constructing an image-specific transform ${\bm{H}}$ in an adaptive, progressive manner. It leverages a pre-trained diffusion model as the sole neural component and uses a diffusion-based posterior sampler to select transform rows, enabling zero-shot compression without transmitting ${\bm{H}}$ while encoding measurements ${\mathbf{y}} = {\bm{H}}{\mathbf{x}}$ through quantization $Q(\cdot)$. The method achieves competitive rate-distortion and perceptual quality across rates, including a latent-PSC variant that operates in the diffusion latent space conditioned on text prompts. While computationally intensive and currently using simplified quantization, PSC offers a scalable framework that improves in tandem with advances in diffusion/posterior sampling.
Abstract
Diffusion models have transformed the landscape of image generation and now show remarkable potential for image compression. Most of the recent diffusion-based compression methods require training and are tailored for a specific bit-rate. In this work, we propose Posterior Sampling-based Compression (PSC) - a zero-shot compression method that leverages a pre-trained diffusion model as its sole neural network component, thus enabling the use of diverse, publicly available models without additional training. Our approach is inspired by transform coding methods, which encode the image in some pre-chosen transform domain. However, PSC constructs a transform that is adaptive to the image. This is done by employing a zero-shot diffusion-based posterior sampler so as to progressively construct the rows of the transform matrix. Each new chunk of rows is chosen to reduce the uncertainty about the image given the quantized measurements collected thus far. Importantly, the same adaptive scheme can be replicated at the decoder, thus avoiding the need to encode the transform itself. We demonstrate that even with basic quantization and entropy coding, PSC's performance is comparable to established training-based methods in terms of rate, distortion, and perceptual quality. This is while providing greater flexibility, allowing to choose at inference time any desired rate or distortion.
