NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ProFlow: Zero-Shot Physics-Consistent Sampling via Proximal Flow Guidance

Zichao Yu, Ming Li, Wenyi Zhang, Difan Zou, Weiguo GaoarXiv 2026

TL;DR

ProFlow is a novel zero-shot sampling framework that enables pre-trained generative flow models to solve partial differential equation (PDE) inverse problems while strictly satisfying physical laws and observational data. By alternating between a terminal proximal optimization step and a flow-consistent interpolation step, it enforces hard physical constraints without requiring costly task-specific retraining or sacrificing sample diversity.

What Problem Does This Paper Address?

In computational physics, scientists frequently need to infer full physical fields (like fluid velocity, permeability, or wave fields) from sparse, noisy sensor measurements. While deep generative models like diffusion and flow matching offer powerful data-driven priors for these inverse problems, existing methods face a frustrating trade-off:

  1. Soft Guidance: Methods that use gradient penalties to nudge the model toward physical consistency often fail to strictly satisfy the underlying PDEs, leading to physically impossible solutions that violate conservation laws.
  2. Hard Projections: Methods that forcefully project trajectories onto constraint manifolds often push the samples off the learned data distribution, destroying the model's ability to accurately represent uncertainty.

Furthermore, many current approaches rely on heuristic trajectory modifications and lack a principled statistical foundation. ProFlow bridges this gap by introducing a zero-shot framework that guarantees strict physical consistency and observational fidelity while preserving the statistical structure of the pre-trained prior.

Methods

ProFlow builds on Functional Flow Matching (FFM), a generative paradigm that treats data as continuous fields. Instead of modifying the weights of the pre-trained model, ProFlow alters the sampling trajectory at each timestep using a rigorous two-step scheme:

  1. Terminal Optimization Step: At each timestep $t_n$, the model predicts a candidate terminal state $\hat{u}_1$. ProFlow then solves a proximal optimization problem to project this prediction onto the intersection of the physically consistent set (where the PDE residual is zero) and the observationally consistent set. This step balances trust in the generative prior against trust in the sparse data.
  2. Interpolation Step: Because the optimization step pushes the state off the standard generative manifold, ProFlow draws a fresh reference noise sample $\varepsilon$ and uses a linear interpolation to map the refined state back to the next intermediate timestep $t_{n+1}$. This ensures the trajectory adheres to the "straight line" probability path assumed during FFM training.
Fig. 1. A conceptual illustration of ProFlow. The algorithm alternates between (i) a terminal optimization step, which projects the model’s predicted solution ˆu1 onto the physically and observationally consistent set by solving a proximal optimization problem; and (ii) an inter- polation step, which constructs the next state utn+1 by linearly blending the refined solution u1 with the freshly drawn noise ε, adhering to the flow matching probability path.

Mathematically, this alternating procedure is derived from a conditional law factorization, admitting a clean Bayesian interpretation as a sequence of local maximum a posteriori (MAP) updates.

Datasets

The authors evaluated ProFlow across three elliptic PDE families and one time-dependent conservation law using public datasets from Fourier Neural Operator (FNO) and DiffusionPDE releases:

  • Poisson Equation: Standard electrostatic/gravitational potential modeling.
  • Helmholtz Equation: Used for wave propagation.
  • Darcy Flow: Modeling fluid flow through porous media.
  • Viscous Burgers' Equation: A fundamental 1D non-linear PDE for fluid dynamics.

The tasks included forward problems (inferring solutions from coefficients), inverse problems (recovering coefficients from solutions), and joint sparse reconstructions (where both fields are only 50% observed).

Key Insights and Ideas

  • The "Straight Line" Reset: Instead of trying to heuristically patch an off-manifold state, ProFlow completely re-initializes the next step along a clean linear bridge using fresh noise. This prevents "manifold divergence" and ensures the pre-trained velocity network always operates on valid inputs.
  • Hard Constraints via Proximal Optimization: ProFlow is classified as a hard constraint method because it restricts the search space directly via an implicit indicator function. Physical laws are satisfied up to the convergence tolerance of the inner optimizer.
  • Conceptual Superiority: As shown in the paper's comparison table, ProFlow is unique in satisfying all desired properties: it is zero-shot, handles both observations and physics, preserves the prior, and enforces hard constraints.
Table 1. Comparison of generative methods incorporating physical or observational constraints. Columns indicate: zero-shot (sampling without retraining), observation/physics (ability to enforce respective constraints), prior (preservation of the pretrained generative mani- fold statistics), and enforcement type (mechanism of constraint handling).

Key Results

ProFlow consistently outperformed state-of-the-art baselines (including DiffusionPDE, D-Flow, and PCFM) across all benchmarks:

  • Accuracy: In the Poisson forward problem, ProFlow halved the Reconstruction Error (RE) compared to the next-best method (D-Flow). For the Burgers' equation under boundary conditions, it reduced reconstruction error by nearly 40% relative to DiffusionPDE.
  • Physical Consistency: ProFlow achieved significantly lower PDE residuals across the board, demonstrating its capability to generate highly realistic, physically valid trajectories.
  • Uncertainty Quantification: Unlike projection baselines like PCFM, which frequently suffered from numerical divergence or mode collapse (generating identical samples), ProFlow successfully generated diverse, physically plausible trajectories that accurately captured posterior uncertainty.

Limitations and Future Work

While powerful, ProFlow has a few limitations that open up avenues for future research:

  • Computational Overhead: Solving a proximal optimization problem at every sampling step introduces non-negligible computational costs, though it remains more efficient than global optimization methods like D-Flow. The authors suggest exploring accelerated splitting schemes to speed up this inner loop.
  • Chaotic Systems: Scaling the framework to highly turbulent or chaotic physical systems remains an open challenge. This might require integrating latent-space flow matching or multi-resolution strategies to cope with extreme spatial complexity.
  • Theoretical Guarantees: While ProFlow boasts a local Bayesian interpretation, proving global convergence guarantees for the coupled proximal-flow iteration remains an unresolved theoretical problem.

Summary updated

BibTeX
@misc{yu2026proflow,
  author = {Zichao Yu and Ming Li and Wenyi Zhang and Difan Zou and Weiguo Gao},
  title = {{ProFlow: Zero-Shot Physics-Consistent Sampling via Proximal Flow Guidance}},
  year = {2026},
  eprint = {2601.20227},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.20227},
}
Figure