Manuscript Offprint
arXiv:2611.01651Physics-Informed One-Step Generation on Long-short flow maps
ABSTRACT
We propose Physics-Informed Long-Short Flow Maps with Direct Guidance (PI-LSFM), a one-step generative method for producing data-aligned and physically valid samples. Existing one-step physics-informed generative models must jointly control data fidelity and physical constraints without the iterative correction of multi-step samplers, making it difficult to coordinate indirect surrogate supervision with strong physics enforcement. PI-LSFM addresses this challenge by decomposing generation into a long flow map for global transport and a near-terminal short flow map, where closed-form data and physics potentials provide directly computable guidance targets instead of indirect regression surrogates. The short map guides the long map during training, yielding a single one-step generator that requires neither staged distillation nor inference-time correction. Across Darcy flow, Kolmogorov flow, dynamic stall, and topology optimization, PI-LSFM achieves a favorable trade-off among distributional fidelity, physical residuals, and inference efficiency while using only one function evaluation at inference.
1 INTRODUCTION
Many problems in scientific machine learning are inherently distributional: under uncertain boundary conditions, perturbed parameters, incomplete observations, or intrinsic stochasticity, one seeks not a single deterministic solution, but a distribution of physically feasible ones. This makes generative modeling a natural framework for physical systems, as it can capture high-dimensional solution distributions while incorporating PDEs, conservation laws, and other physical constraints. Recent works have therefore introduced physics-informed diffusion and related generative frameworks to produce samples that are both statistically plausible and physically valid Shu et al. (2023); Huang et al. (2024); Jacobsen et al. (2025). However, these methods typically rely on iterative multi-step generation and are often slow for practical use, which naturally motivates fast and ideally one-step physics-informed generation.
The main difficulty, however, is not merely that one-step generation is harder to train, but that existing physics-informed diffusion methods rely on indirect supervision for both data and physics. On the data side, flow matching learns the data distribution through the surrogate regression objective , where the model is supervised by the conditional velocity because the true marginal velocity is unavailable. On the physics side, directly applying a nonlinear residual to intermediate states causes a Jensen-type mismatch Bastek et al. (2024); existing methods therefore impose the residual on a reconstructed endpoint, , and use it to supervise intermediate states indirectly. This double indirectness makes distributional and physical objectives difficult to coordinate Baldan et al. (2026). The issue is amplified in one-step methods such as MeanFlow Geng et al. (2025) and ShortCut Frans et al. (2025). A long-range flow map is difficult to learn and, unlike an instantaneous velocity, lacks a consistent data-conditioned counterpart for surrogate supervision Li et al. (2025; 2026). Moreover, one-step sampling removes the iterative correction available in multi-step methods Bastek et al. (2024), requiring stronger physics enforcement during training. Thus, one-step physics-informed generation must couple a harder indirect distribution objective with a stronger physics objective, making training fragile. Even in endpoint-prediction methods such as sCM Lu & Song (2024), where the residual can be applied directly to , the data objective remains indirect. Chang et al.
(2026) show that coupling strong physics constraints with indirect distribution objectives can lead to trivial solutions, severe mode collapse, and the need for two-stage distillation.
In this work, we study physics-informed one-step generation in flow-map-based frameworks and aim to enable stable training from scratch through direct data-distribution and physics-constraint objectives. This is difficult in existing methods: closed-form flow-matching solutions are typically too inefficient for practical training Bertrand et al. (2025), while directly imposing physical constraints at intermediate states leads to Jensen's gap. Our key observation is that both objectives can be imposed directly in the near-terminal data neighborhood, where they provide effective and correct guidance for learning the full flow map. This motivates a long-short flow-map approach, which decomposes one-step generation into a long flow map for global evolution and a near-terminal short flow map driven by computable closed-form solutions and physics potentials. As , the short flow map shrinks away while providing direct data-distribution and physics-constraint guidance for learning the long flow map. This yields Long-Short Flow Maps with Direct Guidance (PI-LSFM), where data learning and physical validity are guided by near-terminal, directly computable targets rather than conditional-regression surrogates or reconstructed terminal states. A detailed discussion of related work is provided in Appendix A.
Our contributions: (1) We propose a long-short flow-map framework that addresses indirect-objective instability by modeling the short flow map as dynamics jointly driven by data and physics potentials, enabling direct guidance from distributional and physical constraints for one-step generation. (2) We study the numerical design and computation of the short flow map, leading to a stable and efficient training procedure with improved distributional fidelity and physical consistency. (3) We validate PI-LSFM on unconditional generation, conditional generation, and topology optimization, where it consistently achieves strong performance on practical physics-informed generation tasks.

Figure 1: PI-LSFM enables physics-informed one-step generation from scratch via long-short flow-map direct guidance, achieving multi-step-level performance on unconditional generation, conditional generation, and inverse design without increasing batch size or training steps, and without extra inference-time parameters or iterative correction.
2.1 PHYSICS-INFORMED GENERATION AND INDIRECT OBJECTIVES
Given a dataset drawn from an unknown distribution on , a physics-informed generative model aims to learn a transport from a base distribution to the target distribution , while enforcing the generated samples to satisfy a physical constraint . A common continuous-time formulation, exemplified by Flow Matching, parameterizes a velocity field and defines generation through the ODE
For training the model, modern generative methods, including diffusion and flow-based models, generally do not admit direct supervision for the final generative transport from the dataset, since no efficiently computable closed-form solution is available (see subsection F.2), and therefore rely on surrogate training objectives. For example, Flow Matching constructs a conditional path with and uses the corresponding conditional velocity as a surrogate target, with , and optimizes
To enforce , prior work shows that directly imposing the constraint on the intermediate state , or on its instantaneous prediction , leads to Jensen's gap Bastek et al. (2024). Existing methods therefore enforce the residual on a surrogate endpoint reconstructed from , typically through a multi-step auxiliary DDIM- or Flow-Matching-style inference process, and optimize the indirect physics loss with respect to , encouraging the final generated sample associated with to satisfy the physical constraint.
In practice, these two indirect objectives can pull optimization toward either better data fidelity or better constraint satisfaction, often at the expense of the other Bastek et al. (2024); Jacobsen et al. (2025); Utkarsh et al. (2025). Recent work Baldan et al. (2026) mitigates this issue in multi-step generative models through conflict-free optimization. In addition, multi-step sampling with requires numerically discretizing Equation 1 from over many steps, which remains expensive in practice and motivates one-step generation.
2.2 ONE-STEP GENERATION ON FLOW MAPS
Specifically, flow-map methods, including ShortCut Frans et al. (2025), MeanFlow Geng et al. (2025), and consistency-based models Geng et al. (2024), learn a family of mappings along trajectories of Equation 1, such that and . Flow maps satisfy
Accordingly, the marginal probability path can be written as the pushforward . Once is learned, flow-map methods enable one-step generation via . A defining property of flow maps is their trajectory consistency:

Figure 2: Indirect Losses. does not directly supervise with its true target , but instead regresses to the conditional velocity . Likewise, is not applied directly to , but only to the terminal prediction obtained after several integration steps. The indirectly supervised quantities are highlighted in muted blue.
Proposition 2.1 (Trajectory Consistency). For any , the flow map satisfies
This property can be encouraged by the trajectory-consistency loss . However, itself contains no dataset-level supervision. In particular, introducing data supervision for long-range maps is difficult: unlike the instantaneous velocity , such maps generally do not admit an easily computable conditional counterpart from data samples over large time gaps; see Theorem F.1. Thus, indirectly learning from data is substantially harder than supervising local dynamics.
Existing flow-map methods inject dataset supervision through progressive extension or derivative-based objectives; see subsection F.1. For instance, MeanFlow use the averaged velocity and trains it using a derivative-based surrogate regression target with the conditional velocity . On the physical-supervision side, variable-endpoint methods such as ShortCut and MeanFlow remain problematic: is still an intermediate state, so directly imposing a nonlinear residual suffers from the Jensen-type mismatch. Endpoint-fixed consistency models can apply the residual to , but without multi-step correction they require stronger physics enforcement during training. This strong physics loss interacts poorly with the indirect, high-order flow-map objective, making optimization fragile, as illustrated in Figure 9, motivating the staged distillation of Chang et al. (2026). Table 11 complements this visualization with a comparison of physical residuals across batch sizes in the same toy experiment.
3 PHYSICS-INFORMED LONG-SHORT FLOW-MAP METHOD
To address the above challenges, we propose a Physics-Informed Long-Short Flow Map with Direct Guidance (PI-LSFM) framework, which treats dataset-level supervision and physical constraints as direct near-terminal guidance derived from closed-form solutions. Applying such guidance to the full generative transport is difficult, since closed-form data guidance is expensive away from the terminal time and direct physics guidance can suffer from Jensen-type mismatch; see subsection 2.1. Near , however, both issues are alleviated: the closed-form solution becomes efficient to compute (subsection F.2), and physics constraints can be applied at the endpoint, avoiding intermediate-state Jensen-type mismatch since at . This motivates our long-short decomposition with Proposition Proposition 2.1.
where a long flow map transports noise close to the data manifold, and a short terminal flow map provides direct near-terminal guidance.
To let the short-range terminal flow map provide near-terminal direct guidance, we model its dynamics as jointly driven by a data-distribution potential and a physics-constraint potential. We compute this dynamics numerically as , where denotes numerical integration of the integrand over with initial state . As , Equation 5 leads to the following loss:
Here denotes the stop-gradient operator. The short-range dynamics defines a direct guidance target for as , where . This avoids indirect objectives based on regression surrogates or intermediate-state reconstruction. When the limit exists, inside converges to

