TL;DR
This paper introduces SUD$^2$, a novel framework for training image reconstruction models when paired training data is scarce. By leveraging pre-trained denoising diffusion models, SUD$^2$ effectively supervises network training, leading to improved reconstruction quality and overcoming limitations of previous methods like mode collapse.
What Problem Does This Paper Address?
Many real-world imaging tasks, such as inpainting or dehazing, involve "inverse problems." These problems aim to recover an original image from a degraded observation, but often the exact process (the "forward model") that created the degradation is unknown or complex. Traditionally, solving these problems requires large datasets of paired "clean" and "degraded" images. However, acquiring such paired data is often difficult and expensive, especially when precise alignment and controlled conditions are needed. This scarcity of paired data limits the performance of standard deep learning approaches, which can struggle with generalization and may exhibit undesirable behaviors like mode collapse (producing repetitive or overly similar outputs).
Methods
The core of SUD$^2$ builds upon the Supervision-by-Denoising (SUD) framework. SUD uses a pre-trained denoiser (trained on unpaired "noisy" images) to provide a form of supervision for the image reconstruction network. The denoiser acts as a prior, guiding the reconstruction network to produce outputs that are consistent with natural image distributions.
SUD$^2$ enhances this by replacing the single-step denoiser with a more sophisticated, multi-step denoising diffusion probabilistic model (DDPM). DDPMs are known for their ability to generate high-quality images by gradually denoising a noisy input. In SUD$^2$, the DDPM is used to supervise the reconstruction network, effectively projecting its outputs onto a manifold of realistic images.
To address issues like mode collapse observed in the original SUD framework, SUD$^2$ introduces two key improvements:
- Regularization Term ($L_{reg}$): A penalty term is added that computes the normalized covariance between intermediate latent vectors of the reconstruction network's encoder. This encourages the network to produce outputs that are uncorrelated in latent space, promoting diversity.
- Noise Injection in Gradient Calculation: When calculating the denoising loss, noise is injected into the reconstruction before passing it through the denoiser. This helps to compare smoothed distributions and prevents the model from collapsing to blurry or overly smoothed outputs.
The overall loss function for SUD$^2$ combines a standard paired loss ($L_{paired}$), the denoising supervision loss ($L_{denoiser}$), and the new regularization loss ($L_{reg}$).
Datasets
The paper uses the CelebAMask-HQ dataset for image in-painting experiments. This dataset contains 30,000 images. For training, they utilize:
- A small set of paired faces (5 images).
- A large set of unpaired images (1000+ images for the U-net, and 12,500 images for pre-training the denoiser and diffusion model).
Key Insights and Ideas
- Diffusion Models as Powerful Priors: The paper demonstrates that pre-trained denoising diffusion models can serve as highly effective priors for guiding image reconstruction, especially when paired data is scarce.
- Addressing Mode Collapse: The original SUD framework was prone to mode collapse. SUD$^2$ introduces novel regularization techniques (latent space decorrelation and noise injection) that successfully mitigate this issue, leading to more diverse and higher-quality reconstructions.
- Generalization to Inverse Problems: The framework is designed to be general and applicable to various inverse problems where paired data is a bottleneck, moving beyond specific applications like medical segmentation.
- Smooth-to-Rough Manifold Navigation: The use of diffusion models implicitly leverages the idea of gradually navigating image manifolds, moving from noisy, smooth representations to sharper, more detailed ones, which is beneficial for reconstruction.
Key Results
In image in-painting experiments on the CelebAMask-HQ dataset, SUD$^2$ achieved strong quantitative results:
- 48% higher average PSNR compared to CycleGAN-SSL.
- 43% lower average FID score compared to CycleGAN-SSL.
- SUD$^2$ achieved the most consistent results across the test set.
- Qualitatively, SUD$^2$ produced more realistic and complete faces compared to baselines, avoiding issues like missing features (seen in supervised methods) or disproportionately sized features (seen in CycleGAN). The SUD baseline, without the proposed improvements, suffered from mode collapse, yielding highly correlated reconstructions.
Limitations and Future Work
- Computational Cost: While effective, training and using diffusion models can be computationally intensive. The paper doesn't explicitly detail the computational trade-offs of SUD$^2$ compared to other methods.
- Hyperparameter Tuning: The effectiveness of SUD$^2$ relies on balancing the different loss terms ($\lambda_1, \lambda_2$). Optimal tuning might be dataset- and task-dependent.
- Future Work: The authors suggest that their framework is general and can be extended to other inverse problems beyond image in-painting. Further exploration of different diffusion model architectures and regularization strategies could yield even better results.
Summary updated