Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints
On the map: Diffusion models → Flow matching, time series and science
Abstract (arXiv)
Deep generative models have recently been applied to physical systems governed by partial differential equations (PDEs), offering scalable simulation and uncertainty-aware inference. However, enforcing physical constraints, such as conservation laws (linear and nonlinear) and physical consistencies, remains challenging. Existing methods often rely on soft penalties or architectural biases that fail to guarantee hard constraints. In this work, we propose Physics-Constrained Flow Matching (PCFM), a zero-shot inference framework that enforces arbitrary nonlinear constraints in pretrained flow-based generative models. PCFM continuously guides the sampling process through physics-based corrections applied to intermediate solution states, while remaining aligned with the learned flow and satisfying physical constraints. Empirically, PCFM outperforms both unconstrained and constrained baselines on a range of PDEs, including those with shocks, discontinuities, and sharp features, while ensuring exact constraint satisfaction at the final solution. Our method provides a flexible framework for enforcing hard constraints in both scientific and general-purpose generative models, especially in applications where constraint satisfaction is essential.
Key facts. Cited by 52 papers in the map (data through 14 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 53 of its 73 references that are in the map. First posted on arXiv 4 Jun 2025.
Builds on
53 of 73 references.
Closest ancestors · 9
Same direction, newest first
- 2024Gradient-Free Generation for Hard-Constrained Systems2 Dec
- 2024DiffusionPDE: Generative PDE-Solving Under Partial Observation25 Jun
- 2024D-Flow: Differentiating through Flows for Controlled Generation21 Feb
- 2023Functional Flow Matching26 May
- 2023Flow Matching on General Geometries7 Feb
- 2023A Denoising Diffusion Model for Fluid Field Prediction27 Jan
- 2022A Physics-informed Diffusion Model for High-fidelity Flow Field Reconstruction26 Nov
- 2022Flow Matching for Generative Modeling6 Oct
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow7 Sep
Other references · 44
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
- 2021Convex optimizationcited by 2,515
- 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 2,018
- 2016Group Equivariant Convolutional Networkscited by 1,165
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
32 more
- 2023Stochastic Interpolants: A Unifying Framework for Flows and Diffusionscited by 939
- 2019Hamiltonian Neural Networkscited by 712
- 2021Characterizing possible failure modes in physics-informed neural networkscited by 643
- 2020When and why PINNs fail to train: A neural tangent kernel perspectivecited by 634
- 2022Improving Diffusion Models for Inverse Problems using Manifold Constraintscited by 508
- 2019Differentiable Convex Optimization Layerscited by 465
- 2020Lagrangian Neural Networkscited by 398
- 2020Universal Differential Equations for Scientific Machine Learningcited by 353
- 2017The Expressive Power of Neural Networks: A View from the Widthcited by 320
- 2022DiffDock: Diffusion Steps, Twists, and Turns for Molecular Dockingcited by 313
- 2020WeatherBench: A benchmark dataset for data-driven weather forecastingcited by 275
- 2022On Neural Differential Equationscited by 268
- 2024Poseidon: Efficient Foundation Models for PDEscited by 200
- 2021DC3: A learning method for optimization with hard constraintscited by 184
- 2023Solving Inverse Problems with Latent Diffusion Models via Hard Data Consistencycited by 182
- 2020Riemannian Continuous Normalizing Flowscited by 145
- 2023Error Bounds for Flow Matching Methodscited by 91
- 2024Constrained Synthesis with Projected Diffusion Modelscited by 89
- 2019ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEscited by 84
- 2023Score-based Diffusion Models in Function Spacecited by 82
- 2020Neural Manifold Ordinary Differential Equationscited by 81
- 2021Stiff Neural Ordinary Differential Equationscited by 78
- 2022Neural Conservation Laws: A Divergence-Free Perspectivecited by 70
- 2016Normalizing Flows on Riemannian Manifoldscited by 68
- 2024DMPlug: A Plug-in Method for Solving Inverse Problems with Diffusion Modelscited by 61
- 2023Learning Physical Models that Can Respect Conservation Lawscited by 59
- 2022Learning differentiable solvers for systems with hard constraintscited by 34
- 2024Using Uncertainty Quantification to Characterize and Improve Out-of-Domain Learning for PDEscited by 15
- 2022FINDE: Neural Differential Equations for Finding and Preserving Invariant Quantitiescited by 12
- 2023Constraining Generative Models for Engineering Design with Negative Datacited by 11
- 2022Constants of motion networkcited by 10
- 2023Automated Translation and Accelerated Solving of Differential Equations on Multiple GPU Platformscited by 3
Built on by
Citing papers per year: 2025: 12; 2026: 40.
52 papers.
Sort:
By area:
- 2025Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraintscited by 28
- 2025Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse Problemscited by 10
- 2026Decoupled Diffusion Sampling for Inverse Problems on Function Spacescited by 10
- 2025End-to-End Probabilistic Framework for Learning with Hard Constraintscited by 9
- 2025Mirror Flow Matching with Heavy-Tailed Priors for Generative Modeling on Convex Domainscited by 8
- 2025Chance-constrained Flow Matching for High-Fidelity Constraint-aware Generationcited by 7
- 2026Project and Generate: Divergence-Free Neural Operators for Incompressible Flowscited by 7
- 2026D-Flow SGLD: Source-Space Posterior Sampling for Scientific Inverse Problems with Flow Matchingcited by 6
- 2026FlowRefiner: Flow Matching-Based Iterative Refinement for 3D Turbulent Flow Simulationcited by 5
- 2026Flow Learners for PDEs: Toward a Physics-to-Physics Paradigm for Scientific Computingcited by 4
- 2025PRISMA: Improving the Accuracy-Latency Frontier of Diffusion-based PDE Solvers Using Physics-Informed Spectral Attentioncited by 3
- 2026Flow-based Extremal Mathematical Structure Discoverycited by 3
38 more
- 2026Constraint-Aware Flow Matching: Decision Aligned End-to-End Training for Constrained Samplingcited by 3
- 2025Reframing Generative Models for Physical Systems using Stochastic Interpolantscited by 2
- 2026ProFlow: Zero-Shot Physics-Consistent Sampling via Proximal Flow Guidancecited by 2
- 2026Learning Flow Distributions via Projection-Constrained Diffusion on Manifoldscited by 2
- 2026Provably Safe Generative Sampling with Constricting Barrier Functionscited by 2
- 2026Conditional flow matching for physics-constrained inverse problems with finite training datacited by 2
- 2026The Right Measure for Physics-Constrained Generation: A Co-Area Correction for Posterior-Consistent PDE Inverse Problemscited by 2
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewardscited by 2
- 2025Towards Robust Surrogate Models: Benchmarking Machine Learning Approaches to Expediting Phase Field Simulations of Brittle Fracturecited by 1
- 2026Constrained Diffusion for Accelerated Structure Relaxation of Inorganic Solids with Point Defectscited by 1
- 2026AdamFLIP: Adaptive Momentum Feedback Linearization Optimization for Hard Constrained PINN Trainingcited by 1
- 2026Error-Conditioned Neural Solverscited by 1
- 2025GeoFunFlow: Geometric Function Flow Matching for Inverse Operator Learning over Complex Geometriescited by 0
- 2025FATHOMS-RAG: A Framework for the Assessment of Thinking and Observation in Multimodal Systems that use Retrieval Augmented Generationcited by 0
- 2025Flow-Opt: Scalable Centralized Multi-Robot Trajectory Optimization with Flow Matching and Differentiable Optimizationcited by 0
- 2025Prompt-to-Parts: Generative AI for Physical Assembly and Scalable Instructionscited by 0
- 2026Deterministic and probabilistic neural surrogates of global hybrid-Vlasov simulationscited by 0
- 2026Convolution Operator Network for Forward and Inverse Problems (FI-Conv): Application to Plasma Turbulence Simulationscited by 0
- 2026Sparsely-Supervised Data Assimilation via Physics-Informed Schr"odinger Bridgecited by 0
- 2026AMGenC: Generating Charge Balanced Amorphous Materialscited by 0
- 2026Flow Matching with Arbitrary Auxiliary Pathscited by 0
- 2026Inpainting physics: self-supervised learning for context-driven fluid simulationcited by 0
- 2026Enforcing Constraints in Generative Sampling via Adaptive Correction Schedulingcited by 0
- 2026Guided Flow Matching for Forward and Inverse PDE Problems with Sparse Observations: Algorithm and Theorycited by 0
- 2026SNAP-FM: Sparse Nonlinear Accelerated Projection for Physics-Constrained Generative Modelingcited by 0
- 2026CCFM: Collision-Constrained Flow Matching for Safety-Critical Scenario Generationcited by 0
- 2026Constrained Flow Matching via Lagrangian Dual Flowscited by 0
- 2026Lantern: Conflict-Aware Gradient Blending for Physics-Guided Diffusion Models in Calorimeter Simulationcited by 0
- 2026Composing Flow-Matching Energies with Known Physics: Generation, OOD Detection, and Inversion on PDE Fieldscited by 0
- 2026Self-Augmented Diffusion Guidance for Physics-Informed Generationcited by 0
- 2026Let It Go or Learn to Self-Correct: Continuous Diffusion for Constrained Discrete Taskscited by 0
- 2026Source Anchoring for Physical Consistency in Flow Matching Modelscited by 0
- 2026PMosFM: Preconditioned Manifold Matching for One-Step Physics-Constrained Generationcited by 0
- 2026EP-Flow: Disordered Crystal Structure Prediction without Site-Level Annotationscited by 0
- 2026LyapuFlow: Controlling Generative Flows with Lyapunov Feedback for Inverse Problemscited by 0
- 2026Xaurora: Generative Weather Forecasting with Denoising Stochastic Interpolants from a Foundation Model Priorcited by 0
- 2026Primal-Dual Flow Matching for Sample-Wise Constrained Generationcited by 0
- 2026When do explicit penalties improve flow matching?cited by 0
50 most cited of 52 All 52 (JSON)
- 2026ReAl: Refine neural operators via aligning dynamical flow14 Oct 2026
- 2026Characterizing and Mitigating Distributional Bias in Physics-Informed Generative Models12 Oct 2026
- 2026When do explicit penalties improve flow matching?11 Oct 2026
- 2026Primal-Dual Flow Matching for Sample-Wise Constrained Generation8 Oct 2026
- 2026Xaurora: Generative Weather Forecasting with Denoising Stochastic Interpolants from a Foundation Model Prior5 Oct 2026
- 2026LyapuFlow: Controlling Generative Flows with Lyapunov Feedback for Inverse Problems3 Oct 2026
- 2026EP-Flow: Disordered Crystal Structure Prediction without Site-Level Annotations1 Oct 2026
- 2026PMosFM: Preconditioned Manifold Matching for One-Step Physics-Constrained Generation30 Sep 2026
- 2026Source Anchoring for Physical Consistency in Flow Matching Models27 Sep 2026
- 2026Let It Go or Learn to Self-Correct: Continuous Diffusion for Constrained Discrete Tasks8 Sep 2026
- 2026Self-Augmented Diffusion Guidance for Physics-Informed Generation27 Aug 2026
- 2026Composing Flow-Matching Energies with Known Physics: Generation, OOD Detection, and Inversion on PDE Fields18 Aug 2026
38 more
- 2026Lantern: Conflict-Aware Gradient Blending for Physics-Guided Diffusion Models in Calorimeter Simulation27 Jul 2026
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewards11 Jul 2026
- 2026Constrained Flow Matching via Lagrangian Dual Flows5 Jul 2026
- 2026CCFM: Collision-Constrained Flow Matching for Safety-Critical Scenario Generation5 Jul 2026
- 2026SNAP-FM: Sparse Nonlinear Accelerated Projection for Physics-Constrained Generative Modeling30 Jun 2026
- 2026Error-Conditioned Neural Solvers25 Jun 2026
- 2026The Right Measure for Physics-Constrained Generation: A Co-Area Correction for Posterior-Consistent PDE Inverse Problems3 Jun 2026
- 2026Guided Flow Matching for Forward and Inverse PDE Problems with Sparse Observations: Algorithm and Theory25 May 2026
- 2026Constraint-Aware Flow Matching: Decision Aligned End-to-End Training for Constrained Sampling12 May 2026
- 2026Enforcing Constraints in Generative Sampling via Adaptive Correction Scheduling11 May 2026
- 2026Inpainting physics: self-supervised learning for context-driven fluid simulation9 May 2026
- 2026AdamFLIP: Adaptive Momentum Feedback Linearization Optimization for Hard Constrained PINN Training8 May 2026
- 2026Flow Matching with Arbitrary Auxiliary Paths7 May 2026
- 2026AMGenC: Generating Charge Balanced Amorphous Materials30 Apr 2026
- 2026FlowRefiner: Flow Matching-Based Iterative Refinement for 3D Turbulent Flow Simulation18 Apr 2026
- 2026Flow Learners for PDEs: Toward a Physics-to-Physics Paradigm for Scientific Computing2 Apr 2026
- 2026Project and Generate: Divergence-Free Neural Operators for Incompressible Flows25 Mar 2026
- 2026Sparsely-Supervised Data Assimilation via Physics-Informed Schr"odinger Bridge20 Mar 2026
- 2026Conditional flow matching for physics-constrained inverse problems with finite training data14 Mar 2026
- 2026D-Flow SGLD: Source-Space Posterior Sampling for Scientific Inverse Problems with Flow Matching25 Feb 2026
- 2026Provably Safe Generative Sampling with Constricting Barrier Functions24 Feb 2026
- 2026Constrained Diffusion for Accelerated Structure Relaxation of Inorganic Solids with Point Defects22 Feb 2026
- 2026Learning Flow Distributions via Projection-Constrained Diffusion on Manifolds19 Feb 2026
- 2026Convolution Operator Network for Forward and Inverse Problems (FI-Conv): Application to Plasma Turbulence Simulations4 Feb 2026
- 2026Decoupled Diffusion Sampling for Inverse Problems on Function Spaces30 Jan 2026
- 2026ProFlow: Zero-Shot Physics-Consistent Sampling via Proximal Flow Guidance28 Jan 2026
- 2026Flow-based Extremal Mathematical Structure Discovery25 Jan 2026
- 2026Deterministic and probabilistic neural surrogates of global hybrid-Vlasov simulations18 Jan 2026
- 2025Prompt-to-Parts: Generative AI for Physical Assembly and Scalable Instructions10 Dec 2025
- 2025PRISMA: Improving the Accuracy-Latency Frontier of Diffusion-based PDE Solvers Using Physics-Informed Spectral Attention1 Dec 2025
- 2025Flow-Opt: Scalable Centralized Multi-Robot Trajectory Optimization with Flow Matching and Differentiable Optimization10 Oct 2025
- 2025FATHOMS-RAG: A Framework for the Assessment of Thinking and Observation in Multimodal Systems that use Retrieval Augmented Generation10 Oct 2025
- 2025Mirror Flow Matching with Heavy-Tailed Priors for Generative Modeling on Convex Domains10 Oct 2025
- 2025Reframing Generative Models for Physical Systems using Stochastic Interpolants30 Sep 2025
- 2025Chance-constrained Flow Matching for High-Fidelity Constraint-aware Generation29 Sep 2025
- 2025GeoFunFlow: Geometric Function Flow Matching for Inverse Operator Learning over Complex Geometries28 Sep 2025
- 2025Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse Problems5 Aug 2025
- 2025Towards Robust Surrogate Models: Benchmarking Machine Learning Approaches to Expediting Phase Field Simulations of Brittle Fracture9 Jul 2025
50 newest of 52 All 52 (JSON)
- 2025Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraintscited by 28
- 2025Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse Problemscited by 10
- 2026Decoupled Diffusion Sampling for Inverse Problems on Function Spacescited by 10
- 2025Mirror Flow Matching with Heavy-Tailed Priors for Generative Modeling on Convex Domainscited by 8
- 2025Chance-constrained Flow Matching for High-Fidelity Constraint-aware Generationcited by 7
- 2026D-Flow SGLD: Source-Space Posterior Sampling for Scientific Inverse Problems with Flow Matchingcited by 6
- 2026FlowRefiner: Flow Matching-Based Iterative Refinement for 3D Turbulent Flow Simulationcited by 5
- 2026Constraint-Aware Flow Matching: Decision Aligned End-to-End Training for Constrained Samplingcited by 3
- 2026Learning Flow Distributions via Projection-Constrained Diffusion on Manifoldscited by 2
- 2026Provably Safe Generative Sampling with Constricting Barrier Functionscited by 2
- 2026Conditional flow matching for physics-constrained inverse problems with finite training datacited by 2
- 2026The Right Measure for Physics-Constrained Generation: A Co-Area Correction for Posterior-Consistent PDE Inverse Problemscited by 2
12 most cited of 26 All 26 (JSON)
- 2026ReAl: Refine neural operators via aligning dynamical flow14 Oct 2026
- 2026Characterizing and Mitigating Distributional Bias in Physics-Informed Generative Models12 Oct 2026
- 2026When do explicit penalties improve flow matching?11 Oct 2026
- 2026Primal-Dual Flow Matching for Sample-Wise Constrained Generation8 Oct 2026
- 2026Source Anchoring for Physical Consistency in Flow Matching Models27 Sep 2026
- 2026Let It Go or Learn to Self-Correct: Continuous Diffusion for Constrained Discrete Tasks8 Sep 2026
- 2026Self-Augmented Diffusion Guidance for Physics-Informed Generation27 Aug 2026
- 2026Composing Flow-Matching Energies with Known Physics: Generation, OOD Detection, and Inversion on PDE Fields18 Aug 2026
- 2026Lantern: Conflict-Aware Gradient Blending for Physics-Guided Diffusion Models in Calorimeter Simulation27 Jul 2026
- 2026Constrained Flow Matching via Lagrangian Dual Flows5 Jul 2026
- 2026The Right Measure for Physics-Constrained Generation: A Co-Area Correction for Posterior-Consistent PDE Inverse Problems3 Jun 2026
- 2026Guided Flow Matching for Forward and Inverse PDE Problems with Sparse Observations: Algorithm and Theory25 May 2026
12 newest of 26 All 26 (JSON)
- 2025End-to-End Probabilistic Framework for Learning with Hard Constraintscited by 9
- 2026Project and Generate: Divergence-Free Neural Operators for Incompressible Flowscited by 7
- 2026Flow Learners for PDEs: Toward a Physics-to-Physics Paradigm for Scientific Computingcited by 4
- 2025PRISMA: Improving the Accuracy-Latency Frontier of Diffusion-based PDE Solvers Using Physics-Informed Spectral Attentioncited by 3
- 2026Flow-based Extremal Mathematical Structure Discoverycited by 3
- 2025Reframing Generative Models for Physical Systems using Stochastic Interpolantscited by 2
- 2026ProFlow: Zero-Shot Physics-Consistent Sampling via Proximal Flow Guidancecited by 2
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewardscited by 2
- 2025Towards Robust Surrogate Models: Benchmarking Machine Learning Approaches to Expediting Phase Field Simulations of Brittle Fracturecited by 1
- 2026Constrained Diffusion for Accelerated Structure Relaxation of Inorganic Solids with Point Defectscited by 1
- 2026AdamFLIP: Adaptive Momentum Feedback Linearization Optimization for Hard Constrained PINN Trainingcited by 1
- 2026Error-Conditioned Neural Solverscited by 1
12 most cited of 25 All 25 (JSON)
- 2026Xaurora: Generative Weather Forecasting with Denoising Stochastic Interpolants from a Foundation Model Prior5 Oct 2026
- 2026LyapuFlow: Controlling Generative Flows with Lyapunov Feedback for Inverse Problems3 Oct 2026
- 2026EP-Flow: Disordered Crystal Structure Prediction without Site-Level Annotations1 Oct 2026
- 2026PMosFM: Preconditioned Manifold Matching for One-Step Physics-Constrained Generation30 Sep 2026
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewards11 Jul 2026
- 2026CCFM: Collision-Constrained Flow Matching for Safety-Critical Scenario Generation5 Jul 2026
- 2026SNAP-FM: Sparse Nonlinear Accelerated Projection for Physics-Constrained Generative Modeling30 Jun 2026
- 2026Error-Conditioned Neural Solvers25 Jun 2026
- 2026Enforcing Constraints in Generative Sampling via Adaptive Correction Scheduling11 May 2026
- 2026Inpainting physics: self-supervised learning for context-driven fluid simulation9 May 2026
- 2026AdamFLIP: Adaptive Momentum Feedback Linearization Optimization for Hard Constrained PINN Training8 May 2026
- 2026AMGenC: Generating Charge Balanced Amorphous Materials30 Apr 2026
12 newest of 25 All 25 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026MintFlow: Minimal Trajectory Intervention for Constrained Flow Matching
- 2025Force Matching with Relativistic Constraints: A Physics-Inspired Approach to Stable and Efficient Generative Modeling
- 2026A Kinetic Energy Perspective of Flow Matching
- 2026Physical Fidelity Reconstruction via Improved Consistency-Distilled Flow Matching for Dynamical Systems
- 2026PolyFlow: Safe and Efficient Polytope-Constrained Flow Matching with Constraint Embedding and Projection-free Update
- 2025Physics-Informed Distillation of Diffusion Models for PDE-Constrained Generation
- 2025Strictly Constrained Generative Modeling via Split Augmented Langevin Sampling
- 2026From Euler to Dormand-Prince: ODE Solvers for Flow Matching Generative Models