Spatial-temporal Forecasting for Regions without Observations

Xinyu Su, Jianzhong Qi, Egemen Tanin, Yanchuan Chang, Majid Sarvi

Abstract

Spatial-temporal forecasting is a critical component of modern "Smart City" infrastructure, enabling the prediction of traffic flow and air quality. However, traditional models are heavily dependent on dense historical data. This paper introduces STSM (Spatial-Temporal Selective Masking), a novel framework designed to predict conditions for regions with zero historical observations. By leveraging a selective masking strategy and graph contrastive learning, STSM effectively transfers knowledge from data-rich areas to data-void regions based on spatial and semantic similarities.

Introduction

Predicting spatial-temporal variables like traffic congestion or PM2.5 levels is essential for urban planning and public safety. While existing research has made significant strides in handling "incomplete data"—where sensors may be intermittently offline or sparse—a more challenging real-world scenario remains: continuous data scarcity. This occurs when entire sub-regions, such as new suburbs or municipalities with private data policies, lack any monitoring infrastructure.

Comparison of data missing scenarios in spatial-temporal forecasting.

State-of-the-art models typically rely on local neighborhood information to interpolate missing values. When a large, continuous region is unobserved, these local dependencies fail, leading to significant performance degradation. STSM addresses this by focusing on global patterns and regional similarities rather than immediate proximity.

The STSM Framework

The STSM framework is built upon three primary technical pillars designed to overcome the lack of local observations:

1. Selective Masking Module

Unlike standard random masking techniques used in general AI training, STSM employs a Selective Masking Module. During the training phase, the model identifies sub-regions within the observed data that share semantic characteristics with the target unobserved region. By using features such as Points of Interest (POIs)—including the density of schools, parks, and offices—and road network attributes like speed limits, the model calculates a similarity score. It then masks these "look-alike" regions, forcing the network to learn how to predict for areas it cannot see based on their semantic profile.

2. Graph Contrastive Learning (GCL)

To ensure the model learns robust, transferable representations, STSM utilizes Graph Contrastive Learning. The system generates two distinct "views" of the spatial-temporal data: one complete and one selectively masked. The contrastive objective ensures that the latent representations of both views remain similar. This process encourages the model to capture global spatial-temporal correlations that are not reliant on the presence of every individual sensor.

3. Pseudo-observation Generation

Graph Convolutional Networks (GCNs) require input features to propagate information. To facilitate this in data-void regions, STSM generates pseudo-observations. These are estimated values for unobserved locations derived from spatial distance and temporal similarity, calculated via Dynamic Time Warping (DTW). These pseudo-observations act as a bridge, allowing information to flow from data-rich areas into the target region during the forecasting process.

Experimental Evaluation

The researchers evaluated STSM across five diverse datasets representing different urban challenges:

  • Highway Traffic: PEMS-Bay, PEMS-07, and PEMS-08 (California highway sensor networks).
  • Urban Traffic: Melbourne City dataset (182 sensors).
  • Air Quality: AirQ dataset (63 sensors monitoring PM2.5 in Beijing and Tianjin).

To simulate real-world data voids, the researchers utilized "space-based splits," removing data from entire horizontal slices, vertical sections, or concentric rings of the map.

Key Results

STSM demonstrated superior performance compared to adapted state-of-the-art baselines like GE-GAN, IGNNK, and INCREASE:

  • Accuracy: On the AirQ dataset, STSM achieved a reduction in Mean Absolute Error (MAE) of over 14% compared to the strongest baseline.
  • Fit and Reliability: The model showed a dramatic improvement in $R^2$ scores. Specifically, on the PEMS-08 dataset, the $R^2$ improved by 142% over the next best model.
  • Robustness: STSM maintained stable performance regardless of the shape of the missing region (e.g., rings vs. slices), whereas baseline models often suffered performance collapses as data became increasingly sparse.

Conclusion and Future Work

STSM proves that regional features, such as POI density, are effective proxies for missing sensor data. By shifting the focus from local interpolation to global semantic similarity, the framework enables accurate forecasting in previously "dark" regions of a city.

Currently, the model is optimized for a single continuous unobserved region. Future research will focus on extending STSM to handle multiple disconnected "islands" of missing data and integrating additional data sources, such as satellite imagery and weather patterns, to further enhance the selective masking process.

Summary updated

BibTeX
@inproceedings{su2024spatial,
  author = {Xinyu Su and Jianzhong Qi and Egemen Tanin and Yanchuan Chang and Majid Sarvi},
  title = {{Spatial-temporal Forecasting for Regions without Observations}},
  booktitle = {EDBT},
  year = {2024},
  url = {https://openreview.net/forum?id=KuWqkyOmYa},
}
Figure