TL;DR
This paper introduces SR3, a novel approach to image super-resolution that leverages denoising diffusion probabilistic models (DDPMs) for conditional image generation. By iteratively refining noisy images based on a low-resolution input, SR3 achieves state-of-the-art photo-realistic results, outperforming GAN-based methods in human evaluations and demonstrating impressive performance in cascaded generation tasks.
What Problem Does This Paper Address?
Single-image super-resolution (SISR) aims to generate a high-resolution (HR) image from a single low-resolution (LR) input. This is an inherently ill-posed problem because multiple HR images can correspond to a single LR image, and the conditional distribution of outputs is often complex and multimodal. Traditional methods, like those based on MSE loss, tend to produce blurry images because they optimize for the mean of the distribution. While GANs have shown promise, they often suffer from training instability and require careful tuning. Existing methods also struggle with high magnification factors, where generating fine details becomes particularly challenging. The authors aim to address these limitations by developing a method that can generate high-fidelity, photo-realistic super-resolved images, especially at high magnification ratios, while being more stable to train than GANs.
Methods
The core of SR3 is its adaptation of denoising diffusion probabilistic models (DDPMs) for conditional image generation. Here's a breakdown:
- Diffusion Model Foundation: SR3 builds upon DDPMs, which learn to reverse a gradual diffusion process that adds noise to an image. The model learns to denoise an image at various noise levels.
- Conditional Generation: The key innovation is conditioning the diffusion process on a low-resolution input image (
x). This is achieved by upsamplingxto the target resolution and concatenating it with the noisy intermediate image (y_t) within the U-Net architecture. - Iterative Refinement: Instead of a single-step generation, SR3 uses a sequence of iterative refinement steps. Starting from pure Gaussian noise, the U-Net model, guided by the LR input, progressively denoises the image until a high-quality HR output is obtained.
- U-Net Architecture: A U-Net architecture, similar to those used in DDPMs but with modifications (e.g., BigGAN residual blocks), is employed for the denoising task.
- Training Objective: The model is trained using a denoising objective, which can be viewed from both a variational lower bound perspective and a denoising score-matching perspective. This objective encourages the model to predict the noise added at each step.
- Inference: During inference, the model performs a fixed number of iterative denoising steps, starting from random noise and guided by the LR input.
Datasets
- Training:
- FFHQ (Flickr-Faces-HQ): Used for training face super-resolution models.
- ImageNet 1K: Used for training natural image super-resolution models.
- Unconditional 64x64 face generation: Trained using DDPM.
- Class-conditional 64x64 ImageNet: Trained using an improved DDPM.
- Evaluation:
- CelebA-HQ: Used for evaluating face super-resolution tasks.
- ImageNet (dev split): Used for evaluating natural image super-resolution tasks.
- Flickr-Faces-HQ (FFHQ): Used for evaluating face super-resolution models on images outside the training set.
Key Insights and Ideas
- Diffusion Models for SISR: Adapting diffusion models, which excel at generative tasks, to conditional image generation like super-resolution is a powerful direction. SR3 demonstrates this effectively.
- Iterative Refinement for Fidelity: The iterative denoising process allows SR3 to gradually build up fine details, leading to more photo-realistic outputs compared to single-step methods.
- Human Evaluation is Crucial: Standard metrics like PSNR and SSIM don't always correlate with human perception of image quality, especially for high magnification factors. Human evaluation (fool rate) is a more reliable indicator of perceptual realism.
- Cascading for High Resolution: Chaining SR3 models with unconditional generative models allows for efficient generation of extremely high-resolution images (e.g., 1024x1024) by breaking down the task into smaller, manageable steps.
- Consistency without Explicit Losses: SR3 achieves good consistency with the low-resolution input without requiring explicit auxiliary consistency losses, which are often needed for GANs.
Key Results
- Face Super-Resolution: On an 8x face super-resolution task (16x16 -> 128x128), SR3 achieved a human fool rate close to 50%, significantly outperforming GAN methods like FSRGAN and PULSE (max fool rate 34%).
- Natural Image Super-Resolution: For 4x natural image super-resolution (64x64 -> 256x256 on ImageNet), SR3 produced sharper images with more detail compared to a regression baseline.
- Classification Accuracy: SR3-upsampled images used for downstream classification tasks (on ImageNet) resulted in significantly lower top-1 and top-5 classification errors compared to other methods, indicating high perceptual quality.
- Cascaded Generation: SR3 was used in cascaded models to generate 1024x1024 face images and 256x256 class-conditional ImageNet images, achieving competitive FID scores.
- Inference Efficiency: SR3 uses a constant number of inference steps (up to 100) regardless of output resolution, making it more efficient than autoregressive models for high-resolution generation.
Limitations and Future Work
- Bias in Generation: SR3, like other generative models, exhibits bias. The authors observed that the model consistently generates similar outputs and may drop fine details like moles or pimples in face super-resolution. They emphasize that SR3 should not be used for real-world tasks until these biases are better understood and mitigated.
- Text Generation: SR3 struggles with generating natural-looking text, lacking common alphabets and meaningful structure, making it distinguishable from real text.
- Handling Fine Structure: In cases where the low-resolution input lacks fine details (e.g., building structures), SR3 may infer texture or a more uniform appearance, which might not perfectly match the reference.
- Future Work: The authors suggest exploring more sophisticated conditioning methods (beyond simple concatenation), investigating the impact of different Lp norms for the denoising objective, and further research into controlling sample quality versus diversity in diffusion models. They also mention the possibility of conditioning the forward diffusion process on
xin future work.
Summary updated