Image Restoration with Mean-Reverting Stochastic Differential Equations

27 Jan 2023  ·  Ziwei Luo, Fredrik K. Gustafsson, Zheng Zhao, Jens Sjölund, Thomas B. Schön ·

This paper presents a stochastic differential equation (SDE) approach for general-purpose image restoration. The key construction consists in a mean-reverting SDE that transforms a high-quality image into a degraded counterpart as a mean state with fixed Gaussian noise. Then, by simulating the corresponding reverse-time SDE, we are able to restore the origin of the low-quality image without relying on any task-specific prior knowledge. Crucially, the proposed mean-reverting SDE has a closed-form solution, allowing us to compute the ground truth time-dependent score and learn it with a neural network. Moreover, we propose a maximum likelihood objective to learn an optimal reverse trajectory that stabilizes the training and improves the restoration results. The experiments show that our proposed method achieves highly competitive performance in quantitative comparisons on image deraining, deblurring, and denoising, setting a new state-of-the-art on two deraining datasets. Finally, the general applicability of our approach is further demonstrated via qualitative results on image super-resolution, inpainting, and dehazing. Code is available at https://github.com/Algolzw/image-restoration-sde.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Deblurring GoPro IR-SDE PSNR 30.7 # 35
SSIM 0.901 # 40
LPIPS 0.064 # 1
FID 6.32 # 1
Single Image Deraining Rain100H IR-SDE PSNR 31.65 # 2
SSIM 0.9041 # 3
LPIPS 0.047 # 1
FID 18.64 # 1
Single Image Deraining Rain100L IR-SDE PSNR 38.3 # 7
SSIM 0.9805 # 6
LPIPS 0.014 # 1
FID 7.94 # 1

Methods