Introduction
OSCAR (One-Step Diffusion Codec Across Multiple Bit-rates) is a novel image compression framework that achieves high-fidelity reconstructions in a single denoising step. By mapping different compression bit-rates to "pseudo diffusion timesteps," the authors enable a single generative model to handle multiple quality levels efficiently. This approach drastically reduces the computational and storage overhead typically associated with diffusion-based codecs, paving the way for practical, real-time deployment.
The Challenge of Diffusion in Compression
Image compression is a balancing act between file size (bit-rate) and visual quality (distortion). Traditional codecs like JPEG or VVC often produce "blocking" or "ringing" artifacts at very low bit-rates. While recent neural codecs have improved performance, they frequently produce over-smoothed images that lack fine-grained realism.
Recently, Diffusion Models have emerged as a powerful tool for compression due to their ability to "dream up" realistic textures and details. However, they face two major hurdles:
- Speed: They usually require dozens of iterative denoising steps, making them too slow for real-time use.
- Storage: Most existing methods require training and storing a completely separate model for every target bit-rate, which is highly impractical for real-world applications.
OSCAR tackles both of these issues by bridging the gap between quantization theory and diffusion trajectories.
The OSCAR Approach
The core innovation of OSCAR is treating compressed data as an intermediate state in a diffusion process.
Pseudo Diffusion Timesteps
In standard diffusion, an image is gradually turned into noise over many timesteps. OSCAR posits that a quantized (compressed) latent representation is essentially a "noisy" version of the original. The researchers established a mathematical mapping where a specific bit-rate corresponds to a specific "pseudo" timestep. High bit-rates (low noise) map to early timesteps, while low bit-rates (high noise) map to later timesteps.
Representation Alignment and One-Step Denoising
To make this mapping work, the "noise" introduced by compression must behave like the Gaussian noise used in diffusion models. The authors introduce a specific training stage that uses cosine similarity to align the quantized features with the original latents, ensuring the residual error follows a Gaussian distribution.
Unlike standard diffusion that starts from pure random noise, OSCAR starts from compressed latents that already contain rich structural information. Because the compressed latents retain the "skeleton" of the image, the diffusion model doesn't have to generate the image from scratch; it only needs to refine the textures. This "warm start" allows the model to skip the iterative process and reconstruct the image in a single pass.
Unified Architecture
The system uses a frozen VAE (from Stable Diffusion 2.1) for initial latent extraction, lightweight bit-rate-specific hyper-encoders for quantization, and a shared U-Net (fine-tuned with LoRA) for the final one-step reconstruction. By using the timestep as a condition, a single U-Net can handle various bit-rates, solving the storage explosion problem of previous "one-model-per-rate" diffusion codecs.
Experimental Results
The authors trained OSCAR on a massive collection of 88,441 high-quality images curated from DF2K and LSDIR, and benchmarked it on standard industry datasets including Kodak, DIV2K-val, and CLIC2020.
Efficiency and Perceptual Quality
OSCAR is orders of magnitude faster than multi-step diffusion codecs like CDC or DiffEIC, achieving inference times comparable to traditional neural codecs while maintaining generative quality.
In quantitative metrics that measure human-like perception (LPIPS and DISTS), OSCAR consistently outperformed traditional baselines (VVC, BPG) and state-of-the-art neural codecs (HiFiC, MS-ILLM), especially at extremely low bit-rates (below 0.1 bpp). Furthermore, the paper demonstrates that OSCAR can generalize to "unseen" bit-rates with minimal additional training, showing the robustness of the pseudo-timestep mapping.
Limitations and Future Work
While OSCAR represents a significant leap forward, it has a few limitations:
- PSNR vs. Perception: Like most generative models, OSCAR prioritizes looking "real" over being "pixel-perfect." Consequently, it may score lower on traditional metrics like PSNR (Peak Signal-to-Noise Ratio) compared to codecs optimized purely for mathematical error (MSE), even if the OSCAR images look better to human eyes.
- VAE Bottleneck: The final image quality is ultimately capped by the reconstruction ability of the underlying VAE. Future work could involve training more advanced VAEs specifically tailored for the compression task.
- Hyper-encoder Scaling: While the U-Net is shared, the system still uses individual hyper-encoders for different rates. Moving toward a truly continuously variable-rate hyper-encoder would be a logical next step to further streamline the architecture.
Summary updated