Spatiotemporal Forecasting as Planning: A Model-Based Reinforcement Learning Approach with Generative World Models

Hao Wu, Yuan Gao, Xingjian Shi, Shuaipeng Li, Fan Xu, Fan Zhang, Zhihong Zhu, Weiyan Wang, Xiao Luo, Kun Wang, Xian Wu, Xiaomeng Huang · Submission to ICLR 2026 · Rejected

TL;DR

Conventional AI models for spatiotemporal physical forecasting rely on pixel-wise differentiable losses (like MSE), which smooth out extreme events and violate physical conservation laws. Spatiotemporal Forecasting as Planning (SFP) reframes forecasting through Model-Based Reinforcement Learning (MBRL): a generative world model explores diverse future trajectories, a beam-search planner scores them against non-differentiable scientific metrics (e.g., Critical Success Index or turbulent energy spectra), and the best candidate serves as a pseudo-label to guide policy self-training.

What Problem Does This Paper Address?

Data-driven forecasting models—ranging from CNNs and Transformers to Neural Operators—increasingly replace or augment numerical simulations in weather forecasting, climate modeling, and fluid dynamics. However, they suffer from a fundamental disconnect: while models are trained using simple, differentiable proxy losses such as Mean Squared Error (MSE), real-world physical performance depends on domain-specific, non-differentiable metrics.

These include:

  • Critical Success Index (CSI) for tracking rare, high-impact weather events;
  • Turbulent Kinetic Energy (TKE) spectrum error for preserving physical consistency across spatial scales in fluids;
  • Structural Similarity Index (SSIM) for tracking complex combustion flame fronts.

Because gradient descent cannot directly optimize non-differentiable metrics, models tend to produce overly smooth predictions, underestimate extremes, and distort physical energy cascades—particularly when training data is scarce.

Methods

The authors propose SFP, an MBRL framework that treats forecasting as an active decision-and-planning loop via two decoupled stages:

[ Current State s_t ] 
          │
          ▼
    [ Agent π_θ ] ──(Latent Action a_t)──► [ Frozen Generative World Model M_ϕ ]
          ▲                                                │
          │                                      (Beam Search Exploration)
          │                                                ▼
          │                                  [ Diverse Future Trajectories ]
          │                                                │
          │                                    (Reward Function S(·):
          │                                     e.g., CSI, TKE Error)
          │                                                ▼
[ Policy Self-Update (MSE Loss) ] ◄─── [ Best-Scoring Future ŷ*_{t+1} (Pseudo-label) ]
  1. Stage 1: Generative World Model ($M_\phi$):
  2. Built as a Conditional Vector-Quantized Variational Autoencoder (VQ-VAE).
  3. A multi-scale encoder projects future states into a continuous latent space, discretized against a learned codebook ($L=1024$ vectors).
  4. A conditional decoder fuses the quantized representation with historical context features $c_t = C_\phi(s_t)$. Once trained, its parameters are frozen to serve as a stable physical simulator.
  5. Stage 2: Planning and Self-Training Loop:
  6. Agent / Policy ($\pi_\theta$): The base forecasting model acts as an agent, producing a continuous latent action $a_t = \pi_\theta(s_t)$ representing its predictive intention.
  7. Beam Search Planning: Conditioned on $a_t$, the frozen world model navigates the latent space to expand and maintain a beam of $B$ plausible trajectories ($B=10$).
  8. Metric as Reward (RLMF): Trajectories are scored directly by the non-differentiable domain metric $S(\cdot)$ (termed Reinforcement Learning from Metric Feedback).
  9. Policy Update via Pseudo-Labeling: The highest-reward sequence $\hat{y}^*_{t+1}$ acts as a supervision target. A lightweight projector maps $a_t$ back to physical space, updating $\pi_\theta$ via standard gradient descent on MSE.

Datasets

The authors evaluated SFP across five benchmarks spanning real-world data and synthetic physical systems:

  • SEVIR: Storm event imagery dataset for extreme weather nowcasting.
  • Marine Heatwave Dataset: Sea-surface temperature anomalies used to test low-data regimes.
  • PDEBench: Classical physical partial differential equation benchmarks, specifically 2D Navier-Stokes Equations (NSE), Shallow Water Equations (SWE), and Rayleigh-Bénard Convection (RBC).
  • Prometheus: High-fidelity computational fluid dynamics (CFD) simulation modeling turbulent building fires and combustion.

These were tested across ten diverse backbones: ResNet, ConvLSTM, Earthformer, SimVP-v2, TAU, Earthfarseer, FNO, NMO, CNO, and FourCastNet.

Key Insights and Ideas

  • Decoupling Exploration from Exploitation: Adapting preference optimization (like DPO) directly to high-dimensional continuous pixel dynamics causes training collapse. Decoupling the system—letting the world model generate physical futures and using the planner's top pick as a standard pseudo-label—stabilizes policy updates.
  • Metric Feedback as Exploration Guidance: By turning non-differentiable evaluation criteria directly into reward signals, models learn domain-critical features (e.g., small-scale vortex dynamics) that MSE gradients typically wash away.
  • Mitigating Data Scarcity via Simulation: When real training data drops as low as 10%, SFP's advantage over standard baselines widens, because planning inside the world model generates synthetic high-reward pseudo-labels that compensate for scarce ground truth.

Key Results

  • Domain Metrics:
  • On SEVIR, SFP boosted average CSI by +29.7% (and reduced MSE by 34.9%).
  • On the turbulent NSE benchmark, SFP slashed TKE spectrum error by -57.3% on average (reaching a -77.9% reduction on Earthformer).
  • On Prometheus combustion, SSIM improved by +11.5% with a 33.6% drop in MSE.
  • Extreme Events: In marine heatwave forecasting, SFP accurately captured intense localized cores at day 10 that supervised baselines missed entirely.
  • Probabilistic Skill: Formed as an ensemble across beam candidates, SFP achieved lower Continuous Ranked Probability Scores (CRPS) than the specialized diffusion model PreDiff.
  • Long-term Rollouts: On Shallow Water Equations (predicting 50 frames from 5 input frames), SFP consistently reduced relative $L_2$ errors for velocity fields ($u, v$) and water height ($h$).

Limitations and Future Work

  • Inference Latency Overhead: Beam search forward-exploration inside the world model introduces substantial inference latency (e.g., increasing runtime from ~150–880 ms in baseline models to ~1,250–7,500 ms with $B=10$).
  • Computational Cost: SFP introduces an extra training phase for the generative world model, moderately increasing model parameters and training time by roughly $1.4\times$.
  • Evaluation Breadth: Due to computational resource constraints, multi-run statistical significance tests were reported across three backbones and two datasets rather than the full suite of benchmarks.

Summary updated

BibTeX
@misc{wu2025spatiotemporal,
  author = {Hao Wu and Yuan Gao and Xingjian Shi and Shuaipeng Li and Fan Xu and Fan Zhang and Zhihong Zhu and Weiyan Wang and Xiao Luo and Kun Wang and Xian Wu and Xiaomeng Huang},
  title = {{Spatiotemporal Forecasting as Planning: A Model-Based Reinforcement Learning Approach with Generative World Models}},
  year = {2025},
  eprint = {2510.04020},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04020},
}
Figure