Score Priors Guided Deep Variational Inference for Unsupervised Real-World Single Image Denoising

Jun Cheng, Tao Liu, Shan TanICCV 2023 · DOI

Abstract

Real-world single image denoising is crucial and practical in computer vision. Bayesian inversions combined with score priors now have proven effective for single image denoising but are limited to white Gaussian noise. Moreover, applying existing score-based methods for real-world denoising requires not only the explicit train of score priors on the target domain but also the careful design of sampling procedures for posterior inference, which is complicated and impractical. To address these limitations, we propose a score priors-guided deep variational inference, namely ScoreDVI, for practical real-world denoising. By considering the deep variational image posterior with a Gaussian form, score priors are extracted based on easily accessible minimum MSE Non-i.i.d Gaussian denoisers and variational samples, which in turn facilitate optimizing the variational image posterior. Such a procedure adaptively applies cheap score priors to denoising. Additionally, we exploit a Non-i.i.d Gaussian mixture model and variational noise posterior to model the real-world noise. This scheme also enables the pixel-wise fusion of multiple image priors and variational image posteriors. Besides, we develop a noise-aware prior assignment strategy that dynamically adjusts the weight of image priors in the optimization. Our method outperforms other single image-based real-world denoising methods and achieves comparable performance to dataset-based unsupervised methods.

Introduction

Most research in image denoising focuses on Additive White Gaussian Noise (AWGN), which is mathematically convenient but rarely found in the wild. Real-world noise—from smartphone sensors or microscopy—is "structured": it is signal-dependent, spatially correlated, and varies across color channels.

Current solutions have significant drawbacks. Supervised methods require pairs of noisy and "clean" ground-truth images, which are difficult to capture. Unsupervised dataset-based methods require large collections of noisy images and often struggle to generalize. Score-based generative models (like diffusion models) provide powerful priors but typically require explicit training on the target domain and complex sampling procedures. ScoreDVI aims to create a practical denoiser that works on a single image without needing a pre-trained generative model for that specific image domain.

Methods: ScoreDVI

The core of the proposed framework is ScoreDVI (Score Priors-Guided Deep Variational Inference). It combines several key components to achieve unsupervised denoising from a single observation.

Variational Inference and Architecture

Instead of a simple point estimate, ScoreDVI approximates the posterior distribution of the clean image. It utilizes four specialized neural networks—X-net, $\Phi$-net, Z-net, and $\Omega$-net—to parameterize the variational posteriors for the image, noise levels, and mixture components.

The ScoreDVI architecture utilizes four specialized networks to parameterize variational posteriors and integrate score priors.

"Cheap" Score Priors

The authors utilize a known mathematical relationship: the score function (the gradient of the log-prior) can be approximated using a standard MMSE Gaussian denoiser. By using an off-the-shelf, pre-trained Non-i.i.d. Gaussian denoiser, they extract "scores" to guide the optimization of the variational posterior without training a full generative model on the target data.

Noise Modeling and Prior Assignment

To handle real-world noise complexity, the likelihood is modeled using a Non-i.i.d. Gaussian Mixture Model (GMM). This allows the system to adaptively model different noise characteristics across pixels and channels. Furthermore, a noise-aware prior assignment strategy dynamically adjusts the weight of the image prior: if estimated noise is low, the model trusts original pixels more; if high, it relies on learned score priors.

Experimental Results

ScoreDVI was evaluated on four prominent real-world denoising benchmarks: SIDD (Smartphone Image Denoising Dataset), PolyU, CC (Cross-Channel), and FMDD (Fluorescence Microscopy Denoising Dataset).

Quantitative and Qualitative Performance

ScoreDVI consistently outperformed existing single-image denoising methods and remained competitive with methods trained on entire datasets. On the SIDD validation set, ScoreDVI achieved a PSNR of 34.75 dB, significantly higher than other single-image methods like PD-denoising (33.97 dB) and BM3D (25.65 dB).

Quantitative comparison across benchmarks and qualitative visual results showing ScoreDVI's superior texture preservation.

Visually, ScoreDVI avoids the artifacts often seen in pixel-shuffle methods and the over-smoothing typical of Deep Image Prior (DIP) approaches. It preserves fine textures and edges much more effectively. In terms of efficiency, ScoreDVI requires about 81.2 seconds for a $256 \times 256$ image, which is faster than DIP (146s) and significantly faster than Self2Self (nearly an hour).

Conclusion

ScoreDVI demonstrates that full diffusion models are not always necessary to benefit from score-based priors. By using a well-trained Gaussian denoiser as a local score estimator, score-based denoising becomes accessible for single-image, unsupervised tasks. This framework of using Gaussian denoisers as score priors for variational inference could potentially be extended to other ill-posed inverse problems like image deblurring or super-resolution.

Summary updated

BibTeX
@misc{cheng2023score,
  author = {Jun Cheng and Tao Liu and Shan Tan},
  title = {{Score Priors Guided Deep Variational Inference for Unsupervised Real-World Single Image Denoising}},
  year = {2023},
  eprint = {2308.04682},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.04682},
}
Figure