PhysDial: Adapting Pretrained Video Models for PDE Simulation under Changing Physical Conditions
Organizations: The University of Alabama · Rutgers University · University of Pittsburgh
Abstract
Simulating how physical systems respond to changing conditions is central to control, design, and scenario studies. To our knowledge, prior PDE foundation models have not been trained or evaluated on changes within trajectories. Our counterfactual test measures how far predictions move toward a changed solver branch from the same state. Models trained on fixed conditions follow changes only partly. A PDE foundation model given a condition input after pretraining barely responds. PhysDial adapts a pretrained video diffusion transformer to eight two-dimensional PDE families. Coefficients enter with the noise level, condition fields as reference frames, and equation text as a prompt. In Kolmogorov flow, switches within trajectories account for about 5% of the training samples. At matched compute, they halve the error after a change in forcing wavenumber or amplitude. A few trajectories at new amplitudes more than halve extrapolation error. Without physics pretraining, PhysDial matches or exceeds PDE foundation models under training conditions on two turbulent flows. At step 64 on the Kolmogorov test split, PhysDial has 1.07 times the solver's small-scale energy and Walrus 7.1 times. Our experiments suggest that a learned simulator uses a condition only as far as its training data make that condition necessary for prediction. Learning from trajectories that diverge under intervention can help scientific simulators predict what would happen if a system's forcing or parameters changed.
Figures & tables
| Held-out condition (Kolmogorov flow) | no anchors | anchors |
|---|---|---|
| Anchors at amplitudes and (two seeds) | ||
| amplitude | – | – |
| amplitude and wavenumber or | – | |
| wavenumber (amplitude ) | – | – |
| Anchors at | ||
| , PhysDial (two seeds) | – | – |
Appendix figures & tables33 assets
Supplementary material from the paper’s appendix.
Appendix
| Model and stage | Training data | GPU-hours |
|---|---|---|
| PhysDial | ||
| 1 multi-family training | eight families | 60 |
| 2 anchors, periodic handling | + amplitude anchors | 20 |
| 3 switch training | + switch trajectories | 20 |
| 3 control of stage 3 | as stage 2 | 20 |
| decoder fine-tuning (one GPU) | single-quantity frames | k steps |
| Slot | Family | Training values |
|---|---|---|
| Kolmogorov, decaying | – | |
| Kolmogorov | , , and for random forcing the energy-weighted , – | |
| amplitude | Kolmogorov | (anchors , ) |
| , | Gray–Scott | 4 pattern regimes |
| , | Rayleigh–Bénard | – , – |
| , | shear flow | Re – , Sc – |
| Family | Source | Grid, boundaries | Quantities | Conditions varied in training | Step | Walrus |
|---|---|---|---|---|---|---|
| Kolmogorov flow | simulated | or (by ), doubly periodic | vorticity, with the forcing as condition field | – , or a random multi-mode forcing in the band – , and amplitude (anchors , ) | 2 | no |
| Decaying turbulence | simulated | or , doubly periodic | vorticity | – ( values) | 1 | no |
| Gray–Scott | The Well | , doubly periodic | two species | of pattern regimes | 16 | yes |
| Rayleigh–Bénard | The Well | , periodic in , walls in | buoyancy, pressure, velocity | Ra – , Pr – | 1 | yes |
| Shear flow | The Well | , doubly periodic | tracer, pressure, velocity | Re – , Sc – | 8 | yes |
| Radiative layer | The Well | , periodic in , open in | density, pressure, velocity | cooling time – ( of values) | 1 | partly |
| Family | Equation and solver |
|---|---|
| Kolmogorov flow | , with forcing or a random combination of four modes in a band of wavenumbers, and drag . The -plane term, with the velocity along , is zero except in the study of Sec. 4.4 . Pseudo-spectral solver with dealiasing, integrating-factor RK4 and a CFL time step. Random band-limited initial vorticity. After spin-up, frames are stored, eddy-turnover times apart. |
| Decaying turbulence | The same equation with and , and the same solver. Random initial vorticity with . |
| Family | Trajectories |
|---|---|
| Kolmogorov flow | main sweep with conditions ( training / validation / test). Dense axis with . Random multi-mode forcing with training. Anchors with ( for each of two amplitudes, two and four ) |
| Decaying turbulence | |
| Gray–Scott | training |
| Rayleigh–Bénard | training, test (split by initial state) |
| Shear flow | training, test (split by initial state) |
| Radiative layer | training |
| Family | Split | Held-out condition |
| Kolmogorov flow | inside | |
| below, above | , , and , , , | |
| dense , inside and outside | every fifth value of a dense axis inside the range ( values, to ) and all values outside it ( – and – , up to and times beyond the range) | |
| , | single-mode forcing at these wavenumbers | |
| multi-mode forcing | unseen random forcing patterns in the training band – | |
| forcing band – | random multi-mode forcing in this band |
| switch training | control | ratio | ||||
| Change ( ) | effect | error | error | seed 0 / 1 | ||
| inside the training range | ||||||
| wavenumber | 0.81 | 0.23 | 0.88 | 0.48 | 0.70 | 0.48 / 0.48 |
| forcing pattern | 0.78 | 0.20 | 0.95 | 0.26 | 0.94 | 0.77 / 0.79 |
| amplitude | 0.30 | 0.14–0.15 | 0.74–0.75 | 0.29 | 0.40–0.42 | 0.50 / 0.51 |
| viscosity up | 0.09 | 0.09 | 1.04–1.05 | 0.10 | 0.86–0.87 | 0.93 / 0.96 |
| PhysDial (controlled study) | Walrus + condition input (one run) | |||
|---|---|---|---|---|
| Repeated changes of | control | switch-trained | control | switch-trained |
| forcing pattern | 0.11 / 0.09 | 0.09 / 0.09 | 0.79 | 0.77 |
| forcing wavenumber and back | 0.25 / 0.24 | 0.17 / 0.17 | 0.75 | 0.72 |
| several conditions in turn | 0.19 / 0.20 | 0.09 / 0.10 | 0.73 | 0.70 |
| amplitude | 0.45 / 0.44 | 0.14 / 0.15 | 1.11 | 0.97 |
| viscosity | 0.31 / 0.28 | 0.25 / 0.30 | 0.97 | 0.88 |
| error | ||||
|---|---|---|---|---|
| Change | windows | effect | new / old | new / old |
| pattern, one several modes | 32 / 32 | 0.78 | 0.18 / 0.77 | 0.94 / 0.02 |
| wavenumber | 32 / 32 | 0.82 | 0.23 / 0.84 | 0.86 / |
| forcing band (outside) | 32 / 32 | 0.76 | 0.30 / 0.78 | 0.95 / |
| wavenumber (outside) | 32 / 32 | 0.86 | 0.31 / 0.86 | 0.78 / 0.00 |
| amplitude (outside) | 17 / 32 | 0.46 | 0.21 / 0.46 | 0.71 / 0.00 |
| Split (step 16) | switch-trained / PhysDial |
|---|---|
| Kolmogorov flow, drag | 0.74 |
| Kolmogorov flow, forcing band – | 1.34 |
| Kolmogorov flow, | 1.25 |
| Shear flow, test | 1.20 |
| error | ||
|---|---|---|
| Change | pretrained / random | pretrained / random |
| amplitude down (outside) | 0.84 / 0.73 | 0.17 / 0.31 |
| amplitude up | 0.76 / 0.60 | 0.15 / 0.26 |
| wavenumber | 0.69 / 0.53 | 0.50 / 0.58 |
| wavenumber (outside) | 0.52 / 0.37 | 0.69 / 0.76 |
| forcing pattern | 0.92 / 0.79 | 0.29 / 0.39 |
| error | ||
| Change ( ) | without / with | without / with |
| inside the training range | ||
| wavenumber | 0.70 / 0.91 | 0.57 / 0.23 |
| forcing pattern | 0.88 / 0.90 | 0.23 / 0.21 |
| amplitude | 0.59 / 0.86 | 0.21 / 0.14 |
| viscosity up | 1.16 / 1.13 | 0.12 / 0.11 |
| PhysDial | Walrus | DPOT-H | U-Net | FNO | |||||||
| Family | Split | step 4 | step 16 | step 4 | step 16 | step 4 | step 16 | step 4 | step 16 | step 4 | step 16 |
| Kolmogorov flow | test | 0.0231 | 0.0804 | 0.0278 | 0.0894 | 0.1112 | 0.3380 | 0.0222 | 0.1253 | 0.0277 | 0.0923 |
| inside | 0.0285 | 0.1033 | 0.0291 | 0.0852 | 0.1101 | 0.3140 | 0.0252 | 0.1464 | 0.0267 | 0.0795 | |
| dense , inside | 0.0200 | 0.0756 | 0.0230 | 0.0783 | 0.1114 | 0.3487 | 0.0238 | 0.1455 | 0.0221 | 0.0695 | |
| 0.0298 | 0.1114 | 0.0322 | 0.0916 | 0.1125 | 0.3481 | 0.0275 | 0.1581 | 0.0338 | 0.1235 | ||
| multi-mode forcing | 0.0403 | 0.1230 | 0.0420 | 0.1193 | 0.1300 | 0.4374 | 0.0218 | 0.1012 | 0.0381 | 0.1127 | |
| PhysDial | Walrus | DPOT-H | U-Net | FNO | |||||||
| Family | Split | step 4 | step 16 | step 4 | step 16 | step 4 | step 16 | step 4 | step 16 | step 4 | step 16 |
| Gray–Scott | test | 0.1911 | 0.3801 | 0.0754 | 0.3307 | 0.1788 | 0.3917 | 0.0526 | 0.3138 | 0.0901 | 0.3399 |
| maze | 0.1331 | 0.3213 | 0.0278 | 0.1072 | 0.1860 | 0.4179 | 0.8814 | 0.9527 | 0.3236 | 0.4818 | |
| bubbles | 0.2868 | 0.6389 | 0.0238 | 0.1322 | 0.1950 | 0.4917 | 0.5334 | 0.6909 | 0.7263 | 2.2096 | |
| Rayleigh–Bénard | test | 0.0697 | 0.2791 | 0.0336 | 0.1943 | 0.1052 | 0.3918 | 0.0277 | 0.1194 | 0.0698 | 0.2676 |
| Pr | 0.0729 | 0.2712 | 0.0355 | 0.1994 | 0.0951 | 0.3662 | 0.0368 | 0.1648 | 0.0677 | 0.2595 | |
| Family (splits) | step 4 | step 16 |
|---|---|---|
| Kolmogorov flow (14) | 2 / 5 | 0 / 8 |
| Decaying turbulence (3) | 3 / 0 | 3 / 0 |
| error, mean standard deviation | PhysDial / Walrus | PhysDial / DPOT-H | ||||||||||
| Family | Split | PhysDial | Walrus | DPOT-H | ratio | interval | wins | ratio | interval | wins | ||
| Kolmogorov flow | test | 0.0231 0.0099 | 0.0278 0.0176 | 0.1112 0.0311 | 0.91 | [0.82, 1.02] | 53 | 0.239 | 0.20 | [0.18, 0.22] | 100 | |
| inside | 0.0285 0.0085 | 0.0291 0.0100 | 0.1101 0.0177 | 1.00 | [0.96, 1.04] | 50 | 0.875 | 0.25 | [0.22, 0.28] | 100 | ||
| dense , inside | 0.0200 0.0068 | 0.0230 0.0110 | 0.1114 0.0343 | 0.92 | [0.84, 1.00] | 62 | 0.050 | 0.18 | [0.16, 0.19] | 100 | ||
| 0.0298 0.0116 | 0.0322 0.0170 | 0.1125 0.0285 | 0.99 | [0.92, 1.07] | 59 | 0.548 | 0.26 | [0.24, 0.27] | 100 | |||
| multi-mode forcing | 0.0403 0.0140 | 0.0420 0.0188 | 0.1300 0.0250 | 1.00 | [0.94, 1.06] | 50 | 0.934 | 0.30 | [0.27, 0.32] | 100 | ||
| error, mean standard deviation | PhysDial / Walrus | PhysDial / DPOT-H | ||||||||||
| Family | Split | PhysDial | Walrus | DPOT-H | ratio | interval | wins | ratio | interval | wins | ||
| Kolmogorov flow | test | 0.0804 0.0409 | 0.0894 0.0540 | 0.3380 0.1078 | 0.92 | [0.82, 1.03] | 69 | 0.032 | 0.22 | [0.20, 0.25] | 100 | |
| inside | 0.1033 0.0310 | 0.0852 0.0298 | 0.3140 0.0740 | 1.22 | [1.09, 1.38] | 22 | 0.32 | [0.30, 0.35] | 100 | |||
| dense , inside | 0.0756 0.0303 | 0.0783 0.0387 | 0.3487 0.1198 | 0.99 | [0.87, 1.13] | 50 | 0.832 | 0.21 | [0.19, 0.24] | 100 | ||
| 0.1114 0.0512 | 0.0916 0.0438 | 0.3481 0.1016 | 1.21 | [1.08, 1.39] | 34 | 0.008 | 0.30 | [0.26, 0.36] | 100 | |||
| multi-mode forcing | 0.1230 0.0364 | 0.1193 0.0328 | 0.4374 0.0827 | 1.03 | [0.95, 1.11] | 44 | 0.410 | 0.28 | [0.25, 0.30] | 100 | ||
| Family | Split | seed 0 | seed 1 | ratio |
|---|---|---|---|---|
| Kolmogorov flow | test | 0.1253 | 0.1298 | 1.04 |
| inside | 0.1464 | 0.0982 | 0.67 | |
| dense , inside | 0.1455 | 0.1450 | 1.00 | |
| 0.1581 | 0.1598 | 1.01 | ||
| multi-mode forcing | 0.1012 | 0.1066 | 1.05 | |
| below | 0.3483 | 0.3519 | 1.01 |
| step 16 | step 32 | step 64 | |||||||
| Family | Split | ours | Wal. | ours | Wal. | ours | Wal. | ratio | DPOT |
| Kolmogorov flow | test | 0.079 | 0.085 | 0.187 | 0.217 | 0.429 | 0.592 | 0.72 | 1.033 |
| inside | 0.108 | 0.083 | 0.229 | 0.202 | 0.499 | 0.551 | 0.91 | 1.064 | |
| dense , inside | 0.080 | 0.085 | 0.178 | 0.217 | 0.360 | 0.503 | 0.72 | 1.009 | |
| 0.110 | 0.094 | 0.238 | 0.239 | 0.469 | 0.591 | 0.79 | 1.089 | ||
| multi-mode forcing | 0.122 | 0.118 | 0.285 | 0.314 | 0.610 | 0.759 | 0.80 | 1.175 | |
| Family | Quantity (step 16 / 64) | PhysDial | Walrus | DPOT-H | persist. |
|---|---|---|---|---|---|
| Kolmogorov | spectrum | 0.055 / 0.14 | 0.44 / 0.85 | 0.95 / 1.12 | 0.078 / 0.14 |
| Decaying | spectrum | 0.032 / 0.067 | 0.18 / 0.51 | 0.54 / 1.15 | 0.18 / 0.49 |
| Kolmogorov | energy drift | 0.017 / 0.047 | 0.009 / 0.054 | 0.039 / 0.32 | 0.061 / 0.18 |
| Decaying | energy drift | 0.012 / 0.046 | 0.004 / 0.033 | 0.037 / 0.20 | 0.004 / 0.014 |
| largest scales, | |||||||||||||
| Family | Split | PhysDial | Walrus | DPOT-H | U-Net | FNO | autoenc. | PhysDial | Walrus | DPOT-H | U-Net | FNO | autoenc. |
| Kolmogorov flow | test | 1.01 | 1.01 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.99 | 0.95 | 1.01 | 0.99 | 1.00 |
| inside | 1.01 | 1.00 | 0.98 | 1.00 | 1.00 | 1.00 | 1.02 | 0.95 | 0.87 | 0.91 | 0.99 | 1.00 | |
| dense , inside | 1.00 | 1.00 | 0.98 | 1.00 | 1.00 | 1.00 | 1.00 | 0.98 | 0.96 | 0.99 | 1.00 | 1.00 | |
| 1.01 | 1.00 | 0.98 | 1.01 | 0.97 | 1.00 | 1.01 | 1.04 | 0.95 | 0.99 | 0.98 | 1.00 | ||
| multi-mode forcing | 1.00 | 0.99 | 0.94 | 1.00 | 1.00 | 1.00 | 1.03 | 0.99 | 0.99 | 1.00 | 1.01 | 1.00 | |
| smallest scales, | ||||||||||||||
| Family | Split | PhysDial | Walrus | DPOT-H | U-Net | FNO | autoenc. | PhysDial | Walrus | DPOT-H | U-Net | FNO | autoenc. | share |
| Kolmogorov flow | test | 1.02 | 1.04 | 0.85 | 1.03 | 0.97 | 1.00 | 0.94 | 2.20 | 8.58 | 1.18 | 0.81 | 1.00 | |
| inside | 1.03 | 0.95 | 0.71 | 0.77 | 0.95 | 0.99 | 0.99 | 1.63 | 4.29 | 0.54 | 0.77 | 0.99 | ||
| dense , inside | 0.97 | 1.04 | 0.88 | 1.02 | 0.97 | 1.00 | 0.92 | 4.35 | 23.28 | 1.06 | 0.87 | 0.99 | ||
| 1.01 | 1.14 | 0.79 | 0.98 | 0.95 | 0.99 | 0.96 | 2.75 | 7.71 | 0.95 | 0.75 | 0.99 | |||
| multi-mode forcing | 1.02 | 0.97 | 0.78 | 1.00 | 0.95 | 1.00 | 0.91 | 1.57 | 2.04 | 0.86 | 0.69 | 0.98 | ||
| Family | Split | PhysDial | Walrus | DPOT-H | PhysDial | Walrus | DPOT-H | PhysDial | Walrus | DPOT-H | PhysDial | Walrus | DPOT-H |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Kolmogorov flow | test | 1.00 | 1.00 | 1.00 | 0.99 | 1.01 | 0.96 | 0.99 | 1.00 | 0.75 | 0.88 | 1.25 | 11.46 |
| inside | 1.00 | 1.00 | 1.00 | 0.99 | 0.98 | 0.95 | 0.98 | 0.94 | 0.76 | 0.99 | 1.17 | 15.02 | |
| dense , inside | 1.00 | 1.00 | 0.99 | 0.99 | 0.99 | 0.89 | 0.99 | 1.03 | 0.88 | 0.93 | 1.71 | 25.11 | |
| 1.00 | 1.00 | 0.99 | 0.98 | 1.01 | 0.88 | 0.98 | 1.05 | 0.55 | 0.91 | 1.75 | 5.16 | ||
| multi-mode forcing | 1.00 | 1.00 | 0.99 | 0.99 | 1.00 | 0.93 | 0.99 | 1.01 | 0.62 | 0.90 | 1.11 | 1.12 | |
| Family | Split | PhysDial | Walrus | DPOT-H | PhysDial | Walrus | DPOT-H | PhysDial | Walrus | DPOT-H | PhysDial | Walrus | DPOT-H |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Kolmogorov flow | test | 1.04 | 0.99 | 0.87 | 1.06 | 1.02 | 1.01 | 1.06 | 1.26 | 0.84 | 1.07 | 7.06 | 7.56 |
| inside | 1.02 | 0.99 | 0.79 | 1.09 | 0.89 | 0.87 | 1.10 | 0.91 | 1.01 | 1.01 | 4.02 | 5.37 | |
| dense , inside | 1.03 | 1.00 | 0.91 | 1.06 | 1.05 | 1.18 | 1.02 | 1.38 | 1.37 | 1.03 | 16.41 | 26.96 | |
| 1.02 | 1.00 | 0.84 | 1.04 | 1.17 | 1.09 | 1.02 | 1.52 | 1.30 | 0.97 | 9.07 | 8.24 | ||
| multi-mode forcing | 1.01 | 0.94 | 0.66 | 1.12 | 1.08 | 0.78 | 1.17 | 1.30 | 0.88 | 0.98 | 4.26 | 2.13 | |
| Variant | Result | Interpretation |
|---|---|---|
| Decoder fine-tuning | lowers the step-1 error by ( on Kolmogorov flow) and the step-16 error by | affects only the first steps |
| Periodic handling (two seeds) | on the four doubly periodic families, / times the error without it at step 1 and / at step 16 | about lower error at step 1, more than twenty times the difference between seeds, and about lower at step 16 |
| Sampling shift instead of | times the error with shift at step 1 and at step 16, and no family has a higher error | a test-time setting |
| Random initialization, same network (first stage) | times the error (median over the splits), and it responds less to a change in of groups ( Tab. 13 ) | video pretraining lowers the error and raises the response to a change |
| B video model with LoRA, same compute | – times the error. With an equal number of training steps, it ties with the B model at times the compute | no measurable gain from a larger video prior |
| Regression instead of flow matching | at step 16, – times the error on Kolmogorov flow and times on the extrapolation split of decaying turbulence. Over long rollouts, the generative model has a – lower error | generative training helps |
| Repetition | Variation |
|---|---|
| PhysDial, last stage with another seed | change of the error per split at step 4 / step 16 with a median of / and of the splits within / . No comparison with Walrus changes. The shear-flow test split differs by at step 16 and is the only split that changes by more than |
| Walrus, last stage repeated | change of the error per split at step 4 / step 16 with of the splits within / . No split changes by more than , and no comparison changes |
| U-Net specialist, another seed | change of the step-16 error of at most on most Kolmogorov splits, unstable on decaying turbulence ( Tab. 20 ) |
| Switch training, two seeds (controlled study) | error ratios of the ten groups differ by at most , and four of the five groups with repeated changes reproduce |
| Anchors, two seeds | extrapolation cost at amplitude of – in both, with the same sign of the side effect on the wavenumber split. No Kolmogorov split changes by more than |