Foundation Models for Spatio-Temporal Data Science: A Tutorial and Survey

Yuxuan Liang, Haomin Wen, Yutong Xia, Ming Jin, Bin Yang, Flora Salim, Qingsong Wen, Shirui Pan, Gao CongKDD 2025 · DOI

Abstract

Spatio-temporal (ST) data science is undergoing a paradigm shift from task-specific deep learning models to general-purpose Spatio-Temporal Foundation Models (STFMs). This paper surveys the emergence of STFMs, categorizing them into Large Language Model (LLM)-based approaches and custom Pretrained Foundation Models (PFMs). We explore how these models revolutionize the ST data lifecycle—encompassing sensing, management, and mining—and discuss their capabilities in perception, reasoning, and optimization. By synthesizing current state-of-the-art results and identifying key challenges, this work provides a roadmap for the next generation of intelligent ST systems.

Introduction

Spatio-temporal data, such as GPS trajectories, weather patterns, and traffic flows, are characterized by high dimensionality, heterogeneity, and complex dependencies across space and time. Traditional modeling approaches, primarily Spatio-Temporal Graph Neural Networks (STGNNs), are often limited by their task-specific nature, high demand for labeled data, and lack of interpretability. They are typically "one-trick ponies" designed for single tasks like traffic forecasting. The rise of Foundation Models offers a path toward more scalable, generalizable, and "intelligent" ST analysis that can explain why events occur rather than just predicting what will happen.

Methodological Framework

The landscape of STFMs is divided into two primary methodological branches: LLM-based models and custom PFMs, integrated into a broader data science lifecycle.

The ST Data Science Lifecycle illustrating how STFMs (LLMs and PFMs) are obtained from diverse data and applied to enhance sensing, management, and mining stages.

1. LLM-based Models

These leverage the pre-existing knowledge of models like GPT-4 or Llama. They are applied through:

  • Zero-shot/Few-shot Learning: Utilizing prompt engineering and "Agentic Engineering" (equipping models with tools and memory) to solve ST tasks without retraining.
  • Fine-tuning: Employing techniques like Low-Rank Adaptation (LoRA) to align linguistic reasoning capabilities with numerical ST data.

2. Pretrained Foundation Models (PFMs)

These are purpose-built for ST data from the ground up. They utilize architectures such as Transformers for sequences, Diffusion models for generating realistic trajectories, and Graph-based models for road networks. Training typically involves generative objectives (e.g., masked data prediction) or contrastive objectives to learn robust spatial patterns.

Data Modalities and Benchmarks

ST data manifests in various forms, each presenting unique challenges for foundation models. The survey highlights the diversity of these modalities and the emergence of new benchmarks like STBench to evaluate spatial and temporal logic.

Common spatio-temporal data modalities: (a) Location, (b) Trajectory, (c) Event, (d) Spatio-Temporal Raster, and (e) Spatio-Temporal Graph.
  • Location & Trajectory: Point-based data and sequences of movements (e.g., OpenStreetMap, UniTraj).
  • Events: Discrete occurrences over time, such as human activities.
  • ST Raster & Graphs: Grid-based representations (e.g., global climate data used in Pangu-Weather) and network-based structures like road systems.

Key Insights and Results

  • The "Full-Stack" AI Agent: A significant shift is occurring where LLMs act as autonomous agents. Instead of merely running a forecast, an LLM agent can identify data quality issues, call cleaning tools, run simulations, and explain results in natural language.
  • Numerical Precision vs. World Knowledge: There is a trade-off between LLMs and PFMs. LLMs possess "world knowledge" (e.g., understanding that a holiday affects traffic) but may struggle with arithmetic. PFMs are "math wizards" that handle raw sensor data perfectly but lack human-centric context.
  • State-of-the-Art Performance: Models like Pangu-Weather and GraphCast have outperformed traditional numerical weather prediction systems in both speed and accuracy. Furthermore, models like UniST and Chronos demonstrate remarkable zero-shot generalization, performing well on entirely new cities or datasets without additional training.

Future Directions

Despite rapid progress, several roadblocks remain. The "Interpretability Paradox" suggests that as models become more accurate, they often become less explainable. Additionally, specialized "small expert" models still outperform massive foundation models in data-rich, narrow scenarios. The ultimate goal is the development of Multimodal STFMs capable of simultaneously processing satellite imagery, sensor logs, and textual reports to provide a holistic understanding of our world.

Summary updated

BibTeX
@inproceedings{liang2025foundation,
  author = {Yuxuan Liang and Haomin Wen and Yutong Xia and Ming Jin and Bin Yang and Flora Salim and Qingsong Wen and Shirui Pan and Gao Cong},
  title = {{Foundation Models for Spatio-Temporal Data Science: A Tutorial and Survey}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3711896.3736552},
}
Figure