Introduction
In practical imaging pipelines, super-resolution (SR) is rarely the final processing step. Upscaled images are typically recompressed using standards like H.264, H.265, or H.266 for efficient storage and transmission. However, perceptual SR models often generate high-frequency details that modern codecs interpret as noise, leading to significant compression artifacts or the loss of fine textures. Because traditional codecs are non-differentiable, optimizing SR models to anticipate these downstream effects has remained a significant challenge.
Methodology: Diffusion-Based Codec Simulation
The core innovation of VRPSR (Versatile Recompression-Aware Perceptual Image Super-Resolution) is the use of a pre-trained diffusion model as a differentiable codec simulator. By formulating compression as a conditional generation task, the authors enable the SR model to "see" through the compression process during training.
Key Components
- Versatile Conditioning: The simulator utilizes text prompts (e.g., "A {codec} {bitrate} bpp compressed image") and one-hot embeddings to model multiple codecs (H.264, H.265, H.266) across various bitrates within a single framework.
- Perceptual Training: Unlike standard simulators that focus on pixel-wise accuracy, this model is trained with perceptual losses (LPIPS), ensuring that simulated artifacts accurately reflect real-world visual degradation.
- Codec-Friendly Targets: Instead of aiming for a perfectly clean ground truth, VRPSR is trained against "slightly compressed" targets. This strategy encourages the model to generate details that are robust to downstream compression.
Experimental Results
The proposed method was evaluated on the Kodak and ImageNet datasets against standard codecs.
Visual Quality
Qualitative analysis demonstrates that VRPSR-enhanced models produce sharper textures and fewer blocking artifacts after recompression compared to baseline SR methods like S3Diff. By anticipating the codec's behavior, VRPSR generates details that survive the compression process.
Quantitative Performance
VRPSR achieves substantial Bjontegaard Delta Bitrate (BDBR) savings. Across perceptual metrics such as LPIPS, DISTS, and FID, the method saves between 10% and 40% in bitrate compared to state-of-the-art baselines like Real-ESRGAN and S3Diff.
Conclusion
VRPSR represents a significant step forward in making super-resolution models practical for real-world distribution. By treating codecs as a learnable "style" through diffusion models, the framework allows SR models to generate "codec-friendly" details, significantly reducing transmission costs while preserving high perceptual quality. Future work will explore expanding the simulator's parameter scope and reducing the computational overhead of the diffusion-based proxy.
Summary updated