FlowDPS : Flow-Driven Posterior Sampling for Inverse Problems

Jeongsol Kim, Bryan Sangwoo Kim, Jong Chul Ye

TL;DR

This paper introduces FlowDPS, a novel method for solving inverse problems using flow-based generative models. By decomposing the flow ODE and strategically integrating data consistency and generative priors, FlowDPS achieves state-of-the-art reconstruction quality for high-resolution images with severe degradations, outperforming existing methods without requiring additional training.

What Problem Does This Paper Address?

Inverse problems are ubiquitous in science and engineering, aiming to reconstruct an original signal (e.g., an image) from incomplete or noisy measurements. A classic example is recovering a clear image ($x_0$) from a blurred or downsampled version ($y$), often modeled as $y = Ax_0 + n$, where $A$ is the forward model and $n$ is noise. These problems are inherently "ill-posed," meaning multiple solutions can explain the measurements, making it challenging to find the true signal.

While diffusion models have shown great success in tackling inverse problems by guiding generative sampling with measurement data, flow-based models, another powerful class of generative models, have been less explored in this domain. This paper aims to bridge this gap by developing a principled framework for posterior sampling within flow-based models, addressing the challenges of integrating data consistency with the generative capabilities of flows.

Methods

The core contribution of this paper is Flow-Driven Posterior Sampling (FlowDPS). The authors extend the concept of diffusion inverse solvers (DIS) to the flow-based framework. The key innovation lies in decomposing the flow ODE into two components: one for estimating the clean image and another for estimating noise. This decomposition is achieved by leveraging a flow-based version of Tweedie's formula.

Here's a breakdown of the method:

  • Flow ODE Decomposition: The authors derive a way to split the velocity field of the flow ODE into terms related to the denoised estimate ($E[x_0|x_t]$) and the noisy estimate ($E[x_1|x_t]$). This allows for targeted manipulation of these components.
  • Posterior Velocity Field: By integrating the likelihood gradient (representing data consistency) into the clean image estimation component and adding stochastic noise to the noise estimation component, they construct a posterior velocity field. This field guides the sampling process towards solutions that are both consistent with the measurements and adhere to the learned generative prior.
  • Latent FlowDPS: The method is designed to be seamlessly integrated into latent flow models (like Stable Diffusion), enabling efficient processing of high-resolution images by operating in a compressed latent space.
  • Adaptive Guidance: FlowDPS employs an interpolation mechanism that dynamically balances data consistency and generative quality. It prioritizes data consistency in the early stages of sampling to align with measurements and shifts towards generative quality in later stages to refine fine details.

Datasets

The paper evaluates FlowDPS on the following datasets:

  • AFHQ 1k: Used for super-resolution and deblurring tasks.
  • FFHQ 1k: Used for super-resolution and deblurring tasks.
  • DIV2K 0.8k: Used for super-resolution and deblurring tasks.

The authors use the pre-trained Stable Diffusion 3.0 - medium model as the backbone for all solvers, indicating they are not training a new generative model from scratch but rather adapting an existing one for inverse problems.

Key Insights and Ideas

  • Flows are as Capable as Diffusion Models for Inverse Problems: The paper demonstrates that flow-based models, when properly adapted, can achieve comparable or superior performance to diffusion models for inverse problem solving.
  • Tweedie's Formula is Key: The flow-based version of Tweedie's formula provides a crucial theoretical bridge, enabling the decomposition of the flow ODE into interpretable components for targeted manipulation.
  • Decomposition Enables Principled Posterior Sampling: By separating the clean image and noise estimation, FlowDPS offers a more principled way to integrate data consistency and generative priors compared to heuristic approaches.
  • Adaptive Interpolation is Crucial: The dynamic weighting between data-consistent estimates and generative estimates is vital for achieving high-quality reconstructions, especially for severely degraded images. This adaptive approach ensures a smooth transition from measurement adherence to generative refinement.
  • Latent Space Integration is Efficient: Applying FlowDPS in the latent space of models like Stable Diffusion significantly reduces computational cost and memory requirements, making it practical for high-resolution image tasks.

Key Results

FlowDPS consistently outperforms state-of-the-art inverse problem solvers (including LDM-based methods like PSLD, LatentDAPS, ReSample, and flow-based methods like FlowChef) across various linear inverse problems (super-resolution and deblurring) on AFHQ, FFHQ, and DIV2K datasets.

  • Quantitative Improvements: FlowDPS achieves better PSNR, SSIM, FID, and LPIPS scores compared to baselines. For instance, on DIV2K super-resolution (avg-pool), FlowDPS achieves a PSNR of 20.84, SSIM of 0.488, FID of 58.29, and LPIPS of 0.258, outperforming FlowChef (PSNR 18.02, SSIM 0.495, FID 101.5, LPIPS 0.355) and other LDM-based methods.
  • Qualitative Improvements: The generated images exhibit superior fidelity and perceptual quality, with fewer artifacts and sharper details, especially in challenging degradation scenarios.
  • No Additional Training: A significant advantage is that FlowDPS achieves these results without requiring any fine-tuning or additional training of the underlying generative model.

Limitations and Future Work

  • Limitations:
    • The paper primarily focuses on linear inverse problems. While the framework is general, its performance on highly non-linear inverse problems is not extensively explored.
  • The authors mention that defining appropriate text prompts for conditioning can be challenging in practical scenarios, especially for complex datasets like DIV2K.
  • Future Work:
    • The authors anticipate that their approach will inspire further work across a wide range of applications, suggesting potential extensions to more complex inverse problems and generative tasks.
  • The paper provides a theoretical framework and a practical method, opening doors for further research into optimizing the interpolation parameters and exploring different latent flow model architectures.

Summary updated

BibTeX
@inproceedings{kim2025flowdps,
  author = {Jeongsol Kim and Bryan Sangwoo Kim and Jong Chul Ye},
  title = {{FlowDPS : Flow-Driven Posterior Sampling for Inverse Problems}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure