Generative Refinement Learning for Temporal Interpolation in Scientific Machine Learning
Organizations: Lawrence Berkeley National Lab · International Computer Science Institute · University of California, Berkeley
Abstract
Computationally expensive simulations and real-world observations often provide data at a lower temporal resolution than downstream tasks require. Averaging observations at fixed grid points can introduce errors, and motion estimates alone do not determine how the physical field values change. In this work, we study whether learning to correct a simple numerical interpolation improves the reconstruction of intermediate scientific fields. Our model, interpolative FLow EXpert (iFLEX), first estimates the missing field by taking a weighted average of the two observations at each grid point, giving more weight to the observation closer to the requested time. During training, subtracting this estimate from an observed intermediate field gives the residual that a conditional diffusion model learns to generate. Both observations condition the model, together with the target time, the interval between observations, and available physical parameters. To reconstruct an unobserved intermediate field, the generated residual is added to the weighted average. We evaluate iFLEX on Navier-Stokes Kraichnan turbulence, Shanghai radar precipitation, and sea surface temperature. Across these datasets, iFLEX achieves lower reconstruction error than the evaluated baselines, including optical-flow and diffusion models developed for video frame interpolation in computer vision. In a controlled turbulence comparison at a Reynolds number of 36,000, learning the residual reduces relative Frobenius norm error from about 13.7 for direct field generation to 10.5, with the diffusion backbone and training setup held fixed. Code is available at https://github.com/paulpuren/iflex.
Figures & tables
| Method | #Params [M] | IT [ms] | RFNE | PC | SSIM | RFNE | PC | SSIM | RFNE | PC | SSIM |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Linear Interp. | – | 0.37 | 32.12% | 0.93 | 0.43 | 39.55% | 0.90 | 0.35 | 43.96% | 0.88 | 0.30 |
| U-Net | 260.33 | 29.41 | 39.54% | 0.92 | 0.41 | 50.97% | 0.88 | 0.27 | 59.94% | 0.83 | 0.18 |
| EDEN | 194.00 | 9.53 | 13.15% | 0.99 | 0.82 | 20.14% | 0.98 | 0.71 | 25.52% | 0.96 | 0.63 |
| Super SloMo | 39.59 | 3.54 | 13.20% | 0.99 | 0.83 | 18.38% | 0.98 | 0.74 | 22.87% | 0.97 | 0.67 |
| iFLEX | 110.4 | 35.39 | 4.11% | 1.00 | 0.96 | 7.10% | 1.00 | 0.92 | 10.48% | 0.99 | 0.87 |
| Shanghai Radar Data | Sea Surface Temperature | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | #Params [M] | IT [ms] | RFNE | PC | SSIM | IT [ms] | RFNE | PC | SSIM |
| Linear Interp. | – | 0.09 | 47.78% | 0.84 | 0.79 | 0.12 | 1.94% | 0.99 | 0.83 |
| U-Net | 260.33 | 13.25 | 48.51% | 0.85 | 0.82 | 13.27 | 2.29% | 0.996 | 0.80 |
| EDEN | 194.00 | 2.32 | 56.54% | 0.77 | 0.77 | 2.45 | 2.48% | 0.996 | 0.77 |
| Super SloMo | 39.59 | 1.45 | 36.77% | 0.91 | 0.87 | 1.45 | 2.28% | 0.996 | 0.79 |
| iFLEX | 110.4 | 10.53 | 33.52% | 0.92 | 0.87 | 9.35 | 1.81% | 0.998 | 0.87 |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Evaluation | Resolution | (Training, Validation, Test) | Observed field | Evaluated |
|---|---|---|---|---|---|
| NSKT | 20 | Vorticity | – | ||
| Shanghai Radar | 8 | Precipitation | – | ||
| Sea Surface Temperature | 10 | Temperature | – |
| Dataset | Epochs | Batch size | Learning rate | Optimizer |
|---|---|---|---|---|
| NSKT | 150 | 48 | Adam | |
| Shanghai | 400 | 48 | Adam | |
| SST | 50 | 64 | Adam |
| Dataset | Epochs | Batch size | Learning rate | Optimizer |
|---|---|---|---|---|
| NSKT | 200 | 256 | Adam | |
| Shanghai | 400 | 128 | Adam | |
| SST | 200 | 128 | Adam |
| Dataset | VAE | DiT | Optimizer | ||||
|---|---|---|---|---|---|---|---|
| Epochs | Batch | LR | Epochs | Batch | LR | ||
| NSKT | 300 | 48 | 300 | 48 | AdamW | ||
| Shanghai | 300 | 256 | 400 | 256 | AdamW | ||
| SST | 100 | 256 | 50 | 256 | AdamW | ||
| Dataset | Epochs | Batch size | Learning rate | Optimizer |
|---|---|---|---|---|
| NSKT | 150 | 48 | Adam | |
| Shanghai | 300 | 48 | Adam | |
| SST | 50 | 128 | Adam |
| Intermediate states | Model | RFNE | SSIM | PC |
|---|---|---|---|---|
| 4 | Linear interpolation | 36.85% | 0.85 | 0.91 |
| iFLEX | 21.08% | 0.93 | 0.97 | |
| 8 | Linear interpolation | 47.78% | 0.79 | 0.84 |
| iFLEX | 33.52% | 0.87 | 0.92 | |
| 12 | Linear interpolation | 55.02% | 0.76 | 0.79 |
| iFLEX | 40.42% | 0.84 | 0.89 |
| Model | RFNE (%) | SSIM | PC | |
|---|---|---|---|---|
| 12000 | PIT-UNet | 7.81 | 0.88 | 1.00 |
| iFLEX | 4.11 | 0.96 | 1.00 | |
| 24000 | PIT-UNet | 12.23 | 0.80 | 0.99 |
| iFLEX | 7.10 | 0.92 | 1.00 | |
| 36000 | PIT-UNet | 15.94 | 0.74 | 0.98 |
| iFLEX | 10.48 | 0.87 | 0.99 |
| Reynolds number | Method | RFNE (%) | PC | SSIM |
|---|---|---|---|---|
| iFLEX | 0.50 | 1.00 | 1.00 | |
| Endpoint-only | 0.55 | 1.00 | 0.99 | |
| iFLEX | 0.73 | 1.00 | 0.99 | |
| Endpoint-only | 0.79 | 1.00 | 0.99 | |
| iFLEX | 4.11 | 1.00 | 0.96 | |
| Endpoint-only | 3.99 | 1.00 | 0.96 |
| Method | RFNE (%) | SSIM | PC | |
|---|---|---|---|---|
| 2000 | Linear interpolation | 10.97 | 0.805 | 0.991 |
| U-Net | 20.85 | 0.725 | 0.983 | |
| EDEN | 3.11 | 0.948 | 0.999 | |
| Super SloMo | 4.36 | 0.956 | 0.999 | |
| PIT-UNet | 2.76 | 0.964 | 1.000 | |
| iFLEX | 1.21 | 0.989 | 1.000 |
| Method | RFNE (%) | SSIM | PC | |
|---|---|---|---|---|
| 12,000 | Linear interpolation | 32.12 | 0.433 | 0.932 |
| U-Net | 39.54 | 0.414 | 0.921 | |
| EDEN | 13.15 | 0.815 | 0.989 | |
| Super SloMo | 13.20 | 0.826 | 0.989 | |
| PIT-UNet | 7.81 | 0.880 | 0.996 | |
| iFLEX | 4.11 | 0.957 | 0.999 |
| Direction | Method | RFNE (%) | SSIM | PC | |
|---|---|---|---|---|---|
| 600 | Lower | Linear interpolation | 2.18 | 0.977 | 1.000 |
| U-Net | 43.19 | 0.622 | 0.990 | ||
| EDEN | 1.55 | 0.970 | 1.000 | ||
| Super SloMo | 1.80 | 0.986 | 1.000 | ||
| PIT-UNet | 2.35 | 0.972 | 1.000 | ||
| iFLEX | 0.50 | 0.995 | 1.000 |
| iFLEX | EDEN | EDEN+ | Super SloMo | Super SloMo+ | |
|---|---|---|---|---|---|
| 600 | 0.50% | 1.55% | 1.27% | 1.80% | 1.95% |
| 1,000 | 0.73% | 1.81% | 1.46% | 2.54% | 2.70% |
| 12,000 | 4.11% | 13.15% | 11.67% | 13.20% | 14.22% |
| 24,000 | 7.10% | 20.14% | 18.43% | 18.38% | 19.85% |
| 36,000 | 10.48% | 25.52% | 23.67% | 22.87% | 24.26% |
| Test seeds | RFNE (%) | |
|---|---|---|
| 8,000 | 3407, 1000 | |
| 12,000 | 3407, 1000 | |
| 32,000 | 3407, 987 |
Scientific ML
Scientific machine learning combines data-driven models with scientific knowledge to analyze, predict, and simulate complex systems.
See all 122 papers