Flower: A Flow-Matching Solver for Inverse Problems

Mehrsa Pourya, Bassam El Rawas, Michael Unser

In the world of computational imaging, "inverse problems" are the ultimate puzzle. You have a blurry photo, a low-res scan, or a partial MRI, and you want to recover the original, high-fidelity image. Mathematically, we represent this as $y = Hx + n$, where $y$ is your messy observation and $x$ is the clean reality you’re chasing.

While Diffusion Models have recently dominated this space, a new contender called Flow Matching is gaining ground due to its efficiency and straight-line trajectories. Researchers introduced Flower, a principled framework that turns pre-trained flow-matching models into powerful, "plug-and-play" solvers for these difficult reconstruction tasks.

TL;DR: Flower is a novel iterative solver for linear inverse problems that leverages pre-trained flow-matching models. By combining a "predict-refine-progress" loop with a rigorous Bayesian foundation, it achieves state-of-the-art reconstruction quality across various tasks (like deblurring and inpainting) using a single set of hyperparameters.

The Challenge of Inverse Problems

Solving inverse problems is inherently "ill-posed"—there are often infinitely many clean images that could have produced the same blurry observation. To pick the right one, we need a prior: a mathematical understanding of what "natural images" look like.

Traditionally, researchers used "Plug-and-Play" (PnP) methods, which alternate between a denoising step (the prior) and a data-consistency step (the measurements). More recently, generative models like Diffusion have been used to sample from the posterior distribution. However, integrating these generative models with specific measurements often requires complex gradient corrections or task-specific tuning. Flower addresses this by providing a simple, three-step iterative procedure that is both theoretically grounded in Bayesian sampling and practically robust.

Methods: The Three-Step Dance

Flower operates by moving an initial noise sample toward a clean image over a series of time steps (from $t=0$ to $t=1$). In each iteration, it performs three distinct operations:

The three-step iterative process of Flower: destination estimation, measurement-aware refinement, and time progression.
  1. Flow-Consistent Destination Estimation: Using a pre-trained velocity network, Flower predicts where the current noisy image is "headed"—essentially estimating the final denoised target ($x_1$).
  2. Measurement-Aware Refinement: This is the crucial step. Flower takes that predicted destination and adjusts it using a proximal operator. This ensures the predicted image actually aligns with the observed measurements ($y$).
  3. Time Progression: Instead of just jumping to the destination, Flower takes a small step forward along the flow trajectory, mixing the refined destination with a bit of fresh noise to maintain the generative process's integrity.

What makes Flower special is its Bayesian analysis. The authors prove that this specific sequence of steps approximates sampling from the posterior distribution $p(x|y)$. This bridges the gap between heuristic PnP methods and formal generative sampling.

Experimental Setup

The authors evaluated Flower on two standard high-resolution benchmarks:

  • CelebA (128x128): A dataset of human face images.
  • AFHQ-Cat (256x256): High-quality images of cat faces.

They tested the model across five distinct degradations: denoising, deblurring, super-resolution, random inpainting, and box inpainting.

Key Insights and Results

Flower consistently outperformed or matched state-of-the-art flow-based solvers like OT-ODE, D-Flow, and Flow-Priors.

  • The Power of the Proximal: Unlike some flow solvers that use gradient descent to enforce data consistency, Flower uses a proximal step. This is more stable and allows the model to handle the "feasible set" of solutions more effectively.
  • Hyperparameter Robustness: One of the biggest headaches in AI imaging is tuning parameters for every different task. Flower uses nearly identical hyperparameters across all five tasks, suggesting it has captured a very general and robust way to solve inverse problems.
  • The $\gamma$ Factor: The model includes a hyperparameter $\gamma$ that controls "uncertainty" in the refinement step. While $\gamma=1$ is theoretically required for exact Bayesian sampling, the authors found that $\gamma=0$ (ignoring uncertainty) actually produced higher-quality, sharper reconstructions in practice.
  • Quantitative Superiority: On the CelebA deblurring task, Flower achieved a PSNR (Peak Signal-to-Noise Ratio) of 34.98 dB, outperforming PnP-Flow (34.48 dB) and OT-ODE (33.01 dB).
  • Qualitative Quality: Visually, Flower produces fewer artifacts than ODE-based solvers and avoids the "over-smoothing" often seen in standard PnP methods. It preserves fine details (like hair texture and skin pores) even in difficult box-inpainting scenarios.
  • Efficiency: Flower’s runtime is comparable to PnP-Flow and significantly faster than D-Flow or Flow-Priors, which require expensive backpropagation during the inference phase.

Limitations and Future Work

While Flower excels at linear inverse problems, many real-world problems (like phase retrieval or certain types of medical imaging) are nonlinear. The authors provide a theoretical roadmap for extending Flower to nonlinear cases using Langevin dynamics in the refinement step, but they haven't yet benchmarked this extensively.

Additionally, the "best" results were achieved by ignoring the theoretical uncertainty ($\gamma=0$), suggesting there is still a slight gap between what the Bayesian math dictates and what human eyes (and PSNR metrics) perceive as "high quality."

Code Availability: You can find the implementation of Flower at https://github.com/mehrsapo/Flower.

Summary updated

BibTeX
@inproceedings{pourya2026flower,
  author = {Mehrsa Pourya and Bassam El Rawas and Michael Unser},
  title = {{Flower: A Flow-Matching Solver for Inverse Problems}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=QGd34p02mI},
}
Figure