TL;DR
VideoPDE reframes diverse partial differential equation (PDE) problems—forward simulation, inverse parameter recovery, and sparse sensor reconstruction—as a unified generative video inpainting task. By coupling a hierarchical pixel-space diffusion transformer with simple channel-wise observation conditioning, it achieves up to an order-of-magnitude error reduction over state-of-the-art neural baselines while generating calibrated spatiotemporal uncertainty maps.
What Problem Does This Paper Address?
Scientific computing increasingly relies on machine learning to accelerate or invert PDE-governed systems, but existing paradigms each carry substantial trade-offs:
- Physics-Informed Neural Networks (PINNs) can handle sparse observations, but suffer from severe optimization instability and poor scalability.
- Neural Operators (such as FNO, PINO, and DeepONet) are fast, but typically assume complete, regularly sampled grids and cannot adapt to irregular, partial observations.
- Prior Generative Solvers (e.g., DiffusionPDE) handle partial observations via test-time guidance like Diffusion Posterior Sampling (DPS), but these require delicate tuning, are extremely slow (~hour-scale inference), and focus primarily on static or two-frame snapshots rather than dense temporal evolution.
Crucially, researchers typically deploy separate, task-specific architectures for forward forecasting, inverse problem solving, and sensor field reconstruction. The authors ask: Can a single generative architecture solve all these tasks across arbitrary observation patterns without task-specific engineering?
Methods
The authors formulate PDE solution trajectories as spatiotemporal video volumes $x \in \mathbb{R}^{H \times W \times T \times C}$, where $H \times W$ is the spatial grid, $T$ is time, and $C$ is the field channel count. Every PDE task is cast as conditional video inpainting:
+-------------------------------------------------------------+
| Input: [ Noisy State (x_t), Binary Mask (m), Observed (y) ] |
+-------------------------------------------------------------+
│
▼
+──────────────────────────────────────────+
| Hierarchical Video DiT (HV-DiT) |
| - 3D Neighborhood Local Attention |
| - Multi-scale Patch Merging (U-Net) |
| - Global Attention at Bottleneck |
| - Direct Pixel-Space Diffusion (EDM) |
+──────────────────────────────────────────+
│
▼
+-------------------------------------------------------------+
| Output: Reconstructed Dense Spatiotemporal Solution Field |
+-------------------------------------------------------------+
Key technical elements include:
- Architectural Conditioning over Score Guidance: Rather than using costly test-time optimization (like DPS), VideoPDE directly concatenates the noisy state $x_t$, a binary mask $m$, and the masked observations $y = x \odot m$ along the channel dimension.
- Pixel-Space Denoising: Unlike standard video diffusion models that run in a VAE latent space, VideoPDE performs diffusion directly in pixel space. This avoids the loss of high-frequency physical fidelity typical of perceptual latent encoders.
- Hierarchical Video Diffusion Transformer (HV-DiT): To handle high-dimensional pixel-space video sequences, the architecture tokenizes spatiotemporal patches ($4 \times 4 \times 2$) and uses local 3D neighborhood attention to respect local physics. A multi-scale downsampling and upsampling path (with skip connections) uses global attention only at the coarsest bottleneck.
- Uncertainty Quantification: Running multiple reverse diffusion trajectories with varying random seeds yields per-pixel standard deviation maps, highlighting dynamically sensitive regions (e.g., turbulent eddies).
Datasets
The authors evaluate VideoPDE across diverse physics regimes:
- Five Synthetic PDE Benchmarks:
- Wave-Layer: Second-order acoustic wave equation with layered, variable propagation speeds and absorbing boundaries (adapted from Poseidon).
- Navier–Stokes: 2D incompressible fluid dynamics in vorticity form with weak, static forcing and viscous decay ($128 \times 128 \times 20$).
- Kolmogorov Flow: Forced Navier–Stokes exhibiting sustained, chaotic, quasi-turbulent flow ($256 \times 256 \times 20$).
- Allen–Cahn: Nonlinear reaction–diffusion dynamics with slow-moving phase interfaces.
- Inhomogeneous Helmholtz Equation: Static elliptic PDE, solved by casting coefficient and solution fields as two temporal frames.
- Real-World Dataset:
- ERA5 Reanalysis: Global atmospheric 2-meter temperature reanalysis cropped to North America ($128 \times 128$ and $256 \times 256$ slices).
Key Insights and Ideas
- PDE Solving Unifies Naturally as Inpainting: Forward prediction is simply inpainting future frames conditioned on $t=0$; inverse prediction is inpainting past frames conditioned on $t=T$; continuous sensor estimation is inpainting unobserved spatial coordinates across all time frames.
- Latent Diffusion Fails for Physical Precision: Ablations revealed that switching to a latent diffusion model spiked relative error from 0.44% to 7.13% on Navier–Stokes. In scientific modeling, latent perceptual compression discards fine-grained conserved quantities.
- Explicit Mask Concatenation Resolves Ambiguity: Providing the binary mask $m$ explicitly alongside masked observations $y$ dropped error from 50.77% (mixed tokens) to 0.44%. The mask eliminates ambiguity between zero-valued observations and unobserved regions.
- Single Unified Models Match Dedicated Solvers: A single VideoPDE checkpoint trained jointly across 6 distinct masking patterns achieved accuracy competitive with models trained exclusively on individual subtasks.
Key Results
- Continuous Partial Observation (Sparse Sensors):
- On Navier–Stokes with only 1% sensor coverage, VideoPDE achieves 0.80% relative $\ell_2$ error, outperforming DiffusionPDE (4.7%) and Zhuang et al. (12.7%). At 3% observation, error drops to 0.44%.
- On Kolmogorov Flow at 1% observation, VideoPDE achieves 6.48% error vs. 20.3% for DiffusionPDE.
- Forward & Inverse Tasks:
- Forward Navier–Stokes prediction reaches 0.45% error (compared to 2.71% for FNO and 6.1% for DiffusionPDE).
- Forward Wave-Layer reaches 1.21% error (vs. 35.34% for FNO).
- Inference Speed:
- Sampling VideoPDE takes 9.3 seconds, compared to 4,480 seconds for DiffusionPDE and 5,760 seconds for Shu et al., representing a ~500× speedup over guidance-based generative baselines.
- Extreme Inverse Problems: Reconstructing an entire trajectory from just 3% spatial observations at the final timestep ($t=T$) yields 1.40% forward and 11.81% inverse error on Wave-Layer.
Limitations and Future Work
- Long-Horizon Autoregressive Drift: When unrolling predictions over 100 frames via autoregressive chunking, error accumulates over time due to the lack of explicit, hard-coded PDE conservation constraints.
- Evaluation Metrics: The study relies primarily on pixel-wise $\ell_2$ error, which penalizes plausible multimodal predictions in chaotic or diffusive regimes (favoring blurry averages over physically realistic realizations).
- Spatial Dimensionality & Discretization: The current framework is limited to 2D spatial domains (+ time). Scaling to 3D volumetric physics presents substantial memory challenges. Furthermore, it operates on uniform Cartesian grids, leaving support for unstructured meshes or adaptive grids to future work.
Summary updated