Figure 3: Long-Short Flow Map. The flow map is decomposed into a long flow map and a short flow map . The short flow map is modeled through dynamics driven by the potentials and , providing guidance for the long flow map. As , this becomes direct guidance for learning , integrating both data and physical information.
, so depends only on the single flow map and is therefore self-consistent. Taking is also necessary to avoid Jensen's gap Bastek et al. (2024) and ensure well-defined kernel computation, as summarized in subsection 3.3.
We now specify the short-range dynamics . We model it as a dynamics jointly driven by a data-distribution potential and a physics-constraint potential :
Here is constant coefficient and . The data-distribution potential drives the short flow map toward the target data distribution , corresponding to the closed-form optimal Flow Matching solution in Equation 2, whose explicit form is given in subsection 3.1. The physics-constraint potential drives the dynamics toward physical feasibility, i.e., , and we instantiate it using a remaining-time-normalized constraint energy,
The factor increasingly emphasizes physical feasibility near the terminal time, guiding the short flow toward the constraint manifold . Then, we numerically solve Equation 7 and separately examine the data and physics terms in subsection 3.1 and subsection 3.2.
3.1 NUMERICAL CALCULATION FOR DATA TERM
We first present the expression of the data potential , which is consistent with the training objective in Equation 2 and admits the following potential-driven formulation.
Theorem 3.1 (Potential-Driven System for Flow Matching). Assume , independent of the data endpoint , and that is a smooth distribution with . The Flow Matching dynamics with velocity , learned in Equation 2, can be interpreted as a dynamical system that starts from an initial state and evolves under a closed-form potential.
where is defined as
where is a function that depends only on . See subsection B.1 for proof.
Using the closed-form solution of in Theorem 3.1, we numerically solve Equation 9 to compute the data-distribution component of the target in Equation 6. In particular, we consider three standard time-discretization schemes, namely Forward Euler (FE), Backward Euler (BE), and the Trapezoidal Rule (TR), and then take the limit , which yields the update formulas and targets shown in Table 1. To avoid singular behavior during computation of the limit, we mollify the kernel in Equation 10 as . Notably, during numerical integration, the time step cancels the factor in , making the limit well defined and computable. Detailed derivations are given in subsection B.2.
Table 1: Three standard discretizations of the data potential-driven dynamics in Equation 9.
| Scheme | Update formula | Target |
|---|---|---|
| FE | ||
| BE | ||
| TR |
Here, . In subsection 4.1, we compare different numerical schemes and their impact on training performance. The results indicate that the computation of the data term is highly sensitive to the order of discretization, with the second-order Trapezoidal Rule showing a significant advantage over the lower-order alternatives.
3.2 NUMERICAL CALCULATION FOR PHYSICS TERM
Using from Equation 8, we derive the physics-driven dynamics under three schemes: Forward Euler (FE), Backward Euler (BE), and Backward Euler with (BE-Lim). As in subsection 3.1, we integrate over the terminal interval and take to obtain the physics component of in Equation 6. The resulting updates and targets are summarized in Table 2, with derivations in subsection B.3.
Table 2: Three standard discretizations of the Physics potential-driven dynamics.
| Scheme | Update formula | Target |
|---|---|---|
| FE | ||
| BE | ||
| BE-Lim |
denotes the Jacobian of , denotes the identity matrix, and .
Unlike the data term, we consider only first-order schemes, which already perform well in subsection 4.1. We additionally include the Backward Euler limit due to its connection to classical position-based dynamics (subsubsection B.3.3). Formally, Forward Euler corresponds to direct gradient evaluation, whereas Backward Euler gives a Gauss-Newton-type gradient computation.
3.3 ALGORITHM AND ANALYSIS
Combining from subsection 3.1 and from subsection 3.2, we obtain the final target for the short-flow dynamics,
where is a tunable hyperparameter introduced to unify different numerical schemes. This helps give the concrete loss form of Equation 6. Here, can be chosen from the three forms in Table 1, while can be chosen from the three forms in Table 2, yielding different combinations. Our training algorithm based on this direct-target loss is shown in Algorithm 1. After training, is encouraged to generate that match the target distribution and satisfy the physical constraints.
Algorithm 1 PI-LSFM Training
Require: dataset , batch size , initial model parameters , learning rate , hyperparameter
1: repeat
2: Sample from the dataset
3: Sample noise from
4: and
5: Compute from and using tab. 1 and the expectation computation in eq.12
6: Compute from using tab. 2
7:
8:
9:
10: until convergence
Expectation computation The formula of in Table 1 involves expectations. In practice, we approximate them using samples within the same batch in Algorithm 1. Specifically, for each , the expectations and are estimated using and , respectively, where is an arbitrary function:
This computation is fully parallelizable; the PyTorch implementation is given in subsection C.3.
Conditional generation For conditional generation, the learned map becomes , and the corresponding expectations in Table 1 are taken under and (see subsection C.1). Accordingly, Algorithm 1 only requires a different grouping strategy: we sample conditions, sample data samples for each condition, and sample noise samples. The update in Algorithm 1 is then computed within each condition group and averaged over all conditions. The detailed algorithm is given in Algorithm 2. This supports both label-conditioned generation (subsection 4.2) and generation conditioned on complex fields (subsection 4.3).
Necessity of the limit Taking the limit in Equation 6 is necessary for three reasons. First, it turns into , so that the loss depends on a single unknown flow map and becomes self-consistent. Second, it makes the kernel sufficiently sharp near , allowing accurate estimation of the -weighted expectation in Table 1 with a moderate batch size. Third, it applies directly to rather than to the intermediate state for Table 2, avoiding the Jensen-type mismatch from intermediate residual enforcement.
Stabilization Computing the kernel in high-dimensional may suffer from the curse of dimensionality and destabilize optimization. Following Deng et al. (2026), we therefore perform the computation in feature spaces , where denotes an encoder. The resulting loss is
where denotes the corresponding data term computed in the feature space . In subsection 4.1, we compare different encoder choices, including several physics foundation models. The encoder is used only to stabilize the kernel-weighted estimation of the data guidance target in high-dimensional field spaces. Without the encoder, Darcy flow still achieves reasonable physical residuals and only slightly poorer distribution matching (RE=0.044, WD10 = 0.446, and JS10 = 0.889), but becomes more prone to training collapse, as illustrated in Figure 11. Figure 4b shows that different encoders yield competitive feature-space training performance, with further comparisons in subsection D.3. Thus, the feature encoder is a stabilization device rather than an inherent component of PI-LSFM. We use it only for the weakly conditioned Darcy and Kolmogorov flow benchmarks (Sections 4.1 and 4.2), while dynamic stall (Section 4.2) and topology optimization (Section 4.3)

