In the quest to build AI models that understand the physical world, researchers often face a dilemma: do we rely on the abundant, high-resolution data from numerical simulations, or the sparse, noisy, but "ground truth" data from real-world experiments? The standard approach is to train on simulation and then fine-tune on experimental data. However, a new paper from Los Alamos National Laboratory suggests we might be doing it wrong.
TL;DR
Standard sequential fine-tuning (Sim $\rightarrow$ Exp) causes models to "forget" the rich physics learned during simulation, leading to poor performance when evaluated across both domains. By treating simulation and experimental data as a joint multi-objective learning problem, researchers achieved significantly more balanced and robust predictions across four complex fluid dynamics systems.
What Problem Does This Paper Address?
Numerical simulations are great because they provide dense, full-state information (like pressure and velocity at every point in space). However, they are based on idealized assumptions. Real experiments capture the true physics but are often "partially observed"—for example, you might only be able to measure velocity, not pressure, and only at a lower resolution.
The common practice is Simulation-to-Real (Sim2Real) transfer: pretrain a model on simulation data and fine-tune it on experimental data. The authors identify a major drawback here: simulation-domain forgetting. Once fine-tuning begins, the model optimizes only for the experimental data. If the experimental measurements are noisy or incomplete, the model may lose the underlying physical consistency it learned from the simulation, making it less useful for tasks like predicting variables that were only available in the simulation.
Methods
The authors propose Joint Training as a solution. Instead of a sequential pipeline, they formulate the task as a multi-objective optimization problem where the model minimizes both a simulation risk ($R_{sim}$) and an experimental risk ($R_{exp}$) simultaneously.
Key Technical Components:
- Joint Objective: The model uses a balanced loss function: $L = \frac{1}{2}R_{sim} + \frac{1}{2}R_{exp}$. In every optimizer update, the model sees one mini-batch from simulation and one from experiment.
- Handling Heterogeneity: Simulations and experiments often have different spatial grids and different sets of variables (e.g., simulation has velocity $u, v$ and pressure $p$; experiment only has $u, v$). To handle this, the authors use MORPH, a PDE foundation model architecture that uses field-wise cross-attention. This allows the model to process whatever fields are available without needing to pad missing data with zeros or discard extra simulation variables.
- Gradient Analysis: The paper provides a mathematical explanation for why sequential fine-tuning fails. If the gradients for simulation and experiment conflict, an experiment-only update will actively increase simulation error. Joint training keeps a simulation-gradient term in every update to counteract this conflict.
Datasets
The study utilizes the RealPDEBench benchmark, focusing on four spatiotemporal fluid systems:
- Cylinder: Flow around a circular cylinder.
- Controlled Cylinder: Flow around a cylinder with active control.
- FSI (Fluid-Structure Interaction): Flow interacting with a flexible structure.
- Foil: Flow over an airfoil.
As shown in the table below, these datasets vary in their grid resolutions and available fields:
Key Insights and Ideas
- Retention vs. Adaptation: The authors argue that Sim2Real shouldn't just be about adapting to experiments; it’s a trade-off. Joint training manages this trade-off better than sequential fine-tuning.
- Preserving "Hidden" Physics: One of the most striking findings is that Joint training is much better at retaining the ability to predict pressure, a variable present in simulation but entirely absent from the experimental training data. Sequential fine-tuning essentially "breaks" the model's internal representation of pressure.
- Robustness to Weighting: While they trained with an equal 50/50 split ($\lambda = 0.5$), the authors found that the Joint model remained the top performer across a wide range of evaluation weightings (from 10% sim / 90% exp to 90% sim / 10% exp).
Key Results
The researchers compared four protocols: Simulation only, Experiment only, Sim $\rightarrow$ Exp (sequential), and Joint.
- Clean Sweep: Joint training achieved the best balanced performance in all 24 comparisons (4 datasets × 2 model sizes × 3 metrics).
- Quantitative Gains: Compared to the best non-joint protocol, Joint training reduced the balanced Root Mean Squared Error (bRMSE) by an average of 49.1%.
- Forgetting Prevented: Sequential fine-tuning (Sim $\rightarrow$ Exp) increased simulation error by a median of 335.5% compared to a simulation-only model. Joint training reduced this forgetting by 60–87%.
Limitations and Future Work
- Fixed Training Weights: The study primarily used an equal weight ($\lambda = 0.5$) during training. The authors note that exploring how sensitivity to this weight affects training-time dynamics is a path for future work.
- Local Gradient Analysis: The mathematical analysis of gradient conflict is local (first-order Taylor expansion). A more global analysis of the loss landscape could provide deeper insights.
- Evaluation Protocol: The models were trained with one-step teacher forcing but evaluated autoregressively. While this is standard for forecasting, it means the absolute error values include accumulated errors over time.
For those interested in exploring the code or the MORPH architecture, the project page is available at https://mahindrautela.github.io/morph.
Summary updated