Spatio-temporal Diffusion Point Processes

Yuan Yuan, Jingtao Ding, Chenyang Shao, Depeng Jin, Yong Li · DOI

Introduction

Spatio-Temporal Point Processes (STPPs) serve as the mathematical foundation for analyzing event sequences defined by both a timestamp ($t$) and a location ($s$). From predicting seismic aftershocks and the spread of infectious diseases to managing urban mobility through taxi demand forecasting, the ability to accurately model the joint distribution of "when" and "where" is critical.

Historically, modeling this joint probability has been computationally prohibitive. To maintain tractability, most existing frameworks rely on a simplifying assumption: that time and space are conditionally independent. By modeling temporal and spatial components through separate functions, these models often fail to capture the complex "entanglement" inherent in real-world data—where the likelihood of an event at a specific location is often deeply dependent on the specific time it occurs.

The DSTPP Framework

Researchers from Tsinghua University have introduced Spatio-Temporal Diffusion Point Processes (DSTPP), the first framework to apply denoising diffusion models to STPPs. By leveraging the generative capabilities of diffusion models—similar to those powering state-of-the-art image generation—DSTPP avoids the pitfalls of the independence assumption.

Core Architecture

The DSTPP model operates through a multi-stage process designed to learn the underlying distribution of event data without imposing rigid mathematical constraints:

  1. Diffusion and Denoising: The model treats clean spatio-temporal data as a signal and gradually introduces Gaussian noise until the data is indistinguishable from randomness. The training objective is to learn the reverse process: denoising random noise back into a valid event pair $(t, s)$, conditioned on the history of previous events.
  2. Spatio-temporal Encoder: To provide context for the denoising process, a self-attention-based encoder processes the history of past events. This creates a high-dimensional representation of the current state of the system.
  3. Co-attention Denoising Network: This is the framework's primary innovation. During the denoising steps, a co-attention module allows the spatial and temporal denoising processes to interact. This mechanism adaptively captures the degree of interdependence between time and space at each stage of generation, allowing the model to learn when the two dimensions are highly entangled and when they are relatively independent.
  4. Closed-form Sampling: Unlike many competing point process models that require computationally expensive Monte Carlo simulations or numerical integrations for inference, DSTPP enables sampling in a closed form, significantly improving efficiency during the prediction phase.

Experimental Validation

The authors evaluated DSTPP against five diverse datasets to demonstrate its versatility across different domains and spatial types:

  • Earthquakes: Seismic activity in Japan (1990–2020), characterized by high spatio-temporal entanglement.
  • COVID-19: Daily infection cases in New Jersey, aggregated by county.
  • Citibike: Trip-start data from New York City’s bike-sharing system.
  • Atlanta Crime: Robbery events associated with discrete neighborhoods, testing the model's performance on discrete spatial labels.
  • HawkesGMM: A synthetic benchmark used to verify the model's ability to recover complex, multi-modal spatial distributions.

Key Insights and Results

DSTPP consistently outperformed state-of-the-art baselines, including NSTPP and DeepSTPP, across all primary metrics.

  • Superior Accuracy: On the Earthquake dataset, DSTPP achieved a reduction in spatial Negative Log-Likelihood (NLL) of over 20% compared to the next best model. It also demonstrated significantly lower Root Mean Square Error (RMSE) for temporal predictions and lower Euclidean distance for spatial predictions.
  • Adaptive Learning: Analysis of the co-attention weights revealed that the model successfully learns the level of dependency required for a specific dataset. For highly entangled data like earthquakes, the model assigned high cross-attention between time and space; for independent synthetic data, it learned to decouple the two.
  • Handling Diverse Geometries: A significant advantage of DSTPP is its ability to handle both continuous coordinates (latitude/longitude) and discrete spatial labels (neighborhood IDs) within the same underlying diffusion logic, a flexibility lacking in many traditional models.
  • Visual Fidelity: In synthetic tests, DSTPP successfully recovered highly irregular spatial distributions (such as "pinwheel" shapes) that traditional kernel-based methods failed to capture accurately.

Limitations and Future Directions

While DSTPP represents a significant leap forward, it is not without limitations. The primary challenge is the computational overhead associated with the diffusion steps. Although 200 steps were found to be optimal for accuracy, this remains more intensive than single-pass neural network architectures.

Future research will focus on accelerating the sampling process by integrating techniques like Denoising Diffusion Implicit Models (DDIM). Additionally, the researchers aim to apply DSTPP to even larger-scale natural systems, such as global climate patterns and ocean currents, where non-linear spatio-temporal interactions are most prevalent.

Summary updated

BibTeX
@inproceedings{yuan2023spatio,
  author = {Yuan Yuan and Jingtao Ding and Chenyang Shao and Depeng Jin and Yong Li},
  title = {{Spatio-temporal Diffusion Point Processes}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2023},
  url = {https://openreview.net/forum?id=lbW8ok5h8K},
}
Figure