(a) Pareto front of physical residual MSE vs. Wasserstein distance for Darcy flow for the proposed methods.
(b) Feature extractors (100K training steps)
| Extractor | Best | RE | WD | JS | Sec/Step |
|---|---|---|---|---|---|
| MAE | 3.0 | 0.117 | 0.213 | 0.216 | 0.271 |
| Poseidon | 1.0 | 0.410 | 0.238 | 0.271 | 0.834 |
| DPOT | 10.0 | 0.596 | 0.071 | 0.126 | 0.65 |
| MPP | 10.0 | 0.109 | 1.027 | 0.694 | 0.652 |
(c) Physics term methods (400K training steps)
| Method | Best | RE | WD | JS | Sec/Step |
|---|---|---|---|---|---|
| FE | 3.0 | 0.055 | 0.108 | 0.171 | 0.271 |
| BE | piecewise | 0.436 | 0.122 | 0.159 | 0.388 |
| BE-Lim. | piecewise | 2.540 | 0.184 | 0.192 | 0.376 |
“piecewise” denotes the scheduler described in subsection D.1.
(d) Data term methods (100K training steps)
| Method | Best | RE | WD | JS | Sec/Step |
|---|---|---|---|---|---|
| FE | 3.0 | 8.125 | 4.244 | 5.846 | 0.268 |
| BE | 10.0 | 1.853 | 4.857 | 7.462 | 0.267 |
| TR | 3.0 | 0.117 | 0.213 | 0.216 | 0.271 |
(e) Comparison of different methods in terms of RE, WD, JS, and NFE. Best and second-best results are highlighted. Our model uses the same architecture and number of parameters as PIDM, training with 400K steps
| Metric | Ours | sCM-PINN | PBFM | FM-OT | CoCoGen | PIDM | DiffusionPDE | D-Flow | ECI |
|---|---|---|---|---|---|---|---|---|---|
| RE | 0.055 | 0.107 | 0.838 | 4.159 | 1.320 | 0.022 | 3.388 | 2.286 | 3.045 |
| WD | 0.108 | 6.453 | 0.138 | 0.059 | 0.249 | 3.103 | 0.089 | 0.147 | 2.892 |
| JS | 0.171 | 7.401 | 0.256 | 0.131 | 0.360 | 3.179 | 0.139 | 0.237 | 2.818 |
| NFE | 1 | 1 | 20 | 20 | 100 | 100 | 20 | 20 | 20 |
| IT [s] | 0.012 | 0.025 | 0.101 | 0.100 | 7.395 | 2.050 | 0.590 | 3.126 | 0.122 |
Our method and the reproduced sCM-PINN share the same U-Net architecture. By removing time-conditioning and modulation (since t is not required for our formulation), our method achieves faster inference.
Figure 4: Comparison of design choices and overall performance in our framework. (a) Pareto front of physical residual MSE vs. Wasserstein distance for Darcy flow. (b)–(d) compare different feature extractors, numerical discretizations for the physics term and the data term respectively. Training time per step (s) is also reported in these comparisons. More details are provided in Appendix D. (e) Overall comparison with competing methods on RE, WD, JS, NFE, and inference time.
are trained directly without any encoder. Although MAE roughly doubles the per-step training time (0.271s vs. 0.132s without an encoder), PI-LSFM uses about one third of the training steps of Baldan et al. (2026), largely offsetting this overhead. Unlike latent-based generation, PI-LSFM still generates in the original space and computes only the loss in feature space; see subsection C.2 and Algorithm 3.
4 EXPERIMENTS
We choose the four benchmarks to progressively evaluate unconditional generation, conditional generalization, coupled multi-field physical constraints, and physics-constrained inverse design. We use the U-Net architecture of Bastek et al. (2024) without architecture-specific optimization, and match parameter counts whenever possible. For fair comparison, we report NFE and wall-clock inference time when available, using standard sampling settings or reported numbers for multi-step baselines. Since multi-step samplers benefit from iterative refinement, we target a favorable accuracy-efficiency trade-off rather than uniformly dominating every metric. All experiments use an NVIDIA A100 GPU. Our main benchmark results are obtained from single training runs with the fixed seed 42 and no seed selection. Appendix G.2, Table 17 reports a three-seed, 100K-step Darcy stability check.
4.1 DARCY FLOW AND DESIGN STUDIES
Darcy flow is a two-dimensional steady-state porous-media benchmark on pressure and permeability fields, with 10k training and 1k validation samples. Following Baldan et al. (2026), we enforce the Darcy residual together with the boundary-condition loss, and evaluate physical validity and distributional fidelity using residual error (RE), Wasserstein distance (WD), and Jensen–Shannon divergence (JS) of pressure field. This is an unconditional generation task, and lower values indicate better performance.
Table 3: Generative performance metrics for Kolmogorov flow and dynamic stall problems. RE: physical Residual MSE, WD: Wasserstein Distance, JS: Jensen-Shannon divergence, MMSE: MSE of the mean fields, SMSE: MSE of the standard deviation fields, NFE: Number of function evaluations, IT: inference wall-clock time. Best and second-best results are highlighted.
| Dataset | Metric | Ours | PBFM | OT-FM | DiffusionPDE | D-Flow† | PCFM† |
|---|---|---|---|---|---|---|---|
| Kolmogorov Flow | RE ·101 | 0.404 | 1.362 | 2.314 | 1.930 | - | - |
| WD ·101 | 0.140 | 1.222 | 2.124 | 3.698 | - | - | |
| JS ·102 | 1.621 | 7.440 | 12.49 | 19.39 | - | - | |
| MMSE ·104 | 25.83 | 4.455 | 4.188 | 5.669 | - | - | |
| SMSE ·104 | 1.765 | 2.484 | 2.574 | 21.82 | - | - | |
| NFE | 1 | 20 | 20 | 20 | 20 | 20 | |
| IT [ms] | 27.25 | 98.97 | 98.75 | 267.8 | 6431 | - | |
| Dynamic Stall | RE ·106 | 0.00015 | 0.339 | 11.02 | 12.20 | 11.32 | 0.143 |
| WD ·104 | 1.633 | 1.814 | 2.707 | 2.509 | 3.484 | 4.013 | |
| JS ·102 | 0.403 | 0.680 | 0.983 | 1.029 | 1.014 | 1.206 | |
| MMSE ·105 | 5.218 | 1.490 | 2.791 | 2.626 | 2.507 | 5.669 | |
| SMSE ·105 | 4.894 | 0.874 | 1.458 | 1.236 | 1.372 | 7.674 | |
| NFE | 1 | 20 | 20 | 20 | 20 | 20 | |
| IT [ms] | 21.53 | 60.47 | 59.75 | 171.7 | 138.9 | 3906 |
† D-Flow and PCFM are excluded from Kolmogorov-flow evaluation due to unstable generation and prohibitive cost.
On Darcy flow, we compare with multi-step baselines PBFM Baldan et al. (2026), FM-OT Lipman et al. (2023), CoCoGen Jacobsen et al. (2025), PIDM Bastek et al. (2024), DiffusionPDE Huang et al. (2024), D-Flow Ben-Hamu et al. (2024), and ECI Cheng et al. (2024), using reported numbers from Baldan et al. (2026), as well as our one-step flow-map baselines built on sCM-PINN Chang et al. (2026). As shown in Figure 4e and Figure 4a, our method significantly outperforms other one-step methods, matches strong multi-step baselines, and lies on the best Pareto front, while using fewer training steps with the same batch size and roughly matched parameter count to the PBFM baseline. At inference, its one-step sampling yields substantial acceleration, including about a 5× speedup over architecture-optimized PBFM under a standard backbone. Additional experimental details, including the training procedure, evaluation metrics, and qualitative visualizations, are given in subsection E.2.
To stabilize training, we adopt the feature-space stabilization strategy described in subsection 3.3. We study different encoder choices, including a multi-resolution MAE trained on this dataset He et al. (2022), the pretrained multi-resolution U-Net-based physics foundation model Poseidon Herde et al. (2024), the transformer-based physics foundation model DPOT Hao et al. (2024), and MPP McCabe et al. (2024). The results show that MAE, Poseidon, and DPOT achieve comparable performance, with MAE providing the strongest overall results and the fastest training speed. We therefore use MAE as the encoder for Darcy and Kolmogorov flow (Sections 4.1 and 4.2). In Figure 4d and Figure 4c, we further compare different numerical schemes for the data term and the physics term, respectively, while fixing the other term to its best-performing choice. The results show that the second-order trapezoidal rule works best for the data term, while Forward Euler performs best for the physics term. A more complete design study and parameter study, including the schedule, is provided in Appendix D.
On Darcy, we compare PI-Consistency (sCM), PI-MeanFlow, and PI-Shortcut with the same terminal physics loss under matched settings. PI-LSFM improves RE, WD, and JS at NFE = 1 (Table 4). Together with the toy results (Figure 9, Table 11), these comparisons support the value of direct data and physics guidance for one-step training. Further evidence is provided by the conflict-free controls in Appendix G.1, which show that conflict-free updates alone do not close the performance gap.
Table 5 compares training time on an A100. PI-LSFM costs 0.308 s per generator-training step, including the full MAE pretraining cost amortized over training (0.037 s for MAE plus 0.271 s for the generator; 400K steps each), versus 0.566 s for PBFM. PI-LSFM achieves the reported Darcy results after 400K generator updates, about one third of the 1,248K training iterations reported for PBFM Baldan et al. (2026). The encoder adds no inference-time cost.
Table 4: Additional one-step Darcy comparisons. All methods use NFE = 1; IT is inference time.
| Method | RE ↓ | WD ·102 ↓ | JS ·104 ↓ | IT [s] ↓ |
|---|---|---|---|---|
| PI-Consistency | 0.240 | 3.889 | 5.023 | 0.025 |
| PI-MeanFlow | 4603.573 | 4.243 | 5.457 | 0.024 |
| PI-Shortcut | 0.435 | 2.336 | 2.518 | 0.024 |
| PI-LSFM | 0.055 | 0.108 | 0.171 | 0.012 |
Table 5: Training time per generator-training step on Darcy.
| Method | Seconds/step |
|---|---|
| PBFM | 0.566 |
| PI-Consistency | 0.223 |
| PI-MeanFlow | 0.264 |
| PI-Shortcut | 0.328 |
| PI-LSFM | 0.308 |
4.2 KOLMOGOROV FLOW AND DYNAMIC STALL
We evaluate conditional generation on two-dimensional incompressible Kolmogorov flow following Baldan et al. (2026). The model is conditioned on the Reynolds number and evaluated on 16 unseen Reynolds numbers, testing generalization across turbulent flow regimes. Physical consistency is enforced through the incompressibility constraint . As shown in Table 3, PI-LSFM achieves strong physical and distributional performance while requiring only a single function evaluation, compared with 20-step baselines. We report physical residual error (RE), distributional metrics (WD and JS), conditional-statistics errors (MMSE and SMSE), and inference efficiency (NFE and IT). Full dataset, metric, and implementation details are provided in Appendix E.3.
We further evaluate PI-LSFM on conditional generation for dynamic stall, a compressible-flow benchmark around a sinusoidally pitching NACA0012 airfoil following Baldan et al. (2026). The model predicts six coupled aerodynamic and thermodynamic fields conditioned on four operating and motion parameters, and is evaluated on unseen configurations. Physical consistency is enforced through the ideal-gas relation and a temperature-dependent skin-friction constraint based on Sutherland's law. As shown in Table 3, PI-LSFM achieves competitive performance relative to multi-step baselines while requiring only one function evaluation. The evaluation follows the same distributional, statistical, and efficiency metrics as Kolmogorov flow. Full problem formulation, residual definitions, training details, and qualitative results are provided in Appendix E.4.
4.3 TOPOLOGY OPTIMIZATION
Topology optimization extends our evaluation from physics-constrained field generation to conditional inverse design. Following Bastek et al. (2024), the model conditions on loading and boundary conditions, auxiliary physical fields, and a target volume constraint, and jointly generates the material density and displacement fields. Physical consistency is evaluated through the FEM equilibrium residual, while structural quality and constraint satisfaction are measured by compliance error and volume-fraction error. We evaluate both in-distribution and out-of-distribution boundary conditions.
Table 6: Inference timing on the same hardware.
| Method | NFE | IT [s] |
|---|---|---|
| Diffusion | 100 | 1.720 |
| PG-Diffusion | 100 | 10.488 |
| CoCoGen | 100 | 7.911 |
| TopoDiff-G | 100 | 11.182 |
| DOM | 100 | 3.314 |
| PIDM | 100 | 1.701 |
| PI-LSFM | 1 | 0.013 |
As shown in Table 7, PI-LSFM achieves competitive inverse-design performance compared with multi-step diffusion-based baselines while requiring only a single function evaluation. Table 6 further shows that PI-LSFM generates a design in 0.013 s, compared with 1.701–11.182 s for the listed 100-step baselines. Full problem formulation, metric definitions, training details, and qualitative results are provided in Appendix E.5.
Table 7: Topology optimization results under both in-distribution and out-of-distribution boundary-condition settings. PI-LSFM attains competitive performance against 100-step diffusion-based baselines while using only a single function evaluation.
| Model | Size | in-distribution | out-of-distribution | ||||
|---|---|---|---|---|---|---|---|
| MDN % CE ↓ | % VFE ↓ | MDN % CE ↓ | % VFE ↓ | ||||
| Diffusion | 136M | 1.86e-3 | -0.20 | 2.93 | 1.97e-3 | 0.30 | 2.80 |
| PG-Diffusion (Shu et al. (2023)) | 136M | 1.82e-3 | 0.09 | 3.59 | 1.92e-3 | 0.81 | 3.23 |
| CoCoGen (Jacobsen et al. (2025)) | 136M | 1.51e-3 | 0.14 | 4.00 | 1.56e-3 | 0.58 | 3.64 |
| TopoDiff-G (Mazé & Ahmed (2023)) | 239M | — | 0.83 | 1.49 | — | 1.82 | 1.80 |
| DOM Giannone et al. (2023) | 121M | — | 0.74 | 1.52 | — | 3.47 | 1.59 |
| PIDM Bastek et al. (2024) | 136M | 1.24e-3 | 0.06 | 2.25 | 1.29e-3 | 0.56 | 1.91 |
| PI-LSFM (ours) | 136M | 1.66e-3 | -0.00 | 1.53 | 1.95e-3 | 1.86 | 1.66 |
“-” indicates that is not applicable because the method does not provide predicted solution fields.
5 CONCLUSION
We introduced Long-Short Flow Maps with Direct Guidance (PI-LSFM), a one-step physics-informed generative framework that decomposes the full flow map into a long-range map and a near-terminal short map. This decomposition converts indirect flow-map and physics-informed supervision into a directly computable near-terminal guidance target, enabling joint data and physics guidance. We studied numerical instantiations of the short-flow dynamics and their effects on stability and generation quality. Experiments on unconditional generation, conditional generation, and physics-constrained inverse design show that PI-LSFM achieves a favorable trade-off among stability, distributional fidelity, physical consistency, and inference efficiency, matching strong multi-step baselines while preserving one-step efficiency without distillation. Our framework has several limitations. Similar to prior physics-informed generative methods Baldan et al. (2026); Bastek et al. (2024), PI-LSFM enforces physical constraints only during training, leaving inference-time constraint enforcement to future work. It would be interesting to combine PI-LSFM with inference-time constraint methods Cheng et al. (2024); Chang et al. (2026). We study only a limited set of numerical schemes for the data and physics terms; broader numerical families may further improve stability and performance. Scaling to larger models, datasets, and more complex physics tasks is another important direction.
AI USE STATEMENT
We used generative AI tools primarily to collect, organize, and transcribe experimental information for the appendix, and to polish the writing of the main text. We also used these tools for literature retrieval and discovery to identify relevant related work. For mathematical work, AI assisted with developing the counterexample construction for Theorem 3.1 and writing the proof of Theorem 3.1. The authors take responsibility for the final content of this paper, including the AI-assisted text, mathematical claims, and proofs.
REFERENCES
ANSYS. ANSYS Fluent 2024 R2. https://www.ansys.com/products/fluids/ansys-fluent, 2024.
Giacomo Baldan, Qiang Liu, Alberto Guardone, and Nils Thuerey. Physics vs distributions: Pareto optimal flow matching with physics constraints. In The Fourteenth International Conference on Learning Representations, 2026.
Jan-Hendrik Bastek, WaiChing Sun, and Dennis M Kochmann. Physics-informed diffusion models. arXiv preprint arXiv:2403.14404, 2024.
Heli Ben-Hamu, Omri Puny, Itai Gat, Brian Karrer, Uriel Singer, and Yaron Lipman. D-flow: Differentiating through flows for controlled generation. arXiv preprint arXiv:2402.14017, 2024.
Quentin Bertrand, Anne Gagneux, Mathurin Massias, and Rémi Emonet. On the closed-form of flow matching: Generalization does not arise from target stochasticity. arXiv preprint arXiv:2506.03719, 2025.
Nicholas Matthew Boffi, Michael Samuel Albergo, and Eric Vanden-Eijnden. Flow map matching with stochastic interpolants: A mathematical framework for consistency models. Transactions on Machine Learning Research (TMLR), 2025.
Che-Chia Chang, Chen-Yang Dai, Te-Sheng Lin, Ming-Chih Lai, and Chieh-Hsin Lai. Stabilizing physics-informed consistency models via structure-preserving training. arXiv preprint arXiv:2602.09303, 2026.
Chaoran Cheng, Boran Han, Danielle C Maddix, Abdul Fatir Ansari, Andrew Stuart, Michael W Mahoney, and Yuyang Wang. Gradient-free generation for hard-constrained systems. arXiv preprint arXiv:2412.01786, 2024.
Mingyang Deng, He Li, Tianhong Li, Yilun Du, and Kaiming He. Generative modeling via drifting. arXiv preprint arXiv:2602.04770, 2026.
Kevin Frans, Danijar Hafner, Sergey Levine, and Pieter Abbeel. One step diffusion via shortcut models. In International Conference on Learning Representations (ICLR), 2025.
Zhengyang Geng, Ashwini Pokle, William Luo, Justin Lin, and J Zico Kolter. Consistency models made easy. arXiv preprint arXiv:2406.14548, 2024.
Zhengyang Geng, Mingyang Deng, Xingjian Bai, J Zico Kolter, and Kaiming He. Mean flows for one-step generative modeling. In Neural Information Processing Systems (NeurIPS), 2025.
Giorgio Giannone, Akash Srivastava, Ole Winther, and Faez Ahmed. Aligning optimization trajectories with diffusion models for constrained design generation. Advances in neural information processing systems, 36:51830–51861, 2023.
Ralf Gommers, Pauli Virtanen, Matt Haberland, Evgeni Burovski, Tyler Reddy, Warren Weckesser, Travis E Oliphant, Andrew Nelson, David Cournapeau, Pamphile Roy, et al. scipy/scipy: Scipy 1.16.0. Zenodo, 2025.
Yi Guo, Wei Wang, Zhihang Yuan, Rong Cao, Kuan Chen, Zhengyang Chen, Yuanyuan Huo, Yang Zhang, Yuping Wang, Shouda Liu, et al. Splitmeanflow: Interval splitting consistency in few-step generative modeling. arXiv preprint arXiv:2507.16884, 2025.
Zhongkai Hao, Chang Su, Songming Liu, Julius Berner, Chengyang Ying, Hang Su, Anima Anandkumar, Jian Song, and Jun Zhu. Dpot: Auto-regressive denoising operator transformer for large-scale pde pre-training. arXiv preprint arXiv:2403.03542, 2024.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 16000–16009, 2022.
Maximilian Herde, Bogdan Raonić, Tobias Rohner, Roger Käppeli, Roberto Molinaro, Emmanuel De Bezenac, and Siddhartha Mishra. Poseidon: Efficient foundation models for pdes. Advances in Neural Information Processing Systems, 37:72525–72624, 2024.
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017.
Jiahe Huang, Guandao Yang, Zichen Wang, and Jeong Joon Park. Diffusionpde: Generative pde-solving under partial observation. Advances in Neural Information Processing Systems, 37:130291–130323, 2024.
Christian Jacobsen, Yilin Zhuang, and Karthik Duraisamy. Cocogen: Physically consistent and conditioned score-based generative models for forward and inverse problems. SIAM Journal on Scientific Computing, 47(2):C399–C425, 2025.
Zhiqi Li and Bo Zhu. A long-short flow-map perspective for drifting models. arXiv preprint arXiv:2602.20463, 2026.
Zhiqi Li, Yuchen Sun, Greg Turk, and Bo Zhu. Functional mean flow in hilbert space. arXiv preprint arXiv:2511.12898, 2025.
Zhiqi Li, Yuchen Sun, Duowen Chen, Jinjin He, and Bo Zhu. Trajectory consistency for one-step generation on euler mean flows. arXiv preprint arXiv:2602.02571, 2026.
Jianhua Lin. Divergence measures based on the shannon entropy. IEEE Transactions on Information theory, 37(1):145–151, 2002.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023.
Yuxuan Liu, Jingmin Sun, Xinjie He, Griffin Pinney, Zecheng Zhang, and Hayden Schaeffer. Prose-fd: A multimodal pde foundation model for learning multiple operators for forecasting fluid dynamics. arXiv preprint arXiv:2409.09811, 2024.
Cheng Lu and Yang Song. Simplifying, stabilizing and scaling continuous-time consistency models. arXiv preprint arXiv:2410.11081, 2024.
François Mazé and Faez Ahmed. Diffusion models beat gans on topology optimization. In Proceedings of the AAAI conference on artificial intelligence, volume 37, pp. 9108–9116, 2023.
Michael McCabe, Bruno Régaldo-Saint Blancard, Liam Parker, Ruben Ohana, Miles Cranmer, Alberto Bietti, Michael Eickenberg, Siavash Golkar, Geraud Krawezik, Francois Lanusse, et al. Multiple physics pretraining for spatiotemporal surrogate models. Advances in Neural Information Processing Systems, 37:119301–119335, 2024.
Matthias Müller, Bruno Heidelberger, Marcus Hennix, and John Ratcliff. Position based dynamics. Journal of Visual Communication and Image Representation, 18(2):109–118, 2007.
Mahindra Singh Rautela, Alexander Most, Siddharth Mansingh, Bradley C Love, Alexander Scheinker, Diane Oyen, Nathan Debardeleben, Earl Lawrence, and Ayan Biswas. Morph: Pde foundation models with arbitrary data modality. arXiv preprint arXiv:2509.21670, 2025.
Dule Shu, Zijie Li, and Amir Barati Farimani. A physics-informed diffusion model for high-fidelity flow field reconstruction. Journal of Computational Physics, 478:111972, 2023.
Abu Bucker Siddik, Diane Oyen, Alexander Most, Michal Kucer, and Ayan Biswas. Spus: A lightweight and parameter-efficient foundation model for pdes. arXiv preprint arXiv:2510.01370, 2025.
Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. In International Conference on Machine Learning (ICML), 2023.
Utkarsh Utkarsh, Pengfei Cai, Alan Edelman, Rafael Gomez-Bombarelli, and Christopher Vincent Rackauckas. Physics-constrained flow matching: Sampling generative models with hard constraints. arXiv preprint arXiv:2506.04171, 2025.
Cédric Villani et al. Optimal transport: old and new, volume 338. Springer, 2009.
Sifan Wang, Zehao Dou, Siming Shan, Tong-Rui Liu, and Lu Lu. Fundiff: Diffusion models over function spaces for physics-informed generative modeling. arXiv preprint arXiv:2506.07902, 2025.
Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Fredo Durand, William T Freeman, and Taesung Park. One-step diffusion with distribution matching distillation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 6613–6623, 2024.
Huijie Zhang, Aliaksandr Siarohin, Willi Menapace, Michael Vasilkovsky, Sergey Tulyakov, Qing Qu, and Ivan Skorokhodov. Alphaflow: Understanding and improving meanflow models. arXiv preprint arXiv:2510.20771, 2025.
Yi Zhang and Difan Zou. Physics-informed distillation of diffusion models for pde-constrained generation. arXiv preprint arXiv:2505.22391, 2025.
APPENDIX
Appendix 13
A Related Work 13
B Missing Proofs 15
B.1 Proof of Theorem 3.1 15
B.2 Derivation of Table 1 16
B.3 Derivation of Table 2 18
C Additional Theoretical Results and Algorithms 19
C.1 Conditional Generation 19
C.2 Stabilization via Feature Spaces 21
C.3 Pytorch Code 23
D Design Study and Additional Results 24
D.1 Physics Term Numerical Integration Study 24
D.2 Data Term Numerical Integration Study 25
D.3 Encoder Study 26
E Experiment Details and Additional Results 27
E.1 Toy Example 27
E.2 Darcy Flow 28
E.3 Kolmogorov Flow 32
E.4 Dynamic Stall 35
E.5 Topology Optimization 37
F Additional Theoretical Background 40
F.1 Flow Map Learning 40
F.2 Closed-Form Solution 41
G Additional Darcy Comparisons and Experimental Settings 42
G.1 Conflict-Free One-Step Comparisons 42
G.2 Three-Seed Darcy Check 42
G.3 Batch-Size Sensitivity 42
G.4 Default Settings and Selection Protocol 43
A RELATED WORK
Physics-informed generation. Physics-informed generative methods can be broadly divided into training-time and inference-time approaches. Training-time methods incorporate physical constraints directly into the learning objective. For example, physics-informed diffusion models Bastek et al.
(2024); Shu et al. (2023) add PDE residuals or boundary losses during training, while CoCoGen Jacobsen et al. (2025) and DiffusionPDE Huang et al. (2024) study physically consistent generation and PDE-conditioned modeling. FunDiff Wang et al. (2025) instead formulates physics-informed generative modeling over function spaces. Inference-time methods guide or correct samples during generation. D-Flow Ben-Hamu et al. (2024) differentiates through the generative flow for controlled generation, while hard-constrained and gradient-free methods Utkarsh et al. (2025); Cheng et al. (2024) enforce constraints during sampling without fully retraining the generator. Physics-informed distillation (PIDDM) Zhang & Zou (2025) follows a teacher-based route, distilling a pretrained diffusion model into a one-step generator for PDE-constrained generation. PI-LSFM instead trains a one-step generator from scratch using joint data and physics guidance, without a pretrained generative teacher. Most closely related to our work, Physics vs Distributions Baldan et al. (2026) highlights the trade-off between distribution matching and physical validity, and proposes a Pareto-optimal flow-matching framework with physics constraints. Physics-informed consistency models Chang et al. (2026), building on continuous-time consistency models Lu & Song (2024), aim to stabilize one-step physics-informed generation through structure-preserving training. In contrast, our long-short flow-map direct guidance provides a direct one-step training objective that better balances distributional fidelity and physical validity, without requiring iterative inference-time correction.
One-step generation. Early one-step generative models were mainly developed through distillation or adversarial training. For example, distribution matching distillation Yin et al. (2024) compresses multi-step diffusion sampling into a single-step generator, while GAN-based methods Heusel et al. (2017) directly learn one-step mappings with adversarial objectives. More recently, increasing attention has been given to training one-step generators from scratch without relying on a pretrained teacher. A prominent direction formulates one-step generation as learning a flow map from noise to data Boffi et al. (2025). Representative methods include consistency models Song et al. (2023); Lu & Song (2024); Geng et al. (2024), shortcut models Frans et al. (2025), mean-flow methods Geng et al. (2025), and extensions such as functional mean flow Li et al. (2025). More recently, drifting models Deng et al. (2026) revisit one-step generation from a distribution-matching perspective, improving the stability and scalability of training-from-scratch one-step generators and concurrent work Li & Zhu (2026) provides a long-short flow-map interpretation of drifting models. Our work instead studies physics-informed one-step generation, where the central challenge is to balance data-distribution fidelity and physical constraint satisfaction within a single flow map. We analyze this interaction through a potential-based formulation, which avoids the terminal-time singularity of velocity-based formulations at , and propose a long-short flow-map framework with direct guidance for joint control of distributional and physical objectives.
PI-LSFM starts from a long-short flow-map decomposition of physics-informed one-step generation, providing a unified framework for analyzing and constructing direct guidance from both the data distribution and physical constraints. The near-terminal short flow is jointly driven by data and physics potentials, while different numerical discretizations induce explicit, implicit, and projection-based update rules within the same construction. This framework also clarifies its connection to drifting models Deng et al. (2026): under a particular raw-space specialization, the data-side correction recovers a drifting-style update. PI-LSFM extends beyond this special case by jointly deriving physics guidance, systematically studying alternative data and physics discretizations, and supporting feature-space guidance for high-dimensional physical fields. The matched one-step comparisons and numerical studies evaluate these components and their interaction in physics-informed generation.
Physics foundation models. Self-supervised learning has recently enabled foundation models for scientific systems. Inspired by vision methods such as masked autoencoders (MAE) He et al. (2022), PDE foundation models aim to learn transferable spatiotemporal representations across equations, parameters, and conditions. Representative examples include Poseidon Herde et al. (2024), which uses multiscale operator learning for fluid-dynamics pretraining; DPOT Hao et al. (2024), which learns autoregressive denoising operators with a transformer backbone; and MPP McCabe et al. (2024), which pre trains surrogate models across multiple physical systems. PROSE-FD Liu et al. (2024) incorporates multimodal PDE descriptions and numerical fields, while MORPH Rautela et al. (2025) and SPUS Siddik et al. (2025) further address heterogeneous modalities, resolutions, and parameter efficiency. Unlike these works, we use physics foundation models only as feature encoders to stabilize our kernel-based training objective, while generation remains in the original physical field space.
B MISSING PROOFS
B.1 PROOF OF THEOREM 3.1
Theorem 3.1 (Potential-Driven System for Flow Matching) Assume , independent of the data endpoint , and that is a smooth distribution with . The Flow Matching dynamics with velocity , learned in Equation 2, can be interpreted as a dynamical system that starts from an initial state and evolves under a closed-form potential.
where is defined as
where is a function that depends only on .
Proof. Since Flow Matching uses the conditional path , Tweedie's formula gives , where is an arbitrary constant. Moreover, by the property of the regression loss, the optimal velocity corresponding to Equation 2 can be written as . Therefore, we have
Hence, the Flow Matching dynamics can be driven by the potential . Moreover, admits a closed-form expression that can be computed directly from the data distribution:
Here, we choose as . Then have the formula:
B.2 DERIVATION OF TABLE 1
B.2.1 FORWARD EULER
We first derive the formula for Forward Euler. Applying Forward Euler to numerically integrate Equation 10 over gives:
Substituting the expression of from Theorem 3.1 yields:
where holds because of . After mollifying the above into and taking the limit, we obtain:
(21)
B.2.2 BACKWARD EULER
We next consider the computation for Backward Euler. For Backward Euler, we need to use the potential at the endpoint . By Theorem 3.1, we have , which gives the direct endpoint velocity . Although this velocity is directly available, we seek a form that is symmetric to the Forward Euler case and preserves the same kernel-based computation. This symmetry allows both the forward and backward endpoint velocities to be expressed using the same type of kernel-weighted estimator. It therefore avoids the inconsistency in the trapezoidal rule (subsubsection B.2.3) that would arise from using an analytic velocity at one endpoint and a kernel-estimated velocity at the other endpoint, while ensuring that numerical errors are reflected in the same manner at both endpoints. To this end, we use the following lemma.
Lemma 1. Let . For , the following equation holds:
Moreover, assume that is a well-conditioned -diffeomorphism. Then, on any compact region where , is bounded and satisfies , and consequently
Here, the constants are defined by the bounds , , and .
Proof. Since , we have
Therefore,
This proves the identity.
Next, since , the change-of-variables formula gives . Hence,
Moreover, since , taking norms and using , , , , and , we obtain
Since , this quantity is a Gaussian smoothing of evaluated at . Gaussian smoothing preserves the lower bound and the gradient bound. Therefore,
It follows that
Therefore,
This completes the proof.
Using the above lemma, we have
After mollifying the above into and taking the limit, we obtain:
(32)
B.2.3 TRAPEZOIDAL RULE
Based on the calculation of the Forward Euler and Backward Euler cases, for the Trapezoidal Rule we have:
After mollifying the above into and taking the limit, we obtain:
B.3 DERIVATION OF TABLE 2
B.3.1 FORWARD EULER METHOD
Consider the physics-potential-driven dynamical system , where and . Applying Forward Euler to numerically integrate this system over gives:
(35)
Taking the limit , we obtain:
(36)
B.3.2 BACKWARD EULER METHOD
Applying Backward Euler to numerically integrate over requires evaluating the gradient at the next state . This is equivalent to the first-order optimality condition of the proximal problem
(37)
Indeed, this follows by setting the derivative of the above objective to zero, which recovers . Letting , and linearizing the residual around as , the above problem becomes
Define . Its gradient is . To solve the optimization problem, setting yields . Therefore,
Taking the limit , we obtain:
(40)
B.3.3 BACKWARD EULER METHOD WITH
In the limit , the soft-penalty formulation Equation 37 degenerates into the hard-constraint projection
This is a classical projection problem encountered in Position-Based Dynamics (PBD) Müller et al. (2007). Following a similar treatment, we linearize the constraint around , yielding
This is a constrained least-squares problem with a linear constraint. Its solution is given by
Therefore,
Taking the limit , we obtain:
(45)
C ADDITIONAL THEORETICAL RESULTS AND ALGORITHMS
C.1 CONDITIONAL GENERATION
In the conditional generation setting, we train a conditional flow map , where denotes the condition. Therefore, under our long-short flow-map formulation, the loss in Equation 6 becomes
Here, the direct target becomes , where . We can see that the formulas for conditional generation are obtained by replacing with . Similarly, Table 1 and Table 2 can be directly modified as follows:
Table 8: Three standard discretizations of the data potential-driven dynamics for conditional generation.
| Scheme | Update formula | Target |
|---|---|---|
| FE | ||
| BE | ||
| TR |
Table 9: Three standard discretizations of the Physics potential-driven dynamics for conditional generation.
| Scheme | Update formula | Target |
|---|---|---|
| FE | ||
| BE | ||
| BE-Lim | ||
Based on the above modification for conditional generation, Algorithm 1 can be adapted into a grouping-based implementation, as shown in Algorithm 2. Specifically, we sample conditions, sample data samples for each condition, and sample noise samples. Each step in Algorithm 2 is then computed within each condition group and averaged over all conditions. After training, the learned flow map can be used to generate samples that satisfy both the physical constraints and the data distribution with condition input, namely,
Algorithm 2 PI-LSFM Conditional Training
Require: dataset , condition batch size , samples per condition , initial model parameters , learning rate , Gaussian noise sampler , hyperparameter
1: repeat 2: Sample conditions 3: for do 4: Sample from 5: Sample noise from 6: Compute for 7: Compute using tab. 8 8: Compute using tab. 9 9: 10: 11: end for 12: 13: 14: until convergence
Algorithm 3 PI-LSFM Feature-Space Training
Require: dataset , batch size , feature encoder , initial model parameters , learning rate , Gaussian noise sampler , hyperparameter
1: repeat 2: Sample from 3: Sample noise from 4: and 5: Compute feature sets and 6: Compute in feature space using tab. 10 7: Compute in the original space using tab. 2 8: 9: 10: until convergence
Figure 5: Conditional and feature-space implementations of PI-LSFM training.
C.2 STABILIZATION VIA FEATURE SPACES
As discussed above, directly computing the kernel in the high-dimensional data space may suffer from the curse of dimensionality, making the kernel weights less informative and the estimated direction unstable. To alleviate this issue, we compute the kernel in a lower-dimensional feature space.
Let be an encoder with , and define the feature variable . Let , where , and denote the density of by . Equivalently, for any test function ,
If Flow Matching is trained in the feature space , then, similarly to Theorem 3.1, the corresponding dynamics can be interpreted as a potential-driven system , with potential
Equivalently,
The kernel in is computed in the low-dimensional feature space, where the kernel weights are more stable. We next relate this feature-space potential to the original data-space potential, so that can be used to characterize the dynamics on .
Theorem C.1 (Local-linear feature-data potential gradient relation). Let , and let denote the conditional density induced by . Assume that, near , we approximately have , where and denote the conditional paths in the spaces and , respectively. Then, in the near-endpoint regime , we have the following approximation:
Proof. By the definition of the potential-driven dynamics, we have and , where and denote the Flow Matching velocities on and , respectively. We now relate and . Near , we approximately have , and then we have
where follows from a Taylor expansion and holds because
(53)
Substituting and , we obtain
This completes the proof.
We then consider learning trajectory consistency in the feature space using Equation 5, namely . We assume that the encoder is well-behaved and approximately invertible. In this case, Equation 6 becomes
where ① follows from a Taylor expansion. This is exactly the formula stated in the main text as Equation 13, where is numerically computed in the feature space. Note that the physics target does not require any modification; only the data target needs to be computed in the feature space. The corresponding targets obtained by different numerical schemes in the feature space are given in Table 10. Our derivation relies on the assumption that the encoder is well defined and well behaved. Empirically, we find that the encoders used in our experiments work effectively under this formulation.
It is worth noting that the use of the encoder and feature space only affects the training process. During inference, generation is still performed in the original space . Therefore, after learning the flow map , the inference procedure is the same as in subsection 3.3.
Table 10: Three standard discretizations of the data potential-driven dynamics in feature space.
| Scheme | Update formula | Target |
|---|---|---|
| FE | ||
| BE | ||
| TR |
C.3 PYTORCH CODE
Here, we take the trapezoidal rule of Table 1 as an example and provide the parallel PyTorch implementation of the expectation computation in Equation 12. In each update, we sample a data batch and compute a generated batch by mapping noise samples through the learned flow map. The generated batch is also used as samples from the distribution , denoted by .
For each generated sample , we compute kernel-weighted averages over all samples in the data batch and the generated batch . These kernel-weighted averages provide empirical estimates of the expectations used to construct the target for . The expectation computation for all samples in is fully parallelized, and the corresponding PyTorch implementation is shown below.
import torch
def compute_kernel_weighted_targets(
x1_theta: torch.Tensor, # [B...]
x1: torch.Tensor, # [B...]
tilde_x1: torch.Tensor, # [B...]
epsilon: float,
eps: float = 1e-12,
) :
dist2_data = torch.cdist(x1_theta, x1, p=2) ** 2
weights_data = torch.exp(-dist2_data / epsilon).clamp_min(eps)
V_forward = (weights_data @ x1) / weights_data.sum(dim=1, keepdim=True)
dist2_tilde = torch.cdist(x1_theta, tilde_x1, p=2) ** 2
weights_tilde = torch.exp(-dist2_tilde / epsilon).clamp_min(eps)
V_backward = -(weights_tilde @ tilde_x1) / weights_tilde.sum(dim=1, keepdim=True)
return 0.5*(V_forward+V_backward)
D DESIGN STUDY AND ADDITIONAL RESULTS
D.1 PHYSICS TERM NUMERICAL INTEGRATION STUDY
We next study the impact of different numerical discretizations in Table 2 for the physics term. Specifically, we compare Forward Euler, Backward Euler, and Backward Euler(limit), while fixing the data term to its best-performing configuration, namely the trapezoidal rule.
In the experiments, we evaluate four constant values of the coefficient from 0.1 to 3.0, which controls the relative strength between the data term and the physics term. For each numerical scheme, we plot the trends of RE, WD, and JS as varies, as shown in Figure 6a,Figure 6d and Figure 6g. Unlike Forward Euler, Backward Euler does not exhibit a simple smooth trend. In particular, as shown in Figure 6d, WD and JS increase sharply when changes from 0.3 to 0.1. To address this sensitivity, we additionally consider three scheduling strategies for : piecewise, linear, and quadratic schedules. Let denote the training step, and let and denote the end of the warm-up stage and ramping stage, respectively. The piecewise schedule is defined
for the linear
and quadratic schedules, we set and , define and then the linear schedule is and the quadratic schedule is . For , both schedules use , and for , both schedules use .
To better compare the trade-off between the data term and the physics term under different constant and scheduled choices of , we also plot RE-WD and RE-JS scatter plots. These plots allow us to select the best configuration for each numerical scheme. We observe that Forward Euler consistently achieves better trade-offs across RE, WD, and JS compared with the two implicit variants. We then select the best-performing for each method and report the corresponding RE, WD, and JS in Figure 4c. The selected configurations are for Forward Euler, the piecewise schedule for Backward Euler, and the piecewise schedule for Backward Euler (limit).
All experiments use the same model architecture and training configuration as in subsection E.2. We train each variant for 400K steps. Overall, Forward Euler achieves the best performance for the physics term. We hypothesize that this is because the physics term has an explicit analytical form, so the steepest-descent direction provided by Forward Euler gives the most direct and stable correction.

