Learning Spatio-Temporal Foundation Models from Pure Synthetic Data

Yutong Feng, Shiyuan Piao, Yutong Xia, Xu Liu, Wenqi Fan, Fugee Tsung, See-Kiong Ng, Yuxuan LiangarXiv 2026

TL;DR

NeoST is the first Spatio-Temporal Foundation Model (STFM) pre-trained solely on procedurally generated synthetic data, completely bypassing the distributional biases and noise of real-world datasets. By combining a scalable synthetic data engine with a non-autoregressive latent-space reasoning architecture, NeoST achieves state-of-the-art zero-shot forecasting accuracy and superior long-horizon stability across diverse real-world benchmarks.

What Problem Does This Paper Address?

Spatio-Temporal Foundation Models (STFMs) aim to learn universal representations of complex dynamical systems (like traffic flows, weather patterns, or power grids) across space and time. However, existing STFMs face three fundamental bottlenecks:

  1. Data Bias and Quality: Gathering large-scale real-world data often leads to models that overfit to specific sensor layouts or regional patterns (e.g., urban traffic). Furthermore, real-world data is frequently corrupted by sensor noise and missing values.
  2. Architectural Limitations: Most current models rely on autoregressive generation (which suffers from error accumulation over long horizons) or diffusion processes (which are computationally too slow for real-time deployment).
  3. Superficial Objectives: Standard point-wise reconstruction losses force models to focus on local, noisy fluctuations rather than the underlying global structural dynamics. They also lack the ability to adapt to distribution shifts at inference time.
Figure 1: Comparison of Paradigms: NeoST vs. Recent STFM.

Methods

The authors introduce NeoST, which tackles these challenges through a novel data-and-architecture paradigm:

  • Procedural Synthetic Data Engine: Instead of real data, NeoST trains on a purely synthetic corpus. It generates random graph topologies (using Erdős-Rényi and Poisson models) and simulates complex spatio-temporal dynamics using a stochastic recurrence formula that incorporates both drift and diffusion terms. Crucially, the generator parameters are randomized for every single sample, creating an expansive manifold of diverse dynamical behaviors.
  • Spatio-Temporal Encoder: Transforms raw observations into patch-level embeddings and alternates between intra-node temporal attention (using Rotary Position Embeddings) and inter-node spatial propagation to capture relational dependencies without self-collapse.
  • Hierarchical Latent Reasoner: Rather than predicting the future step-by-step, this module generates multiple candidate future trajectories directly in the latent space. It refines these predictions using a coarse-to-fine pipeline consisting of multi-scale predictors, context-conditioned token refinement, and an encoder-decoder trajectory alignment mechanism.
  • Latent Alignment Loss (LAL) & Test-Time Adaptation (TTA): The training objective balances observation reconstruction with a latent space alignment loss (via PCA projection). At inference time, a ridge-regression-based TTA module uses incoming historical observations to dynamically calibrate the mapping from latent space back to the observation space, mitigating distribution shifts.
Figure 2: Synthetic data pipeline.

Datasets

  • Pre-training: Purely synthetic data generated on-the-fly (1,000 distinct graph-coupled stochastic sequences per epoch, with dynamically sampled graph sizes from 64 to 512 nodes).
  • Evaluation: Six classic real-world spatio-temporal benchmarks evaluated in a strict zero-shot setting: PEMS03, PEMS04, PEMS07, PEMS08 (traffic flow), PEMS-BAY, and METR-LA (traffic speed).

Key Insights and Ideas

  • The Power of Pure Synthesis: t-SNE visualizations reveal that the procedurally generated synthetic data forms an expansive, continuous manifold that completely envelopes the localized clusters of real-world test sets. This proves that training on diverse, clean synthetic dynamics equips the model with universal structural priors that generalize better than biased real-world data.
  • Decoupling Generation from Reasoning: By performing multi-step global reasoning entirely within the latent space, NeoST avoids the compounding errors typical of autoregressive models, leading to remarkably stable long-horizon forecasts.
  • Abstracting the Loss: Computing losses in the latent space forces the foundation model to prioritize macroscopic evolutionary dynamics (trends, periodicities) over superficial, noisy value-level details.

Key Results

NeoST was evaluated against leading STFMs (like OpenCity and FactoST) and Time Series Foundation Models (like TimesFM and Moirai):

  • Zero-Shot Dominance: NeoST outperformed all baselines in 10 out of 12 evaluated settings across the six real-world datasets.
  • Long-Horizon Stability: In challenging 96-step-ahead forecasting, NeoST lowered the Mean Absolute Error (MAE) by significant margins compared to the strongest baselines (e.g., achieving an MAE of 84.49 on PEMS03 compared to FactoST's 113.62).
  • Inference Efficiency: With 89.26M parameters, NeoST achieves an inference time of 24.0 seconds on PEMS03—matching the computational footprint of models like MOIRAI while delivering substantially better accuracy, and running vastly faster than TimesFM (470.1 seconds).

Limitations and Future Work

The authors identify three main areas for improvement:

  • Sim-to-Real Gap: The synthetic engine currently assumes simplified graph topologies (Erdős-Rényi/Poisson) and Gaussian noise. Real-world networks often exhibit scale-free properties and heavy-tailed anomalies, which future iterations aim to model using Barabási-Albert graphs and Lévy flights.
  • TTA Computational Complexity: The Test-Time Adaptation mechanism relies on a ridge regression closed-form solution involving matrix inversion, which scales cubically ($O(M^3)$). This poses a latency bottleneck for ultra-large-scale spatial networks.
  • Deterministic Focus: NeoST currently provides point forecasts. The authors plan to extend the output adapter to support probabilistic forecasting and uncertainty quantification for risk-sensitive applications.

Summary updated

BibTeX
@misc{feng2026learning,
  author = {Yutong Feng and Shiyuan Piao and Yutong Xia and Xu Liu and Wenqi Fan and Fugee Tsung and See-Kiong Ng and Yuxuan Liang},
  title = {{Learning Spatio-Temporal Foundation Models from Pure Synthetic Data}},
  year = {2026},
  eprint = {2607.16251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.16251},
}
Figure