NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Uncertainty Quantification of Spatiotemporal Travel Demand With Probabilistic Graph Neural Networks

Qingyi Wang, Shenhao Wang, Dingyi Zhuang, Haris N. Koutsopoulos, Jinhua Zhao · DOI

Predicting how many people will hop on a train or hail a ride is a cornerstone of urban planning. While deep learning has made these "point predictions" incredibly accurate, most models suffer from a major blind spot: they ignore uncertainty. In the real world, a prediction of "50 riders" isn't very helpful if the actual number could easily swing between 5 and 500.

In their paper, "Uncertainty Quantification of Spatiotemporal Travel Demand with Probabilistic Graph Neural Networks," researchers from MIT and the University of Florida introduce a framework to move beyond the "average" and start measuring the "maybe."

TL;DR

The authors propose Prob-GNN, a framework that combines Graph Neural Networks (GNNs) with probabilistic distributions to quantify uncertainty in travel demand. Their key finding: the choice of the underlying probability distribution matters far more for reliable uncertainty estimates than the specific neural network architecture used.

What Problem Does This Paper Address?

Urban mobility is inherently chaotic. Demand fluctuates due to weather, holidays, or global shocks like COVID-19. Traditional deep learning models (like LSTMs or GNNs) are typically deterministic—they output a single number.

This "point prediction" approach fails to account for:

  1. Data Uncertainty (Aleatoric): The natural randomness in human behavior.
  2. Model Uncertainty (Epistemic): The uncertainty in the model's parameters due to limited training data.

Without quantifying this, city planners can't build "resilient" systems. If a model predicts 100 riders with 95% certainty, that’s a different planning scenario than predicting 100 riders with a massive margin of error.

Methods

The authors developed the Prob-GNN framework, which essentially splits the modeling task into two parts:

  1. The Deterministic Architecture ($\mathcal{F}$): They tested standard Graph Convolutional Networks (GCN) and Graph Attention Networks (GAT) combined with LSTMs to capture spatial and temporal patterns.
  2. The Probabilistic Assumption ($\mathcal{G}$): Instead of outputting a value, the network outputs the parameters of a distribution (like the mean $\mu$ and variance $\sigma$).

They benchmarked six different probabilistic assumptions:

  • Homoskedastic Gaussian: Constant variance (the standard "MSE" approach).
  • Poisson: Discrete support, often used for count data.
  • Heteroskedastic Gaussian: Variance changes based on the input.
  • Truncated Gaussian: Prevents the model from predicting impossible negative ridership.
  • Laplace: A "heavy-tailed" distribution that handles outliers better.
  • Gaussian Ensemble: Combining multiple models to capture model uncertainty.

The models were trained using Negative Log-Likelihood (NLL), which penalizes the model not just for being wrong, but for being "confidently" wrong.

Datasets

The framework was tested on two high-resolution datasets from Chicago:

  • CTA Rail: Tap-in records for 141 stations, aggregated into 15-minute intervals.
  • Ridesharing (TNC): Trip data for 59 census tracts in Chicago.
  • The COVID-19 Stress Test: Crucially, the models were trained on pre-pandemic data (2019) and tested on four distinct periods in 2020, ranging from total lockdown to "steady recovery." This served as a "domain shift" test to see if the uncertainty estimates held up when the world changed.

Key Insights and Ideas

  • Distribution > Architecture: This is the biggest "aha" moment. Switching from a GCN to a GAT (a more complex architecture) resulted in less than a 3% improvement. However, choosing a two-parameter distribution (like Truncated Gaussian) over a simple one-parameter one improved performance by over 20%.
  • The Power of Truncation: Travel demand cannot be negative. By using a Truncated Gaussian distribution, the model became significantly more stable, especially in low-demand areas where standard Gaussian models often "leak" into negative values.
  • Honesty in the Face of Chaos: During the COVID-19 lockdowns, the models' point predictions (MAE) failed miserably because the world had changed. However, the uncertainty intervals remained accurate. The models "knew" they were in uncharted territory and widened their prediction intervals accordingly.
  • The Afternoon Peak: Uncertainty isn't distributed evenly. It peaks during the afternoon rush hour and at major hubs like airports. Commuting in the morning is predictable; recreational travel in the afternoon is much more spontaneous.

Key Results

  • Superior Calibration: The Truncated Gaussian (TG) and Laplace (Lap) distributions achieved the highest performance. TG-GCN achieved a Calibration Error of just 0.021 for CTA rail.
  • Resilience to Domain Shift: Even when point prediction error (MAPE) spiked to 133% during the stay-at-home order, the Prob-GNNs maintained a Prediction Interval Coverage Probability (PICP) near the target 95%.
  • Efficiency: Two-parameter models converged faster and achieved lower NLL than simpler models.

Limitations and Future Work

The authors acknowledge that this is a parametric approach—it assumes the data follows a specific mathematical shape (like a Bell curve). Future work could explore non-parametric methods or Bayesian neural networks that don't make these assumptions.

Additionally, while the model identifies where uncertainty is high (e.g., the Division/Milwaukee station in Chicago), it doesn't explain why. Integrating these probabilistic outputs into real-time "robust optimization" for transit scheduling is the next logical step toward building truly resilient cities.

Summary updated

BibTeX
@article{wang2024uncertainty,
  author = {Qingyi Wang and Shenhao Wang and Dingyi Zhuang and Haris N. Koutsopoulos and Jinhua Zhao},
  title = {{Uncertainty Quantification of Spatiotemporal Travel Demand With Probabilistic Graph Neural Networks}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2024},
  doi = {10.1109/tits.2024.3367779},
}
Figure