(a) Forward: trend.
(b) Forward: RE vs. WD.
(c) Forward: RE vs. JS.

(d) Backward: trend.
(e) Backward: RE vs. WD.
(f) Backward: RE vs. JS.

(g) Backward (Limit): trend.
(h) Backward (Limit): RE vs. WD.
(i) Backward (Limit): RE vs. JS.
Figure 6: Comparison of constant step sizes and scheduling strategies for different physics-term discretizations. Each row corresponds to one numerical scheme, while columns show metric trends, RE–WD trade-offs, and RE–JS trade-offs. Due to the large dynamic range of the metrics for the Backward Euler methods, logarithmic scales are used in the scatter plots for better visualization.
D.2 DATA TERM NUMERICAL INTEGRATION STUDY
We next study the effect of different numerical schemes in Table 1 for the data term. Similar to the physics-term study, we compare Forward Euler, Backward Euler, and the trapezoidal rule, while fixing the physics term to its best-performing configuration, namely the Forward Euler method.
In the experiments, we evaluate five values of the coefficient from 0.3 to 10.0, which controls the relative strength between the data term and the physics term. For each numerical scheme, we plot the trends of RE, WD, and JS as varies, as shown in Figure 7. The trapezoidal rule consistently yields smaller values across all three metrics compared with the two Euler schemes. We then select the best-performing for each method and report the corresponding RE, WD, and JS in Figure 4d. The selected values are for Forward Euler, for Backward Euler, and for the trapezoidal rule.
All experiments use the same model architecture and training configuration as in subsection E.2. To reduce computational cost, we train each variant for 100K steps. In contrast to the physics term, we find that the second-order trapezoidal rule consistently achieves the best performance for the data term. This can be attributed to the kernel-based expectation in the data target, where a higher-order discretization provides a more accurate approximation of the near-terminal dynamics.

