MaRS: A Fast Sampler for Mean Reverting Diffusion based on ODE and SDE Solvers

Ao Li, Wei Fang, Hongbo Zhao, Le Lu, Ge Yang +1 more
2/12/2026

No official code found. Best implementation: grrrute/mr-sampler (4 stars, MPL-2.0, last commit 2025-03-24).

Abstract

In applications of diffusion models, controllable generation is of practical significance, but is also challenging. Current methods for controllable generation primarily focus on modifying the score function of diffusion models, while Mean Reverting (MR) Diffusion directly modifies the structure of the stochastic differential equation (SDE), making the incorporation of image conditions simpler and more natural. However, current training-free fast samplers are not directly applicable to MR Diffusion. And thus MR Diffusion requires hundreds of NFEs (number of function evaluations) to obtain high-quality samples. In this paper, we propose a new algorithm named MaRS (MR Sampler) to reduce the sampling NFEs of MR Diffusion. We solve the reverse-time SDE and the probability flow ordinary differential equation (PF-ODE) associated with MR Diffusion, and derive semi-analytical solutions. The solutions consist of an analytical function and an integral parameterized by a neural network. Based on this solution, we can generate high-quality samples in fewer steps. Our approach does not require training and supports all mainstream parameterizations, including noise prediction, data prediction and velocity prediction. Extensive experiments demonstrate that MR Sampler maintains high sampling quality with a speedup of 10 to 20 times across ten different image restoration tasks. Our algorithm accelerates the sampling procedure of MR Diffusion, making it more practical in controllable generation.

View on arXivView PDF

Code Implementations(1)

grrrute/mr-samplerCommunity74%
MPL-2.0

Official repository for "MaRS: A Fast Sampler for Mean Reverting Diffusion Based on ODE and SDE Solvers" (ICLR 2025 spotlight)

40Python, MakefileFeb 19, 20251 years agoMPL-2.0

Similar Papers

Cite this paper

@article{li2026mars,
  title  = {MaRS: A Fast Sampler for Mean Reverting Diffusion based on ODE and SDE Solvers},
  author = {Ao Li and Wei Fang and Hongbo Zhao and Le Lu and Ge Yang and Minfeng Xu},
  year   = {2026},
  eprint = {2502.07856},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.07856},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07856.svg)](https://codeofpaper.com/paper/2502.07856)

Discussion