Trajectory Stitching for Solving Inverse Problems with Flow-Based Models
eess.IV, cs.LG
Submitted: 2026-02-09
Updated: 2026-10-01
Code: https://github.com/alexdenker/MS-Flow
License: http://creativecommons.org/licenses/by/4.0/
The gist: Flow-based generative models have emerged as powerful priors for solving inverse problems.
Terminology
Abstract
Flow-based generative models have emerged as powerful priors for solving inverse problems. One option is to directly optimize the initial latent code (noise), such that the flow output solves the inverse problem. However, this requires backpropagating through the entire generative trajectory, incurring high memory costs and numerical instability. We propose MS-Flow, which represents the trajectory as a sequence of intermediate latent states rather than a single initial code. By enforcing the flow dynamics locally and coupling segments through trajectory-matching penalties, MS-Flow alternates between updating intermediate latent states and enforcing consistency with observed data. This reduces memory consumption while improving reconstruction quality. We demonstrate the effectiveness of MS-Flow over existing methods on image recovery and inverse problems, including inpainting, super-resolution, and computed tomography.
Sources
- Training Deep Nets with Sublinear Memory Cost
- Intermediate Layer Optimization for Inverse Problems using Deep Generative Models
- Classifier-Free Diffusion Guidance
- Auto-Encoding Variational Bayes
- Rectified Flow: A Marginal Preserving Approach to Optimal Transport
- Improving and generalizing flow-based generative models with minibatch optimal transport
- Training Free Guided Flow Matching with Optimal Control
Related papers
- GBT-SAM: A Parameter-Efficient Depth-Aware Model for Generalizable Brain tumour Segmentation on mp-MRI
- PanoDiff-SR: Synthesizing Dental Panoramic Radiographs using Diffusion and Super-resolution
- Nonparametric Distribution Matching for Self-Supervised Whole-Slide Image Condensation
- Revisiting Integration of Image and Metadata for DICOM Series Classification: Cross-Attention and Dictionary Learning
- VesselSDF: Distance Field Priors for Vascular Network Reconstruction
- cSVR: Convolutional Slice-to-Volume Reconstruction