(a) Forward Euler.

(b) Backward Euler.

(c) Trapezoidal rule.
Figure 7: Effect of the coefficient under different numerical discretizations.
D.3 ENCODER STUDY
We investigate the effect of different feature encoders used in the feature-space stabilization strategy described in subsection 3.3. The corresponding training procedure is summarized in Algorithm 3. We consider several representative encoder choices, including a multi-resolution MAE He et al. (2022) trained on the target dataset, the pretrained U-Net-based physics foundation model Poseidon Herde et al. (2024), and the transformer-based physics foundation models DPOT Hao et al. (2024) and MPP McCabe et al. (2024). For a fair comparison, we keep the encoder parameter counts approximately matched at around 30M parameters. For Poseidon, we use the basic variant, while for DPOT and MPP, we use their small variants to ensure comparable model sizes.
The MAE encoder is implemented as a ResNet–U-Net architecture trained directly on the Darcy dataset (for Kolmogorov flow, we use the same architecture and training setup, only adapting the input and output channels). Each input consists of two channels, which are first patchified using patches, resulting in an 8-channel representation on a grid. The encoder follows a ResNet34-style He et al. (2016) design with Group Normalization, producing multi-resolution feature maps with channel widths 64, 128, 256, and 512. The decoder adopts a U-Net structure with bilinear upsampling and skip connections to reconstruct the input. During training, we randomly mask 50% of the patches and optimize a mean-squared reconstruction loss on the masked regions. The model is trained with batch size 256 using AdamW, with an initial learning rate of decayed to , weight decay 0, and , together with an exponential moving average with decay 0.9995. The MAE is trained for 400K steps, after which it is frozen and used as the feature encoder.
We keep the neural representation of the flow map and the training configuration the same as in subsection E.2. To reduce computational cost, each encoder variant is trained for 100K steps within the PI-LSFM framework. In the experiments, we evaluate five constant values of the coefficient from 0.1 to 10.0, which controls the relative strength between the data term and the physics term. For each encoder, we plot the trends of RE, WD, and JS as varies, as shown in Figure 8. These plots allow us to select the best configuration for each encoder and compare different encoders under their respective best-performing settings. We then report the corresponding RE, WD, JS, and per-step training time in Figure 4b. The selected configurations use for MAE, for Poseidon, and for DPOT and MPP.
We observe that all encoders improve the performance of our model, demonstrating the effectiveness and robustness of feature-space training. Among them, MAE, Poseidon, and DPOT achieve the

