Posterior-Mean Rectified Flow: Towards Minimum MSE Photo-Realistic Image Restoration

Guy Ohayon, T. Michaeli, Michael Elad
10/1/2024

No official code found. Best implementation: ohayonguy/PMRF (752 stars, MIT, last commit 2025-02-05).

Abstract

Photo-realistic image restoration algorithms are typically evaluated by distortion measures (e.g., PSNR, SSIM) and by perceptual quality measures (e.g., FID, NIQE), where the desire is to attain the lowest possible distortion without compromising on perceptual quality. To achieve this goal, current methods commonly attempt to sample from the posterior distribution, or to optimize a weighted sum of a distortion loss (e.g., MSE) and a perceptual quality loss (e.g., GAN). Unlike previous works, this paper is concerned specifically with the optimal estimator that minimizes the MSE under a constraint of perfect perceptual index, namely where the distribution of the reconstructed images is equal to that of the ground-truth ones. A recent theoretical result shows that such an estimator can be constructed by optimally transporting the posterior mean prediction (MMSE estimate) to the distribution of the ground-truth images. Inspired by this result, we introduce Posterior-Mean Rectified Flow (PMRF), a simple yet highly effective algorithm that approximates this optimal estimator. In particular, PMRF first predicts the posterior mean, and then transports the result to a high-quality image using a rectified flow model that approximates the desired optimal transport map. We investigate the theoretical utility of PMRF and demonstrate that it consistently outperforms previous methods on a variety of image restoration tasks.

View on arXivView PDF

Code Implementations(1)

ohayonguy/PMRFCommunity100%
MIT

[ICLR 2025] Official implementation of Posterior-Mean Rectified Flow: Towards Minimum MSE Photo-Realistic Image Restoration

75242Shell, PythonSep 30, 20241 years agoMIT
blind-face-restorationcolorizationcomputer-visiondenoisingdiffusion-models+8 more

Similar Papers

Cite this paper

@article{ohayon2024posteriormean,
  title  = {Posterior-Mean Rectified Flow: Towards Minimum MSE Photo-Realistic Image Restoration},
  author = {Guy Ohayon and T. Michaeli and Michael Elad},
  year   = {2024},
  eprint = {2410.00418},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.00418},
  journal = {ICLR 2024 2024}
}

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/2410.00418.svg)](https://codeofpaper.com/paper/2410.00418)

Discussion