TL;DR
This paper introduces SUD², a novel framework for training image reconstruction models when paired training data is scarce. By leveraging denoising diffusion models, SUD² effectively supervises network training, leading to significantly improved reconstructions in challenging inverse problems like image inpainting and dehazing.
What Problem Does This Paper Address?
Many real-world imaging tasks, such as removing fog (dehazing) or filling in missing parts of an image (inpainting), are considered "inverse problems." This means we have a degraded observation (e.g., a foggy image) and want to recover the original, clean scene. Traditionally, solving these problems required knowing the exact mathematical relationship (the "forward model") between the clean scene and the degraded observation. However, in many practical scenarios, this forward model is unknown or complex.
Deep learning has shown great promise in tackling these problems by learning a direct mapping from degraded observations to clean images. This typically requires a large dataset of paired examples (e.g., many foggy images and their corresponding clear versions). The challenge is that collecting such paired data is often difficult, expensive, or even impossible. This paper addresses the critical problem of training effective image reconstruction models when only a small amount of paired data is available, supplemented by large amounts of unpaired data (e.g., many foggy images and many clear images, but not necessarily of the same scene).
Methods
The core of SUD² builds upon the "Supervision-by-Denoising" (SUD) framework, which uses a pre-trained denoiser to provide supervision. SUD² enhances this by incorporating several key improvements:
- Denoising Diffusion Models (DDPMs) as Supervisors: Instead of a single-step denoiser, SUD² uses the more sophisticated, multi-step denoising process of diffusion models. This allows the network to learn to project images onto the manifold of natural images more gradually and smoothly, leading to higher-quality reconstructions.
- Correlation Minimization: To combat "mode collapse" (where the network produces very similar, often washed-out outputs), SUD² introduces a regularization term that encourages diversity in the network's latent representations. This helps the model generate a wider range of plausible reconstructions.
- Noise Injection: To improve the robustness of the denoising process and better match the distribution of noisy images, SUD² injects noise into the reconstructed images before they are passed to the denoiser. This helps the model learn more realistic features.
- Perceptual Loss (LPIPS): In addition to standard L2 loss, SUD² incorporates a Learned Perceptual Image Patch Similarity (LPIPS) loss. This loss encourages the reconstructed images to be perceptually similar to the ground truth, leading to sharper details and better overall visual quality.
The overall training objective combines a small amount of paired data loss with these regularization terms derived from unpaired data and the denoising diffusion model.
Datasets
The paper uses publicly available datasets for training and evaluation:
- CelebAMask-HQ: Used for image inpainting experiments. This dataset contains celebrity faces with corresponding segmentation masks.
- REVIDE: Used for dehazing experiments. This dataset consists of real hazy and clear indoor scenes.
- LSUN Bedrooms: Used for pre-training the diffusion model and CycleGAN in the dehazing experiments.
The experiments involve training on a very small number of paired images (e.g., 5 pairs) and a large number of unpaired images.
Key Insights and Ideas
- Diffusion Models as Powerful Priors: The paper demonstrates that denoising diffusion models, which have shown remarkable success in image generation, can also serve as powerful supervisors for image reconstruction tasks, especially when paired data is scarce.
- Mode Collapse is a Real Problem for SUD: The original SUD framework, while effective in some domains, is prone to mode collapse in general image restoration tasks. This highlights the need for additional regularization techniques.
- Diversity is Key for Robust Reconstruction: The correlation minimization loss is crucial for preventing the network from collapsing to a single, uninspired output, leading to more varied and realistic reconstructions.
- Iterative Refinement Beats Single-Step Denoising: Using a multi-step diffusion process for supervision, rather than a single-step denoiser, leads to demonstrably better image quality and more natural-looking results.
- Perceptual Similarity Matters: Incorporating a perceptual loss (LPIPS) significantly improves the sharpness and detail of reconstructed images, bridging the gap between pixel-wise accuracy and human perception.
Key Results
SUD² achieves state-of-the-art or competitive results on both image inpainting and dehazing tasks, particularly in low-data regimes:
- Image Inpainting: SUD² outperforms baselines like CycleGAN-SSL and SUD, achieving a higher PSNR and lower FID score. Qualitatively, it produces more structured faces with better-proportioned features compared to other methods.
- Image Dehazing: SUD² generates dehazed images with fewer artifacts and a more natural, smooth appearance than baselines. It achieves a median LPIPS score 17% lower than the supervised baseline.
Limitations and Future Work
The authors acknowledge several limitations and suggest future directions:
- Strength of Prior: The performance of SUD² is directly tied to the strength of the prior learned by the unconditional denoising diffusion model. For more diverse image distributions, this prior might weaken.
- Conditional Diffusion Models: Exploring conditional diffusion models could help maintain a strong prior for diverse image distributions.
- Deterministic Reconstructions: The current SUD² training procedure produces deterministic reconstructions.
- Stochastic Algorithms: Extending SUD² to train stochastic algorithms could lead to more diverse outputs.
Summary updated