SNAP-FM: Sparse Nonlinear Accelerated Projection for Physics-Constrained Generative Modeling
Not on the map. Why?
Abstract (arXiv)
Generative models have emerged as scalable surrogates for physical simulation, yet they offer no guarantee that their outputs respect the conservation laws, boundary conditions, and nonlinear invariants that govern the underlying physics. Constrained sampling closes this gap, enforcing such constraints exactly at inference time without retraining, but at a computational cost: projection, correction and trajectory-optimization steps are repeated during sampling, with these steps becoming expensive for nonlinear constraints. Standard ML frameworks exacerbate this: their dense tensor algebra and limited sparse solver composability obscure the structure that physical constraints naturally induce, making efficient batched nonlinear optimization difficult to realize in practice. We address this bottleneck by exploiting the structure that sample-wise batching and local PDE couplings induce in the projection subproblems -- namely, block-sparse Jacobian and KKT systems -- exposing this structure using ExaModels.jl and solving the resulting sparse nonlinear programs with MadNLP.jl and GPU sparse factorization. Applied to Physics-Constrained Flow Matching (PCFM), on PDE benchmarks with linear, nonlinear, one-dimensional, and two-dimensional constraints, this approach accelerates nonlinear constraint projection while maintaining constraint satisfaction. These results show that sparse GPU nonlinear optimization is a practical foundation for constrained generative sampling in scientific machine learning.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 35 references that are in the map. First posted on arXiv 30 Jun 2026.
Builds on
18 of 35 references.
References · 18
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
- 2019Hamiltonian Neural Networkscited by 712
- 2022PhysDiff: Physics-Guided Human Motion Diffusion Modelcited by 368
- 2023GenCast: Diffusion-based ensemble forecasting for medium-range weathercited by 177
- 2024D-Flow: Differentiating through Flows for Controlled Generationcited by 122
- 2024DiffusionPDE: Generative PDE-Solving Under Partial Observationcited by 108
- 2024Constrained Synthesis with Projected Diffusion Modelscited by 89
- 2022Neural Conservation Laws: A Divergence-Free Perspectivecited by 70
- 2023Functional Flow Matchingcited by 67
- 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraintscited by 52
- 2024Gradient-Free Generation for Hard-Constrained Systemscited by 38
6 more
- 2022JuMP 1.0: Recent improvements to a modeling language for mathematical optimizationcited by 37
- 2024Diffusion Predictive Control with Constraintscited by 33
- 2023Accelerating Optimal Power Flow with GPUs: SIMD Abstraction of Nonlinear Programs and Condensed-Space Interior-Point Methodscited by 11
- 2025End-to-End Probabilistic Framework for Learning with Hard Constraintscited by 9
- 2023cuPDLP.jl: A GPU Implementation of Restarted Primal-Dual Hybrid Gradient for Linear Programming in Juliacited by 8
- 2024GPU-accelerated dynamic nonlinear optimization with ExaModels and MadNLPcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Constraint-Aware Flow Matching: Decision Aligned End-to-End Training for Constrained Sampling
- 2025Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints
- 2025Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse Problems
- 2026Guided Flow Matching for Forward and Inverse PDE Problems with Sparse Observations: Algorithm and Theory
- 2026The Right Measure for Physics-Constrained Generation: A Co-Area Correction for Posterior-Consistent PDE Inverse Problems
- 2026Latent Generative Solvers for Generalizable Long-Term Physics Simulation
- 2025Strictly Constrained Generative Modeling via Split Augmented Langevin Sampling
- 2026PerFlow: Physics-Embedded Rectified Flow for Efficient Reconstruction and Uncertainty Quantification of Spatiotemporal Dynamics