ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2506.04171
71
0

Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints

4 June 2025
Utkarsh Utkarsh
Pengfei Cai
Alan Edelman
Rafael Gomez-Bombarelli
Christopher Rackauckas
    AI4CE
ArXiv (abs)PDFHTML
Main:9 Pages
9 Figures
Bibliography:5 Pages
4 Tables
Appendix:13 Pages
Abstract

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 general framework for enforcing hard constraints in both scientific and general-purpose generative models, especially in applications where constraint satisfaction is essential.

View on arXiv
@article{utkarsh2025_2506.04171,
  title={ Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints },
  author={ Utkarsh Utkarsh and Pengfei Cai and Alan Edelman and Rafael Gomez-Bombarelli and Christopher Vincent Rackauckas },
  journal={arXiv preprint arXiv:2506.04171},
  year={ 2025 }
}
Comments on this paper