ProFlow: Zero-Shot Physics-Consistent Sampling via Proximal Flow Guidance
Abstract
Inferring physical fields from sparse observations while closely respecting the governing partial differential equations is a fundamental challenge in computational physics. Deep generative models offer powerful data-driven priors for such inverse problems, yet existing methods struggle to enforce hard physical constraints without costly retraining or disrupting the learned generative prior. This calls for a sampling mechanism that reconciles strict physical consistency and observational fidelity with the statistical structure of the pre-trained prior. To this end, we present ProFlow, a proximal guidance framework for zero-shot physics-consistent sampling, defined as inferring solutions from sparse observations using a fixed generative prior without task-specific retraining. The algorithm alternates between two steps: (i) a terminal optimization step, which drives the flow prediction toward the intersection of the physically and observationally consistent sets via proximal minimization; and (ii) an interpolation step, which maps the refined state back to the generative trajectory to maintain consistency with the learned flow probability path. This procedure admits a Bayesian interpretation as a sequence of local maximum a posteriori updates. Benchmarks on Poisson, Helmholtz, Darcy, and viscous Burgers’ equations demonstrate that ProFlow achieves superior physical and observational consistency and more accurate distributional statistics than state-of-the-art diffusion- and flow-based baselines. Our code is publicly available at this ProFlow repository.
// Source
Authors: Zichao Yu, Ming Li, Wenyi Zhang, Difan Zou, Weiguo Gao
Institutions: University of Hong Kong, Fudan University, University of Science and Technology of China