Learning from Highly Sparse Spatio-temporal Data

Leyan Deng, Chenwang Wu, Defu Lian, Enhong Chen

Introduction: The Problem with Iterative Imputation

Spatio-temporal (ST) data—such as traffic flow across a city or energy output across a power grid—is rarely complete in the real world. Sensors fail, or budget constraints dictate that they are only deployed in a few locations, leading to significant spatial and temporal missingness.

The standard approach to fixing this involves "iterative message passing," where a model repeatedly looks at a node's neighbors to guess missing values. However, in highly sparse data, these iterations lead to a "telephone game" effect: massive information loss and error accumulation. Theoretical analysis using PAC-learnability (Probably Approximately Correct) proves that iterative methods are fundamentally limited by both the data's sparsity and the graph's structure. As the "missingness" increases, these models require exponentially more training samples to remain accurate.

The OPCR Framework

To overcome the limitations of iterative message passing, the authors introduce a novel two-stage framework called OPCR (One-step Propagation and Confidence-based Refinement).

1. One-step Propagation

Instead of hopping through neighbors step-by-step, the model uses a sparse attention mechanism to propagate information from all observed points to all missing points directly in a single step.

  • Spatial Attention: Uses a Graph Neural Network (GNN) to learn node relationships and then applies attention to "jump" directly from any observed sensor to a missing one, bypassing the need for a fully connected path.
  • Temporal Attention: Uses positional and timestamp encoding to capture time-series correlations within each node.

2. Confidence-based Refinement

Because not all initial guesses are equally reliable, the model calculates a confidence score for each imputed value based on how strongly it correlates with valid data. These scores act as weights in a final spatio-temporal message-passing layer. This refinement stage smooths out the initial guesses and eliminates biases introduced by looking at space and time separately.

Datasets and Evaluation

The model was rigorously evaluated on three distinct types of real-world data:

  • Traffic Benchmarks: PEMS-BAY and METR-LA (standard, smaller-scale traffic datasets).
  • Large-scale Energy Data: PV-US (solar energy production) and CER-E (smart meter data), featuring over 5,000 nodes.
  • T4C22 (Traffic4cast 2022): Extremely sparse traffic data from London, Madrid, and Melbourne, where spatial missingness reaches up to 90%.

Key Results and Insights

OPCR demonstrates significant improvements over existing state-of-the-art (SOTA) models, particularly in highly sparse scenarios.

  • Superior Accuracy: In scenarios with 95% missing data, OPCR outperformed the best baseline (SPIN-H) by 26% to 37% on traffic datasets.
  • Robustness to Spatial Missingness: On the T4C22 dataset, where most sensors are missing entirely, OPCR consistently beat graph-based and diffusion-based baselines in downstream tasks like congestion classification and travel time prediction.
  • Efficiency and Scalability: Despite using attention mechanisms, OPCR is more scalable than iterative models like PriSTI. On large-scale datasets like PV-US, it maintained stable performance and lower memory usage while other SOTA models struggled to scale.
  • The Iteration Trap: The theoretical proof that more iterations ($K$) aren't always better is a crucial insight. By moving to a "one-step" attention model, OPCR decouples performance from the graph's connectivity, making success dependent only on the total amount of data available rather than local sensor density.

Limitations and Future Work

While OPCR sets a new standard for sparse ST data imputation, the authors acknowledge a few areas for future exploration:

  • Non-Random Missingness: The current theoretical proof assumes data is "Missing at Random" (MAR). In reality, data often goes missing in structured chunks (e.g., a localized power outage). Extending the analysis to these non-random scenarios is a key next step.
  • Unsupervised Learning: The model currently relies on some labeled data for training. Adapting the framework for completely unsupervised learning would broaden its applicability.
  • Domain Expansion: Future work could explore applying OPCR to other ST domains, such as climate science or epidemiology, where data sparsity is also a major challenge.

Summary updated

BibTeX
@inproceedings{deng2024learning,
  author = {Leyan Deng and Chenwang Wu and Defu Lian and Enhong Chen},
  title = {{Learning from Highly Sparse Spatio-temporal Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=rTONicCCJm},
}
Figure