(a) MAE.

(b) Poseidon.

(c) DPOT.
(d) MPP.
Figure 8: Effect of the coefficient for different feature encoders. Each plot shows RE, WD, and JS as varies.
strongest overall results. Since MAE provides the fastest training while maintaining strong performance, we use it as the default encoder in our subsequent experiments. Nevertheless, for settings where training a task-specific encoder is undesirable, pretrained encoders such as Poseidon and DPOT remain strong alternatives.
To construct the feature space, we avoid directly flattening the full encoder feature maps, as this would lead to prohibitively high dimensionality. Instead, following Deng et al. (2026), we aggregate the encoder outputs into a compact set of multi-scale statistics. For each feature map of size , we retain location-wise features, global channel-wise mean and standard deviation, and channel-wise mean and standard deviation computed over spatial patches at multiple resolutions. This design preserves both local and global information while significantly reducing the dimensionality of the feature representation.
In Figure 11, we demonstrate the necessity of feature-space optimization: without a feature encoder, training fails, in contrast to the successful feature-space results in Figure 10.
E EXPERIMENT DETAILS AND ADDITIONAL RESULTS
E.1 TOY EXAMPLE
Dataset To clearly demonstrate the advantage of our direct loss in jointly controlling the physics constraint and the data distribution, we consider a two-dimensional toy dataset for intuitive visualization. Specifically, we construct from a mixture of three Gaussian distributions whose centers are approximately located on the unit circle. The underlying physical constraint is .
To simulate a realistic setting where data samples are influenced by both the data distribution and the physical constraint, we do not fully project the samples onto the circle. Instead, we introduce controlled deviations by interpolating between the original Gaussian samples and their projections , where in all experiments. This produces training samples that approximately satisfy the constraint while preserving the multimodal structure of the data. An
Table 11: Constraint satisfaction on the toy example under different batch sizes. We report RE: physical Residual MSE ×10⁴.
| Batch size | Ours | sCM (λ = 0) | sCM (λ = 1) | sCM (λ = 3) | sCM (λ = 10) | sCM (λ = 30) | sCM (λ = 100) |
|---|---|---|---|---|---|---|---|
| 8.015 | 3996.970 | 220.986 | 176.003 | 190.425 | 773.622 | 240.384 | |
| 3.040 | 574.162 | 198.419 | 155.516 | 146.720 | 142.761 | 98.074 | |
| 0.722 | 366.265 | 158.029 | 142.076 | 68.378 | 38.710 | 33.033 |
example of this training dataset is shown in Figure 9a, while the fully projected dataset in Figure 9b serves as the desired physics-consistent distribution.
Training Details On this dataset, we compare our method with a single-stage consistency model (sCM Lu & Song (2024)). For sCM, we use the standard consistency objective , where denotes the raw neural-network output and denotes the corresponding consistency output used for generation. is the physics residual for the circle constraint. Except for the training loss, our method and sCM use the same model architecture and optimization setup. We use a MLP network as the backbone. The network has 8 layers with hidden dimension 128 and sinusoidal time embeddings of dimension 32. Both methods are trained for 40K steps using AdamW with learning rate , weight decay 0, and . We use exponential moving average (EMA) with decay 0.9999.
Results We visualize the learned distributions in Figure 9 using a small batch size , which highlights whether each method can simultaneously recover the multimodal distribution and satisfy the circle constraint. For sCM, we test multiple values of the physics weight for a fair comparison. As shown in Figures 9d–9i, physics-informed consistency models struggle to balance the data distribution and the constraint: small leads to poor constraint satisfaction, while large causes the physics term to dominate and often results in mode collapse. In contrast, our method in Figure 9c enforces the geometric constraint while preserving the three modes along the circle, demonstrating effective joint control of distributional fidelity and physical validity. We further report constraint satisfaction under different batch sizes, including , in Table 11. Our method achieves significantly lower residual errors, outperforming sCM by up to approximately across different batch sizes.
E.2 DARCY FLOW
Dataset and constraints. We use the Darcy-flow dataset following Baldan et al. (2026) to enable direct comparison with prior physics-informed generative baselines. The task models steady-state flow in a heterogeneous porous medium on a grid, where each sample contains a permeability field and the corresponding pressure field . The flow is governed by
where is the Darcy velocity, is the outward unit normal on the boundary, and denotes the spatial coordinate. Equivalently, the pressure satisfies with a no-flux boundary condition. Following Baldan et al. (2026), the forcing term is a localized source–sink pair:
with , and is the 2D coordination of . The permeability field is generated as , where is a Gaussian random field. Given and , the pressure field is obtained by solving a least-squares problem using a 64-term truncated Karhunen-Loève expansion, following Jacobsen et al. (2025). Since the no-flux boundary condition determines only up to an additive constant, the pressure field is normalized by removing its spatial mean.

(a) Dataset
(b) Full-projected dataset
(c) Our method

(d) sCM ( )
(e) sCM ( )
(f) sCM ( )

