Unsupervised Image Denoising with Score Function

Yutong Xie, Mingze Yuan, Bin Dong, Quanzheng Li

Overview

Supervised image denoising requires paired datasets of perfectly clean and noisy images, which are notoriously difficult to obtain in real-world scenarios like medical imaging or astrophotography. To bypass this, researchers have developed unsupervised (or self-supervised) methods, such as Noise2Noise or Neighbor2Neighbor, which learn to denoise using only noisy images.

However, these existing methods rely on strict, simplified assumptions about the noise. They typically require the noise to be purely additive (like Gaussian noise), pixel-wise independent, or strictly follow an exponential family distribution. In reality, sensor noise is often a messy combination of multiplicative and additive factors, and the noise across adjacent pixels is frequently correlated due to image processing pipelines. When faced with these complex, non-exponential, or spatially correlated noise models, current unsupervised methods either cannot be applied or yield terrible results.

To address this, the authors propose a generalized unsupervised image denoising framework leveraging the score function (the gradient of the log probability). By decoupling the estimation of the noisy image's score from the specific noise model, their method successfully tackles complex, real-world noise types where existing unsupervised methods mathematically break down.

Methodology

The paper introduces a two-step framework that generalizes previous score-based methods. The core of the approach rests on a novel mathematical proposition: The score function of a noisy image equals the expected score of the noise model, given the clean image.

Based on this, the authors propose the following pipeline:

The proposed two-step denoising framework: estimating the score function and solving the equation.
  1. Estimate the Score Function: Train a neural network (specifically, an Amortized Residual Denoising Autoencoder, or AR-DAE) to estimate the score function of the noisy images: $s(y) = \nabla_y \log p(y)$. Crucially, this training phase only looks at the noisy images and is completely agnostic to the underlying noise model.
  2. Solve the Equation: Once the score of the noisy image $s(y)$ is estimated, set it equal to the gradient of the known noise model: $s(y) = \nabla_y \log p(y|\hat{x})$. Because the noise model $p(y|x)$ is known, this creates an equation where the only unknown is the clean image $\hat{x}$.
  3. Algorithm Design: The authors derive specific algorithms to solve this equation. For simple additive Gaussian noise, it is a direct analytical solution. For complex multiplicative noises (Rayleigh, Poisson, Gamma) or mixture noises with spatial correlation (represented by a convolution matrix), they provide iterative fixed-point algorithms to extract the clean image.

Key Insights

  • Decoupling Training from the Noise Model: The most elegant aspect of this approach is that the neural network training is identical regardless of the noise model. If you discover your camera's noise parameters are slightly different than you thought, you do not need to retrain the neural network. You simply update the parameters in the mathematical equation solved in Step 2.
  • Breaking the Pixel-Independence Barrier: By incorporating a convolution matrix ($A$) into their mathematical derivations, the authors successfully model and remove spatially correlated noise. This is a massive leap over methods like Neighbor2Neighbor, which fundamentally rely on adjacent pixels having independent noise.
  • Beyond Exponential Families: The authors freed score-based denoising from the constraints of Tweedie's formula, opening the door to handling Rayleigh noise and complex mixture noises that do not fit neatly into exponential family distributions.

Key Results

The authors evaluated their method on standard datasets (Kodak, CBSD68, and CSet9) using highly specific, mathematically rigorous synthetic noise models to prove their theoretical claims.

  • Simple Noise: On standard additive Gaussian noise, the proposed method is highly competitive, matching the performance of state-of-the-art unsupervised methods like Neighbor2Neighbor (achieving ~31.9 dB PSNR on the Kodak dataset).
  • Correlated Multiplicative Noise: This is where the method truly shines.
Quantitative comparison on complex noise models (Gamma, Poisson, Rayleigh) with and without spatial correlation.

As seen in the results for Rayleigh noise, existing methods struggle severely. On uncorrelated Rayleigh noise, Neighbor2Neighbor collapses to an unusable 16.55 dB PSNR on the Kodak dataset. When spatial correlation is introduced (w/ $A$), it cannot even be mathematically formulated for the scenario. In contrast, the proposed method maintains a robust 34.25 dB PSNR without correlation and 32.87 dB PSNR with correlation, getting remarkably close to the fully supervised baseline (SL).

  • Mixture Noises: On highly complex mixtures (e.g., Gamma multiplicative noise + spatial correlation + additive Gaussian noise), the method successfully denoises the images, whereas methods like Noisier2Noise cannot be applied.

Limitations and Future Work

The biggest limitation of this approach is that the exact mathematical form and parameters of the noise model (e.g., the variance, the exact convolution kernel) must be known a priori to solve the equation in the second step. The authors acknowledge this limitation and note that if the assumed noise parameters are off by a 10% "disturbance rate," the resulting image quality drops by about 1 dB PSNR.

A natural next step for this research is integrating it with blind noise-estimation techniques, allowing the system to automatically deduce the noise parameters from the image before applying the score-based solver.

Summary updated

BibTeX
@inproceedings{xie2023unsupervised,
  author = {Yutong Xie and Mingze Yuan and Bin Dong and Quanzheng Li},
  title = {{Unsupervised Image Denoising with Score Function}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=d6LShzSTOP},
}
Figure