Introduction
Diffusion probabilistic models have achieved mainstream success in generative modeling, but adapting them for efficient data compression has remained a significant challenge. Theoretically, a diffusion model's training objective—the evidence lower bound (ELBO)—is directly linked to compression cost. However, standard diffusion relies on Gaussian noise. Communicating Gaussian samples between a sender and receiver requires Relative Entropy Coding (REC), a technique with a runtime complexity that scales exponentially with the amount of information sent.
To address this, researchers have introduced Universally Quantized Diffusion Models (UQDM). UQDM is a novel framework that adapts diffusion models for efficient, progressive image compression. By replacing standard Gaussian noise with uniform noise, the authors enable the use of Universal Quantization, bypassing the exponential computational complexity that previously hindered diffusion-based codecs while achieving state-of-the-art rate-distortion-realism performance.
Methodology: Tractability via Uniformity
The core innovation of UQDM is the shift from Gaussian to uniform noise, which preserves the hierarchical structure of diffusion while making the transmission of bits computationally tractable. The framework relies on several key components:
- Uniform Noise Forward Process & Universal Quantization (UQ): Instead of adding Gaussian noise, UQDM adds noise from a uniform distribution. This allows the sender to simulate a noise channel efficiently using simple rounding and pseudo-random dither (Universal Quantization), avoiding the exponential search required by REC.
- Moment Matching: To maintain compatibility with standard diffusion architectures like U-Nets, the uniform noise process is carefully designed to match the mean and variance of traditional Gaussian diffusion at every step.
- Learned Reverse Variance: The model learns the per-coordinate variance of the denoising process, significantly improving compression efficiency (yielding lower bits-per-dimension).
- Continuous-Time Equivalence: The authors mathematically prove that as the number of steps increases, their uniform noise process converges to the same continuous-time limit as standard Gaussian diffusion.
Experiments and Key Insights
The authors evaluated UQDM on Toy Swirl Data (for theoretical verification), CIFAR-10, and ImageNet $64 \times 64$. A fascinating insight emerged regarding the "sweet spot" for the number of diffusion steps ($T$). While generative modeling typically benefits from a high $T$ for better image quality, compression exhibits an inverse relationship: a small number of steps (e.g., $T=4$ or $5$) yields the best compression performance (lowest bitrate).
Key Results
UQDM demonstrates that a single unconditional diffusion model can act as a highly competitive, versatile progressive codec. A progressive codec allows a receiver to decode a low-quality preview early and gradually refine it to a lossless reconstruction as more bits arrive.
- Superiority over Classics: UQDM consistently outperforms traditional codecs like JPEG and JPEG2000 across all bitrates in both fidelity (PSNR) and realism (FID).
- Competitive with Modern Codecs: It matches or exceeds the performance of BPG (a high-performance non-progressive codec) in realism and high-bitrate fidelity.
- Visual Quality: UQDM preserves fine details—such as the intricate patterns on a spider or the sharpness of calligraphy—better than other neural codecs at similar bitrates.
Furthermore, the actual bitrates achieved by the implementation were highly efficient, falling within 3% of the theoretical limits predicted by the model's loss function.
Limitations and Future Directions
While UQDM represents a practical leap forward, some challenges remain:
- Performance Gap: There is still a small performance gap between UQDM and the theoretical (but currently intractable) limit of Gaussian diffusion compression.
- Low-Bitrate Artifacts: At very low bitrates, using ancestral sampling to decode can introduce graininess, as the model struggles to perfectly capture the data distribution with minimal bits.
- Decoding Speed: Although much faster than previous diffusion-based attempts, UQDM still requires multiple passes through a deep U-Net, making it slower than single-pass VAE-based codecs.
Future work will likely explore latent diffusion (applying UQDM in a compressed feature space) and distillation techniques to further reduce the number of required steps and accelerate decoding.
Summary updated