(g) sCM ( )
(h) sCM ( )
(i) sCM ( )
Figure 9: Toy example visualization comparing the training dataset, the fully projected target distribution, our method, and physics-informed sCM with different values of . Our method preserves the three-mode structure while satisfying the circle constraint, and achieves up to approximately lower physical residual error than sCM, as reported in Table 11.
For the physics constraint, we follow the residual-evaluation protocol of Baldan et al. (2026) and use both the PDE residual and the no-flux boundary residual:
(59)
In practice, the differential operators are evaluated using fixed finite-difference kernels implemented as 2D convolutional filters, and the forcing field is reconstructed with the same procedure used during dataset generation. The generated pressure field is likewise mean-normalized before evaluating the residuals. This benchmark is unconditional, so no external condition is provided to the generator.
Metrics. We evaluate both physical consistency and distributional fidelity. The residual error (RE) measures the mean squared violation of the governing equation and no-flux boundary condition:
For distributional fidelity, we follow Baldan et al. (2026) and report Wasserstein distance (WD) Villani et al. (2009) and Jensen-Shannon divergence (JS) Lin (2002), computed using the same evaluation protocol and implementations with the SciPy library Gommers et al. (2025). We also report the number of function evaluations (NFE) and inference time (IT) to measure sampling efficiency.
Model and training. We use the basic architecture described in Bastek et al. (2024) without additional architectural optimization. The number of parameters is kept consistent with Baldan et al. (2026), which serves as our main baseline. For experiments with feature-space stabilization, the encoder is used only during training to compute the data target, while generation is still performed in the original data space. The training details of the feature encoder are provided in subsection D.3, and the architecture and training configuration of the main model after encoder pretraining are summarized in Table 12. Note that our method does not require intermediate time inputs ; therefore, for unconditional generation, we remove the time embedder and conditional modulation modules.
Visualization Results. Qualitative results are shown in Figure 10. Our method produces physically consistent samples with coherent pressure and permeability fields, while maintaining low residual errors.

Figure 10: Generated Darcy flow samples. Each row shows one sample, with columns corresponding to pressure , permeability , and residual.

Figure 11: Failure cases without feature-space optimization on Darcy flow. Each row shows one generated sample, with columns corresponding to pressure , permeability , and residual. Without a feature encoder, optimization fails to produce physically meaningful results.
E.3 Kolmogorov Flow
Dataset and constraints. Kolmogorov flow is a standard benchmark for two-dimensional incompressible turbulence, where the dynamics are driven by a spatially periodic forcing. We follow the dataset construction in Baldan et al. (2026), where velocity fields are defined on a periodic domain and conditioned on the Reynolds number, which determines the flow regime. The data are generated using a spectral solver based on the vorticity-streamfunction formulation of the incompressible Navier–Stokes equations. Specifically, the vorticity field is evolved in time, and the velocity field is recovered from the stream function, while the pressure is obtained by solving a Poisson equation. The simulations are performed for Reynolds numbers in the range [100, 500], with 32 distinct values used for training and 16 unseen values reserved for evaluation. For each Reynolds number, multiple trajectories are simulated from perturbed initial conditions, and snapshots are collected after the flow reaches a statistically steady regime, resulting in 1024 samples per condition.
The governing physical constraint is incompressibility, corresponding to mass conservation:
Because the domain is periodic, the velocity field satisfies periodic boundary conditions in both spatial directions. We therefore use circular padding in the neural-network convolutions, so the boundary conditions are respected without additional enforcement. For consistency with the data-generation process, the residual is computed using the same discretization scheme as the spectral solver, avoiding numerical discrepancies between training and evaluation.
This task is conditional: the Reynolds number specifies the operating regime, and the model is required to generate velocity fields that match both the conditional distribution and the incompressibility constraint.
Metrics. The physical residual error is defined by the divergence violation:
Table 12: Architecture and training hyperparameters of Darcy Flow.
| Hyperparameter | Value |
|---|---|
| Architecture hyperparameters | |
| In-, output channels | 2, 2 |
| ResNet blocks per down-/upsampling pass | 2 |
| ResNet block normalization | Group Normalization, 8 groups |
| ResNet block activation function | SiLU |
| Attention block normalization | Layer Normalization |
| Feature map resolutions | |
| Latent dimensions | |
| Attention head dimension | 32 |
| Number of attention heads | 8 |
| Parameters (M) | 9.85 |
| Conditioning size | None |
| Training hyperparameters | |
| Batch size (Darcy flow) | 64 |
| Iterations (Darcy flow) | 400k |
| Learning rate | |
| Optimization algorithm | Adam |
| EMA decay | 0.9999 |
| Dropout | none |
| Weight Decay | 0 |
We use WD and JS to measure distributional fidelity as in Darcy flow (subsection E.2). In addition, we report the MSE of the conditional mean fields (MMSE) and the MSE of the conditional standard-deviation fields (SMSE):
MMSE evaluates whether the generated samples match the conditional mean flow, while SMSE evaluates whether they reproduce the conditional fluctuation level. We also report the number of function evaluations (NFE) and inference time (IT) to measure sampling efficiency.

Figure 12: Generated Kolmogorov flow samples. Each row shows one sample, with columns corresponding to u-velocity, v-velocity, and divergence residual. From top to bottom, the Reynolds number increases.
Model and training. We use the same architecture as in Bastek et al. (2024) without additional architectural modifications. For experiments with feature-space stabilization, the encoder is used only during training to compute the data target, while generation is still performed in the original data space. The training details of the feature encoder are provided in subsection D.3, and the architecture and training configuration of the main model after encoder pretraining are summarized in Table 13.
Visualization Results. Qualitative results are shown in Figure 12. Our method produces coherent velocity fields while maintaining low divergence residuals.
Table 13: Architecture and training hyperparameters of Kolmogorov flow.
| Hyperparameter | Value |
|---|---|
| Architecture hyperparameters | |
| In-, output channels | 2, 2 |
| Global conditioning dimension | 1 |
| ResNet blocks per down-/upsampling pass | 2 |
| ResNet block normalization | Group Normalization, 8 groups |
| ResNet block activation function | SiLU |
| Attention block normalization | Layer Normalization |
| Feature map resolutions | |
| Latent dimensions | |
| Attention head dimension | 32 |
| Number of attention heads | 8 |
| Parameters (M) | 36.2 |
| Conditioning variable | 1 |
| Sigmoid output | False |
| Training hyperparameters | |
| Batch size (K-flow) | 64 |
| Iterations (K-flow) | 400k |
| Learning rate | |
| Optimization algorithm | Adam |
| EMA decay | 0.9999 |
| Dropout | none |
| Weight Decay | 0 |
E.4 DYNAMIC STALL
Dataset and constraints. Dynamic stall is a conditional generation benchmark for unsteady compressible flow around a sinusoidally pitching NACA0012 airfoil. We follow the dataset construction of Baldan et al. (2026), where the data are generated by solving the two-dimensional unsteady compressible Reynolds-averaged Navier-Stokes (RANS) equations on an O-type mesh around the airfoil. The simulations are performed with ANSYS Fluent ANSYS (2024) using an implicit finite-volume solver, and the resulting flow fields are downsampled to a grid. The airfoil motion is prescribed by a sinusoidal pitching law, and each simulation is run until periodic convergence is reached, after which flow snapshots are collected over a full pitching cycle (see Baldan et al. (2026) for further details). Each sample contains six predicted fields, including absolute pressure , temperature , density , skin friction , and tangential velocity gradients along the airfoil surface. The model is conditioned on four operating parameters: the free-stream Mach number, the mean angle of attack, the pitching amplitude, and the reduced frequency. Following Baldan et al. (2026), training and testing configurations are sampled from this four-dimensional design space, with additional perturbations applied to each nominal configuration. The training set contains 128 base configurations, each perturbed 32 times, and the test set contains 16 unseen configurations.
The physical constraints are imposed through two analytical point-wise residuals following Baldan et al. (2026). The first residual enforces the ideal gas relation:
while the second constrains the skin friction using the temperature-dependent viscosity from Sutherland's law:
Here, is the gas constant, and , , and are the reference viscosity, reference temperature, and Sutherland constant. These constraints couple the generated thermodynamic variables and near-wall quantities.
Table 14: Architecture and training hyperparameters of dynamic stall.
| Hyperparameter | Value |
|---|---|
| Architecture hyperparameters | |
| In-, output channels | 6, 6 |
| Global conditioning dimension | 4 |
| ResNet blocks per down-/upsampling pass | 2 |
| ResNet block normalization | Group Normalization, 6 groups |
| ResNet block activation function | SiLU |
| Attention block normalization | Layer Normalization |
| Feature map resolutions | |
| Latent dimensions | |
| Attention head dimension | 32 |
| Number of attention heads | 8 |
| Parameters (M) | 1.9 |
| Conditioning variables | 4 |
| Sigmoid output | False |
| Training hyperparameters | |
| Batch size (dynamic stall) | 64 |
| Iterations (dynamic stall) | 400k |
| Learning rate | |
| Optimization algorithm | Adam |
| EMA decay | 0.9999 |
| Dropout | none |
| Weight Decay | 0 |
Metrics. The physical residual error combines the two point-wise residuals:
We use the same distributional and statistical metrics as in Kolmogorov flow, including WD, JS, MMSE, and SMSE. These metrics evaluate whether the generated samples match both the physical constraints and the conditional statistics of the target flow fields. NFE and IT are also reported to compare sampling efficiency.
Model and training. We use the same basic architecture as in Bastek et al. (2024) without additional architectural modifications. The model is conditioned on the operating and pitching parameters of the dynamic-stall case. For experiments with feature-space stabilization, the encoder is used only during training to compute the data target, while generation is still performed in the original data space. The architecture and training configuration are summarized in Table 14.
Visualization Results. Qualitative results are shown in Figure 13. Our method generates coherent dynamic-stall fields across all predicted quantities.

