Papers › Flow Priors for Linear Inverse Problems via Iterative Corrupted Trajectory Matching

Flow Priors for Linear Inverse Problems via Iterative Corrupted Trajectory Matching

29 May 2024arXiv:2405.18816archive 2025-07-28

Yasi Zhang, Peiyu Yu, Yaxuan Zhu, Yingshan Chang, Feng Gao, Ying Nian Wu, Oscar Leong

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.18816")

Code

Syntology Ran 7 of 13 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 4 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yasminzhang/ictm officialmentioned in papermentioned on GitHubjaxMIT report
annegnx/PnP-Flow mentioned on GitHubjax report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 7 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
4ran
6unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yasminzhang/ictm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

psnr_fn yasminzhang/ictm/get_metric.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 225cdd3b69adcd89 · report
create_custom_dataset YasminZhang/ICTM/datasets.py official repository ran MIT (permissive) · e222afe331b6db8d · report
get_data_inverse_scaler YasminZhang/ICTM/datasets.py official repository ran · our draft was wrong MIT (permissive) · 6c419026e778dee2 · report
get_data_scaler YasminZhang/ICTM/datasets.py official repository ran · our draft was wrong MIT (permissive) · 346d2e6cc8b48a5d · report
get_optimizer YasminZhang/ICTM/losses.py official repository ran MIT (permissive) · 8ff7c24dade9904c · report
optimization_manager YasminZhang/ICTM/losses.py official repository ran MIT (permissive) · 366bb8c7035a2fc8 · report
variance_scaling YasminZhang/ICTM/models/layers.py official repository ran MIT (permissive) · 3ac11bfe0ae80195 · report
classifier_fn_from_tfhub YasminZhang/ICTM/evaluation.py official repository unverified MIT (permissive) · 54a00db9aadf092f · report
get_act YasminZhang/ICTM/models/layers.py official repository unverified MIT (permissive) · db5f935a1d6b4c2c · report
get_div_fn YasminZhang/ICTM/likelihood.py official repository unverified MIT (permissive) · 0bfcb6b2d940e393 · report
get_normalization YasminZhang/ICTM/models/normalization.py official repository unverified MIT (permissive) · 1b8adb3294e53c6d · report
load_dataset_stats YasminZhang/ICTM/evaluation.py official repository unverified MIT (permissive) · b45ab263f8440954 · report
ncsn_conv1x1 YasminZhang/ICTM/models/layers.py official repository unverified MIT (permissive) · 85b2235eb7afaa4f · report

Tasks

DeblurringImage GenerationSuper-Resolutioncompressed sensing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections