PMosFM: Preconditioned Manifold Matching for One-Step Physics-Constrained Generation
Organizations: Department of Artificial Intelligence Westlake University
Abstract
Physics-constrained generative models aim to generate physical fields that match a target distribution and satisfy prescribed constraints. However, enforcing these constraints often increases sampling costs through iterative corrections or training costs through residual optimization and trajectory unrolling. To address this issue, we introduce \textbf{P}reconditioned \textbf{M}anifold \textbf{o}ne-\textbf{s}tep \textbf{F}low \textbf{M}atching (\textbf{PMosFM}), a preconditioned manifold matching framework for one-step physics-constrained generation. By encoding constraints in a manifold decoder, PMosFM learns transport in intrinsic coordinates without separate residual losses or terminal residual unrolling. A geometric preconditioner rescales coordinates using the decoder-induced metric, while a regularized covariance transform approximately whitens the interpolation-state inputs. A finite-interval objective couples velocity supervision with consistency between decoded endpoints in physical space. We show that exact parameterization removes residual-induced Gauss--Newton curvature, that geometric and covariance effects separate in a local conditioning bound, and that physical flow-map error bounds endpoint distributional error. Controlled ablations examine conditioning, and experiments evaluate optimizer-update time and memory footprint. At inference, PMosFM uses one neural transport evaluation followed by physical decoding. Experiments across benchmarks show lower training and sampling time than the multi-step baselines at comparable physical and distributional fidelity. Code and datasets will be released publicly.
Figures & tables
| Method | Physics at training | Hard constraints | Gradient-free inference | Complex constraints | No manual physics– fidelity balancing | One step sampling | Residual-factorized physics training | Spectral/Jacobian preconditioning |
|---|---|---|---|---|---|---|---|---|
| FFM [ 20 ] | ||||||||
| FM-OT [ 24 ] | ||||||||
| CoCoGen [ 19 ] | ||||||||
| DiffusionPDE [ 18 ] | ||||||||
| PIDM [ 4 ] | ||||||||
| D-Flow [ 5 ] |
| Benchmark | PBFM | PMosFM † 0 unrolling | |||||
|---|---|---|---|---|---|---|---|
| 1 step | 2 steps | 3 steps | 4 steps | Sum | |||
| Darcy | [s] | 0.067 | 0.098 | 0.128 | 0.159 | 0.452 | 0.019 |
| [GB] | 12.6 | 23.3 | 33.7 | 44.2 | 114 | 0.128 | |
| Kolmogorov | [s] | 0.194 | 0.302 | 0.410 | 0.518 | 1.42 | 0.021 |
| [GB] | 4.52 | 6.91 | 9.56 | 12.2 | 33.2 | 0.143 | |
| Dynamic Stall | [s] | 0.081 | 0.118 | 0.155 | 0.190 | 0.544 | 0.056 |
| Benchmark | Metric | FM-OT | CoCoGen | PIDM | DiffusionPDE | D-Flow | ECI | PCFM | PBFM | PMosFM |
|---|---|---|---|---|---|---|---|---|---|---|
| Dynamic Stall | RE | 11.0 | 376 | 12.2 | 11.3 | 40.7 | 0.143 | 0.339 | 0.0421 | |
| WD | 2.71 | 132 | 179 | 2.51 | 3.48 | 11.1 | 4.01 | 1.81 | 0.842 | |
| JS | 0.983 | 1.69 | 4.14 | 1.03 | 1.01 | 0.0570 | 7.46 | 0.680 | 0.0368 | |
| NFE | 20 | 100 | 100 | 20 | 20 | 200 | 20 | 20 | 1 | |
| IT [s] | 0.0598 | 0.184 | 0.0866 | 0.172 | 0.139 | 0.432 | 3.91 | 0.0605 | 0.00338 | |
| Darcy Flow | RE | 4.16 | 1.32 | 0.0220 | 3.39 | 2.29 | 3.05 | 0.838 | 0.120 |
| Benchmark | PMosFM- | PMosFM- | PMosFM- | PMosFM- | PMosFM- | PMosFM- | PMosFM- |
|---|---|---|---|---|---|---|---|
| MeanFlow | iMF | W-Flow | Drifting | SoFlow | Shortcut | native | |
| Burgers | 0.0758 | 0.0765 | 0.0518 | 0.0713 | 0.0714 | 0.0849 | 0.0374 |
| Dynamic Stall | 0.1403 | 0.1315 | 0.0594 | 0.0442 | 0.1352 | 0.0455 | 0.0036 |
| Darcy Flow | 0.0277 | 0.0341 | 0.0163 | 0.0233 | 0.0317 | 0.0158 | 0.0043 |
| KF Reconstruction | 0.0144 | 0.0145 | 0.0574 | 0.0476 | 0.0249 | 0.0104 | 0.0037 |
| KF Generation | 2.0645 | 2.1278 | 1.6020 | 2.1451 | 2.0887 | 1.9672 | 1.5922 |
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Name | Description |
| state space, condition, mesh | is a discretized physical state; is the condition; is the spatial discretization. | |
| discrete residual | Residual that evaluates the hard physical constraint; is the number of residual components. | |
| residual-zero set | ; is the component represented by the model. | |
| intrinsic coordinates | represents the independent degrees of freedom; under the regular-rank assumption. | |
| constraint-satisfying parameterization and encoder | ; encodes feasible data or provides a measurable selection. | |
| coordinate and residual Jacobians | , satisfy ; regular-rank conditions identify with the tangent space. |
| Constraint type | Representative form | Linearity |
|---|---|---|
| Affine IC / BC / observations | Linear | |
| Global conservation | Linear | |
| Differential compatibility | Linear | |
| Algebraic constitutive relation | Nonlinear | |
| Implicit PDE constraint | Potentially nonlinear | |
| General nonlinear coupled constraint | Nonlinear |
| Benchmark | Metric | FM-OT | CoCoGen | PIDM | DiffusionPDE | D-Flow | ECI | PCFM | PBFM | PMosFM |
|---|---|---|---|---|---|---|---|---|---|---|
| Dynamic Stall | Train s/iter | 0.0183 | 0.0090 | 0.0094 | 0.0511 | 0.0470 | 0.0169 | 0.0183 | 0.5440 | 0.0563 |
| Peak GB | 0.4027 | 0.9467 | 0.9465 | 2.1603 | 0.9475 | 0.4027 | 0.4027 | 34.1000 | 0.2580 | |
| Darcy Flow | Train s/iter | 0.0289 | 0.0073 | 0.0065 | 0.0517 | 0.0170 | 0.0276 | 0.0289 | 0.4520 | 0.0185 |
| Peak GB | 0.5621 | 0.2412 | 0.2412 | 2.1569 | 0.2418 | 0.5621 | 0.5621 | 114.0000 | 0.1280 | |
| Burgers | Train s/iter | 0.0246 | 0.0249 | 0.0245 | 0.0513 | 0.0240 | 0.0091 | 0.0091 | 0.0126 | 0.0057 |
| Peak GB | 2.2491 | 2.2465 | 2.2465 | 2.1565 | 2.2465 | 0.9487 | 0.9487 | 0.7245 | 0.5676 |
| Benchmark | Task | Physical check | Distributional check |
|---|---|---|---|
| Darcy flow | Field generation | PDE/boundary residual | WD/JS; field moments |
| Dynamic stall | Conditional field | Wall-shear residual | MSE; shock statistics |
| Burgers | Nonlinear field | Conservation/boundary residual | WD/JS; shock location |
| Kolmogorov flow generation | Turbulence field | Incompressibility/flow statistics | MMD/WD; spectra; diversity |
| Kolmogorov flow reconstruction | Conditional inverse | Observation/flow consistency | MSE; CRPS/coverage |
| Turbulence forecast | Forecasting | Temporal/flow diagnostics | Forecast MSE; spectra; long-horizon stats |
| Dataset | Metric | FFM | Diffusion PDE | PDM | D-Flow | ECI | PCFM | PBFM | PMosFM |
|---|---|---|---|---|---|---|---|---|---|
| Heat Equation | MMSE / | 4.56 | 4.49 | 0.45 | 1.97 | 0.697 | 0.241 | 0.043 | 0.016 |
| SMSE / | 3.51 | 3.93 | 0.02 | 1.14 | 0.973 | 0.937 | 0.242 | 0.003 | |
| CE (IC) / | 579 | 599 | 0 | 102 | 0 | 0 | 24.2 | 0 | |
| CE (CL) / | 2.11 | 2.06 | 0 | 64.8 | 0 | 0 | 57.5 | 0 | |
| FPD | 1.77 | 1.70 | 0.17 | 2.70 | 1.34 | 1.22 | – | 0.0806 | |
| Navier–Stokes | MMSE / | 16.5 | 17.4 | 12.21 | – | 5.23 | 4.59 | – | 4.41 |
| Coordinates | Active | Steps to |
|---|---|---|
| Raw covariance coordinates | ||
| Exact state-whitened coordinates |
| Method | Field MSE | Divergence RMS | – JS | – TV | Hellinger |
|---|---|---|---|---|---|
| FM-OT | |||||
| advNO | |||||
| FluidFlow | |||||
| CoCoGen | |||||
| DiffusionPDE | |||||
| PIDM |
| Missing | Method | Missing-region | Physical | CRPS | Coverage | Interval |
|---|---|---|---|---|---|---|
| RMSE | residual | error | width | |||
| 50% | PBFM | 0.063159 | 1.102126 | 0.024882 | 0.075232 | 0.084228 |
| ECI | 0.045158 | 1.910683 | 0.019637 | 0.035143 | 0.126545 | |
| PCFM | 0.067615 | 1.520453 | 0.030269 | 0.099867 | 0.112164 | |
| PCFT | 0.069091 | 1.081061 | 0.027396 | 0.095131 | 0.082924 | |
| PMosFM | 0.029653 | 0.620392 | 0.008742 | 0.010382 | 0.036809 |
| Benchmark | Configuration | Loss Formulation | Field MSE | Residual / Div. RMS | Physical Sliced |
|---|---|---|---|---|---|
| Kolmogorov Flow ( ) | PE only ( ) | Direct Endpoint | |||
| PE-heavy ( ) | Two-Time Joint | ||||
| PMosFM Balanced ( ) | Two-Time Joint ( ) | ||||
| FM-heavy ( ) | Two-Time Joint | ||||
| FM only ( ) | Velocity Flow Matching | ||||
| Darcy Flow ( ) | PE only ( ) | Direct Endpoint |
| Training terms | Held-out diagnostic | |||||||
|---|---|---|---|---|---|---|---|---|
| Variant | Velocity | Endpoint | Physical MSE | Divergence RMS | – JS | – TV | Hellinger | |
| No gradient | yes | yes | – | |||||
| Full objective | yes | yes | ||||||
| Transform | Condition | 90% Reduction | Kolmogorov Div Err | Iteration ratio |
|---|---|---|---|---|
| Identity (Vanilla) | (baseline) | |||
| Standardization (Diagonal) | ||||
| Preconditioning (PMosFM) |
| Iterations | Relative Pressure Error | Independent Residual RE | Latency / sample (ms) |
|---|---|---|---|
| 16 | 0.62 ms | ||
| 32 | 0.98 ms | ||
| 64 | 1.65 ms | ||
| 128 | 2.84 ms | ||
| 256 | 5.12 ms |
| 32 | ||
|---|---|---|
| 64 | ||
| 128 | ||
| 256 |