Discovering Latent Causal Graphs from Spatiotemporal Data

Kun Wang, Sumanth Varambally, Duncan Watson-Parris, Yi-An Ma, Rose Yu
11/8/2024
cs.LGstat.ML

Official code: Rose-STL-Lab/SPACY (18 stars, last commit 2025-07-08).

Abstract

Many important phenomena in scientific fields like climate, neuroscience, and epidemiology are naturally represented as spatiotemporal gridded data with complex interactions. Inferring causal relationships from these data is a challenging problem compounded by the high dimensionality of such data and the correlations between spatially proximate points. We present SPACY (SPAtiotemporal Causal discoverY), a novel framework based on variational inference, designed to model latent time series and their causal relationships from spatiotemporal data. SPACY alleviates the high-dimensional challenge by discovering causal structures in the latent space. To aggregate spatially proximate, correlated grid points, we use spatial factors, parametrized by spatial kernel functions, to map observational time series to latent representations. Theoretically, we generalize the problem to a continuous spatial domain and establish identifiability when the observations arise from a nonlinear, invertible function of the product of latent series and spatial factors. Using this approach, we avoid assumptions that are often unverifiable, including those about instantaneous effects or sufficient variability. Empirically, SPACY outperforms state-of-the-art baselines on synthetic data, even in challenging settings where existing methods struggle, while remaining scalable for large grids. SPACY also identifies key known phenomena from real-world climate data. An implementation of SPACY is available at https://github.com/Rose-STL-Lab/SPACY/

View on arXivView PDF

Code Implementations(1)

Rose-STL-Lab/SPACYOfficial100%
183Shell, CythonJun 17, 20251 years ago

Similar Papers

Cite this paper

@article{wang2024discovering,
  title  = {Discovering Latent Causal Graphs from Spatiotemporal Data},
  author = {Kun Wang and Sumanth Varambally and Duncan Watson-Parris and Yi-An Ma and Rose Yu},
  year   = {2024},
  eprint = {2411.05331},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.05331v3},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.05331.svg)](https://codeofpaper.com/paper/2411.05331)

Discussion