All models

IR-SDE

A diffusion model for image restoration whose forward SDE turns a clean image into its degraded version.

Diffusion and generative · 611 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (110 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
137.1M
Operations
611
Framework
PyTorch
Recurrent
No
Published
ICML 2023
Cited by
114 (as of 28 October 2026)
Authors
Ziwei Luo, Fredrik K. Gustafsson, Zheng Zhao and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17516
Graph hash
923edb02eddf2680c01b79e696b8e35f1fa0fb9ba67007de2388cd714ac80a92
Skeleton hash
bb4e77e8a7c2db10d030b1aa9a027794179eb4593af5e4a7c9f61a10cf90190b
Architecture hash
3ee85e88b5f9ce6040cf19a1125a5866b654fa8c0e88132dadb4877ff7197b5e
Diagram SHA-256
ca6f82c01c5cb7767cd162da00ec146452a136290cb9e3b016264412fc748de4
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

IR-SDE restores degraded images with a diffusion process defined by a stochastic differential equation (SDE). Its forward process is a mean-reverting SDE that transforms a high-quality image into its degraded counterpart, treated as a mean state with fixed Gaussian noise. Simulating the corresponding reverse-time SDE then restores the image without relying on task-specific prior knowledge.

The neural network in this scheme is a noise network that takes the current state, the low-quality image as a condition and the time as input, and outputs noise. The paper uses the same network for all experiments, a U-Net similar to DDPM with the group normalization and self-attention layers removed for inference efficiency. Because the SDE has a closed-form solution, the ground truth time-dependent score can be computed and learned, and the paper adds a maximum likelihood objective that it says stabilizes training.

The paper reports quantitative comparisons on image deraining, deblurring and denoising, and qualitative results on super-resolution, inpainting and dehazing. Deraining is evaluated on two synthetic datasets, Rain100H and Rain100L. The official repository gives image deraining as its worked example and notes that the code can be changed to another problem by replacing the dataset.

Key idea. The paper models image degradation as a mean-reverting SDE with a closed-form solution and restores images by simulating the reverse-time SDE with a learned score.

  • ir-sde
  • image restoration sde
  • mean-reverting sde
  • image restoration
  • diffusion image restoration
  • image deraining
  • image deblurring
  • image denoising
  • stochastic differential equation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{luo2023imagerestorationmeanrevertingstochastic,
      title={Image Restoration with Mean-Reverting Stochastic Differential Equations}, 
      author={Ziwei Luo and Fredrik K. Gustafsson and Zheng Zhao and Jens Sjölund and Thomas B. Schön},
      year={2023},
      eprint={2301.11699},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2301.11699}, 
}