Figure 13: Generated dynamic-stall samples. Each row corresponds to one generated sample, and the columns show pressure , temperature , density , wall shear stress , and tangential velocity gradients and , respectively.
E.5 TOPOLOGY OPTIMIZATION
Dataset and constraints. Topology optimization is a conditional inverse-design benchmark, where the objective is to generate a material distribution that achieves high structural stiffness under prescribed loading and boundary conditions. We follow the setup of Bastek et al. (2024). Each sample is defined on a grid representing a discretized design domain. The model is conditioned on the external load field , boundary conditions, auxiliary physical fields (e.g., strain energy and von Mises stress), and a target volume constraint . These conditioning fields are concatenated with noise and provided as input to the network, which predicts both the displacement field and the material density field .
The problem corresponds to minimum-compliance topology optimization under linear elasticity Bastek et al. (2024). The objective is to minimize the total elastic energy
subject to the box constraint , the volume constraint , and the equilibrium condition . Dirichlet boundary conditions are imposed on fixed supports, while Neumann boundary conditions specify the applied loads. The stress and strain fields are related through a density-dependent constitutive model , where . Following Bastek et al. (2024), the material stiffness tensor is parameterized using the SIMP formulation, with , which encourages near-binary material distributions. The displacement field is discretized on the underlying grid, leading to a finite-dimensional representation . Under a standard finite-element formulation, the equilibrium equation is converted into a linear system
where is the global stiffness matrix assembled from element-wise contributions, denotes the nodal displacement vector of , and is the external force vector of . Consistent with Bastek et al. (2024), we evaluate the physical residual by assembling the FEM stiffness system directly on the grid representation, rather than relying on finite-difference approximations, to ensure consistency with the data generation process.
The dataset is defined on a nodal grid, which we interpolate to a grid for compatibility with the convolutional architecture, following Bastek et al. (2024). We adopt the same data split as Bastek et al. (2024), where the test set is divided into in-distribution and out-of-distribution cases. The in-distribution setting contains samples with loading and boundary configurations similar to those seen during training, while the out-of-distribution setting introduces unseen configurations to evaluate generalization under novel physical conditions.
Metrics. We evaluate the generated solutions from three complementary perspectives: physical consistency, structural optimality, and volume-constraint satisfaction. For physical consistency, we measure the violation of the discretized equilibrium equation using the residual mean absolute error. Specifically, for each sample we compute the norm of the FEM residual and report its median over the test set:
where denotes the global stiffness matrix assembled from the predicted density field, U is the corresponding nodal displacement obtained from the model, F is the external force vector, and N is the number of grid points. This metric quantifies how well the generated fields satisfy mechanical equilibrium. To assess structural performance, we report the median compliance error (CE). Following standard practice Bastek et al. (2024), the predicted density field is first binarized, and the corresponding displacement is recomputed by solving the FEM system. The compliance of the generated structure is then defined as
and compared against the reference compliance , yielding
Finally, we evaluate satisfaction of the volume constraint using the volume fraction error (VFE). After binarization, the average density is compared with the target volume fraction :
where denotes the mean value of the binarized density field. Lower values of , CE, and VFE indicate better physical consistency, structural optimality, and constraint satisfaction, respectively.
Model and training. We use the same basic architecture as in Bastek et al. (2024) without additional architectural modifications. The model is conditioned on the loading, boundary-condition, and volume-constraint information of the topology-optimization problem. For experiments with feature-space stabilization, the encoder is used only during training to compute the data target, while generation is still performed in the original data space. The architecture and training configuration are summarized in Table 15.
Visualization Results. Qualitative results are shown in Figure 14. Our method generates feasible topology designs while maintaining low equilibrium residuals.
Table 15: Architecture and training hyperparameters of topology optimization.
| Hyperparameter | Value |
|---|---|
| Architecture hyperparameters | |
| In-, output channels | 10, 3 |
| ResNet blocks per down-/upsampling pass | 2 |
| ResNet block normalization | Group Normalization, 8 groups |
| ResNet block activation function | SiLU |
| Attention block normalization | Layer Normalization |
| Feature map resolutions | |
| Latent dimensions | |
| Attention head dimension | 32 |
| Number of attention heads | 8 |
| Parameters (M) | 131.2 |
| Sigmoid output | True for the last channel |
| Training hyperparameters | |
| Batch size (topology optimization) | 64 |
| Iterations (topology optimization) | 600k |
| Learning rate | |
| Optimization algorithm | Adam |
| EMA decay | 0.9999 |
| Dropout | none |
| Weight Decay | 0 |

Figure 14: Generated topology-optimization samples. Columns 1 and 3 show the generated density fields, while columns 2 and 4 show the corresponding equilibrium residuals.
F ADDITIONAL THEORETICAL BACKGROUND
F.1 FLOW MAP LEARNING
As discussed in subsection 2.2, flow-map learning aims to directly learn the flow map , so that one-step generation can be performed via , where . Previously, similar to multi-step generative models, there is no easily computable closed-form target flow map available for direct supervision. Therefore, one cannot simply train the model with a direct objective of the form . (In this work, we address this difficulty through a long-short flow-map formulation.)
Instead, flow-map learning must rely on regression-based surrogate objectives, much like multi-step methods such as Flow Matching. In Flow Matching, this is achieved by constructing a conditional path and using the corresponding conditional velocity to regress the marginal velocity . The difficulty for flow maps, however, is that unlike instantaneous velocity fields , they do not admit a self-consistent conditional counterpart Li et al. (2026).
Theorem F.1 ((Non-existence of conditional flow maps; Theorem 4.1 of Li et al. (2026)).) There exists no conditional flow map that simultaneously (i) is consistent with the conditional velocity under Equation 3, and (ii) satisfies the consistency relation with the marginal flow map. As a result, a self-consistent conditional cumulative field does not exist.
Proof. Let the mappings defined by (1) and (2) be denoted by and , respectively. Specifically, and .
It suffices to show that . To do so, it is enough to prove that . For , we have
(73)
Consequently, if , then we must have
which implies . In particular, at , this yields
where denotes the Dirac distribution concentrated at a single point. This is a contradiction unless the data distribution is degenerate. Therefore, such a conditional flow map cannot exist.
Because a self-consistent conditional flow map does not exist, flow-map learning is typically carried out through regression objectives built around trajectory consistency (Proposition Proposition 2.1). In particular, one may define the trajectory-consistency loss based on Proposition Proposition 2.1 as . However, does not contain dataset-level supervision, since every term in the loss is produced by the model itself. Therefore, can only enforce internal consistency of the learned flow map, but cannot guarantee that the learned map generates the desired target distribution .
To address this issue, existing flow-map learning methods mainly fall into two categories: progressive extension methods and derivative-based methods.
- Progressive extension (ShortCut Frans et al. (2025), PSD of FMM Boffi et al. (2025), Split-MeanFlow Guo et al. (2025)): these methods extend instantaneous dynamics to longer flow maps through consistency constraints. For example, ShortCut first learns the instantaneous velocity by regression loss with supervision from the dataset
and then extends to longer intervals through consistency relations such as
where , and is sampled uniformly at random from . As a result, the long-range map receives no direct supervision from the dataset ; instead, it is learned recursively from shorter model outputs.
- Derivative-based methods (MeanFlow Geng et al. (2025), Consistency Models Song et al. (2023), ESD and LSD of FMM Boffi et al. (2025)): these methods relate the flow map to the instantaneous velocity field through the continuous equations or implied by trajectory consistency (Proposition Proposition 2.1), obtained by appropriate reformulations and by taking the limits and , respectively. This connection allows them to supervise long-range flow maps more directly using data-dependent conditional velocities . For example, MeanFlow uses an objective of the form
where , . This provides more direct supervision than progressive extension methods. However, it also leads to a more complicated regression target and typically requires Jacobian-vector products (JVPs), which can significantly increase memory usage, computational cost, and optimization instability.
Other methods, such as AlphaFlow Zhang et al. (2025), can be viewed as hybrids of these two categories. Overall, compared with multi-step generative models that only need to learn instantaneous fields, the regression objectives for flow-map learning are structurally more complicated. This further increases the difficulty of incorporating physical constraints into one-step or few-step flow-map learning.
F.2 CLOSED-FORM SOLUTION
In addition to optimizing indirect regression losses, prior work Bertrand et al. (2025) has also derived a closed-form expression for the Flow Matching velocity field . However, this closed form is mainly used for theoretical analysis rather than practical training. The main reason is that it involves the computation of a kernel , whose value depends on the time-dependent coefficient . When is far from the endpoint 1, this coefficient makes the kernel relatively flat, as illustrated in Figure 15. As a result, accurately estimating the expectation inside the kernel-weighted velocity field requires a large number of samples, making direct training with this closed-form velocity ineffective.

Figure 15: Kernel profiles for different values of .
In our method, the long-short flow-map decomposition allows us to use the closed-form Flow Matching dynamics only in the near-endpoint regime . In this regime, the kernel becomes sufficiently sharp, so estimating the expectation does not require a large number of samples, as discussed in subsection 3.3. Moreover, to unify the data-driven effect with the physics-driven effect, we do not use the closed-form velocity directly. Instead, we adopt the potential-based formulation in Theorem 3.1, which also avoids the singularity of the closed-form velocity field at .
G ADDITIONAL DARCY COMPARISONS AND EXPERIMENTAL SETTINGS
G.1 CONFLICT-FREE ONE-STEP COMPARISONS
We compare PI-Consistency (implementing sCM), PI-MeanFlow, and PI-Shortcut on Darcy. Each retains its original training objective and procedure, with the same terminal physics loss added under matched architecture, data, batch size, residual, and training budget. Table 16 reports results with and without the conflict-free (CF) optimization strategy from PBFM Baldan et al. (2026). This control tests whether resolving data–physics gradient conflicts alone is sufficient to close the performance gap. CF updates improve the physical residuals of these baselines but do not recover the overall data–physics performance of PI-LSFM, which uses no CF update. The remaining gap supports the benefit of our direct data-and-physics objective beyond the gains obtained by conflict-free optimization of the tested indirect objectives.
Table 16: One-step Darcy baselines with and without conflict-free (CF) updates.
| Method | CF | RE | WD10 | JS10 |
|---|---|---|---|---|
| PI-Consistency | No | 0.240 | 3.889 | 5.023 |
| PI-Consistency | Yes | 0.152 | 3.017 | 3.933 |
| PI-MeanFlow | No | 4603.573 | 4.243 | 5.457 |
| PI-MeanFlow | Yes | 4.973 | 4.253 | 5.212 |
| PI-Shortcut | No | 0.435 | 2.336 | 2.518 |
| PI-Shortcut | Yes | 0.276 | 2.184 | 2.363 |
| PI-LSFM | No | 0.055 | 0.108 | 0.171 |
G.2 THREE-SEED DARCY CHECK
Table 17 reports three additional independent Darcy runs trained for 100K steps each. These runs provide a stability check at 100K steps, rather than three fully converged 400K-step runs. Our main benchmark results use the fixed seed 42 without seed selection.
Table 17: Three-seed Darcy stability check at 100K steps.
| Seed | RE | WD10 | JS10 |
|---|---|---|---|
| 43 | 0.132 | 0.269 | 0.241 |
| 123 | 0.116 | 0.215 | 0.210 |
| 2026 | 0.127 | 0.308 | 0.259 |
| Mean std | 0.125 0.008 | 0.264 0.047 | 0.237 0.025 |
G.3 BATCH-SIZE SENSITIVITY
Table 18 reports the Darcy batch-size sweep, with each setting trained for 100K steps. Batch sizes 32 and 64 retain useful data–physics performance, while the results deteriorate at 16 and 8. The sweep evaluates unconditional Darcy generation.
Table 18: Darcy batch-size sensitivity after 100K training steps per setting.
| Batch size | RE ↓ | WD·10² ↓ | JS·10¹ ↓ |
|---|---|---|---|
| 64 (default) | 0.117 | 0.213 | 0.216 |
| 32 | 0.193 | 0.503 | 0.441 |
| 16 | 13.715 | 7.572 | 2.771 |
| 8 | 5.971 | 7.395 | 2.570 |
G.4 DEFAULT SETTINGS AND SELECTION PROTOCOL
The data and physics discretizations are selected through the Darcy design studies and retained across all four benchmarks. The bandwidth is shared across tasks. The Darcy physics weight comes from its design-study sweep; the other benchmarks reuse prior-work settings Baldan et al. (2026) without a new per-task search. Table 19 summarizes the relative physics weights , encoders, and discretizations. Darcy and Kolmogorov use an MAE encoder; dynamic stall and topology optimization train without an encoder.
Table 19: Per-benchmark default settings used in the reported experiments.
| Benchmark | Encoder | Data | Physics | ||
|---|---|---|---|---|---|
| Darcy | 3.0 | 0.1 | MAE | TR | FE |
| Kolmogorov | 1.0 | 0.1 | MAE | TR | FE |
| Dynamic stall | 1.0 | 0.1 | None | TR | FE |
| Topology optimization | 0.01 | 0.1 | None | TR | FE |