Flow Priors for Linear Inverse Problems via Iterative Corrupted Trajectory Matching

Yasi Zhang, Peiyu Yu, Yaxuan Zhu, Yingshan Chang, Feng Gao +2 more
2/3/2026

No official code found. Best implementation: YasminZhang/ICTM (27 stars, MIT, last commit 2025-02-24).

Abstract

Generative models based on flow matching have attracted significant attention for their simplicity and superior performance in high-resolution image synthesis. By leveraging the instantaneous change-of-variables formula, one can directly compute image likelihoods from a learned flow, making them enticing candidates as priors for downstream tasks such as inverse problems. In particular, a natural approach would be to incorporate such image probabilities in a maximum-a-posteriori (MAP) estimation problem. A major obstacle, however, lies in the slow computation of the log-likelihood, as it requires backpropagating through an ODE solver, which can be prohibitively slow for high-dimensional problems. In this work, we propose an iterative algorithm to approximate the MAP estimator efficiently to solve a variety of linear inverse problems. Our algorithm is mathematically justified by the observation that the MAP objective can be approximated by a sum of $N$ ``local MAP'' objectives, where $N$ is the number of function evaluations. By leveraging Tweedie's formula, we show that we can perform gradient steps to sequentially optimize these objectives. We validate our approach for various linear inverse problems, such as super-resolution, deblurring, inpainting, and compressed sensing, and demonstrate that we can outperform other methods based on flow matching. Code is available at https://github.com/YasminZhang/ICTM.

View on arXivView PDF

Code Implementations(1)

YasminZhang/ICTMCommunity56%
MIT

[NeurIPS 2024] Official implementation of NeurIPS 2024 paepr "Flow Priors for Linear Inverse Problems via Iterative Corrupted Trajectory Matching"

270PythonSep 27, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhang2026flow,
  title  = {Flow Priors for Linear Inverse Problems via Iterative Corrupted Trajectory Matching},
  author = {Yasi Zhang and Peiyu Yu and Yaxuan Zhu and Yingshan Chang and Feng Gao and Yingnian Wu and Oscar Leong},
  year   = {2026},
  eprint = {2405.18816},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.18816},
  url    = {https://arxiv.org/abs/2405.18816},
  journal = {NEURIPS 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/2405.18816.svg)](https://codeofpaper.com/paper/2405.18816)

Discussion