Image Restoration with Mean-Reverting Stochastic Differential Equations
Ziwei Luo, Fredrik K. Gustafsson, Zheng Zhao, Jens Sjölund, Thomas B. Schön
TL;DR
This paper introduces IR-SDE, a general framework that models image degradation with a mean-reverting forward SDE and learns a reverse-time SDE to restore high-quality images without task-specific priors. A closed-form forward solution enables exact ground-truth score computation, while a maximum-likelihood objective stabilizes training and improves restoration quality. The method is shown to be effective across multiple restoration tasks, achieving competitive results on deraining, deblurring, and denoising and qualitative success in super-resolution, inpainting, and dehazing, including state-of-the-art performance on two rain datasets. Overall, IR-SDE offers a flexible, score-based restoration approach with potential for broad applicability and further efficiency gains.
Abstract
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.
