[Paper Review] Uncertainty Quantification via Spatial-Temporal Tweedie Model for Zero-inflated and Long-tail Travel Demand Prediction
This paper proposes the Spatial-Temporal Tweedie Graph Neural Network (STTD), a novel deep learning model that leverages the Tweedie distribution to jointly predict travel demand and quantify uncertainty in high-resolution, zero-inflated, and long-tailed Origin-Destination (O-D) matrices. STTD outperforms state-of-the-art models by achieving up to 3.47% lower MAE and 327.66% narrower prediction intervals, while accurately capturing sparsity and long-tail patterns through learned parameters for mean, dispersion, and index.
Understanding Origin-Destination (O-D) travel demand is crucial for transportation management. However, traditional spatial-temporal deep learning models grapple with addressing the sparse and long-tail characteristics in high-resolution O-D matrices and quantifying prediction uncertainty. This dilemma arises from the numerous zeros and over-dispersed demand patterns within these matrices, which challenge the Gaussian assumption inherent to deterministic deep learning models. To address these challenges, we propose a novel approach: the Spatial-Temporal Tweedie Graph Neural Network (STTD). The STTD introduces the Tweedie distribution as a compelling alternative to the traditional 'zero-inflated' model and leverages spatial and temporal embeddings to parameterize travel demand distributions. Our evaluations using real-world datasets highlight STTD's superiority in providing accurate predictions and precise confidence intervals, particularly in high-resolution scenarios.
Motivation & Objective
- Address the limitations of deterministic deep learning models in handling sparse, zero-inflated, and long-tailed travel demand data at high spatiotemporal resolutions.
- Overcome the Gaussian assumption failure in traditional models by replacing zero-inflated models with the more flexible Tweedie distribution.
- Simultaneously improve point prediction accuracy and uncertainty quantification in O-D demand forecasting using a graph neural network framework.
- Enable robust decision-making in transportation systems by providing precise confidence intervals and accurate zero-value modeling.
- Demonstrate the superiority of the STTD model across diverse real-world scenarios and resolution levels.
Proposed method
- Introduce the Tweedie distribution as a unified statistical model for O-D travel demand, capable of capturing both zero-inflated and long-tailed non-zero demand patterns.
- Design a Spatial-Temporal Graph Neural Network (STGNN) that encodes spatial and temporal dependencies across O-D pairs using a graph structure $\mathcal{G} = (V, E, A)$, where $V$ represents O-D pairs.
- Parameterize the Tweedie distribution using three learned parameters: $\mu$ (mean), $\phi$ (dispersion), and $\rho$ (index), which are predicted via the GNN to model uncertainty per O-D pair.
- Train the model end-to-end using a negative log-likelihood loss function derived from the Tweedie distribution, which naturally penalizes errors in both zero and high-demand regimes.
- Incorporate spatial and temporal positional embeddings to enhance the model's ability to capture complex, non-Euclidean correlations in O-D flow data.
- Use a sequence-to-sequence framework to predict future demand distributions over $k$ time windows based on historical $T$-minute intervals.

Experimental results
Research questions
- RQ1Can the Tweedie distribution effectively model the joint characteristics of zero-inflated and long-tailed travel demand in high-resolution O-D matrices?
- RQ2How does the STTD model compare to existing deterministic and probabilistic models in terms of point prediction accuracy and uncertainty quantification?
- RQ3To what extent can the STTD model capture sparsity (i.e., true zero demand) and long-tail demand patterns compared to baseline methods?
- RQ4Does the integration of spatial-temporal graph learning with the Tweedie distribution lead to more reliable and narrower prediction intervals?
- RQ5How does model performance vary across different spatial-temporal resolutions, and is there a consistent advantage of STTD over baselines?
Key findings
- STTD achieved up to 3.47% lower Mean Absolute Error (MAE) than the best baseline on the SLDSAMP10 dataset, demonstrating superior point prediction accuracy.
- On the SLD_5min scenario, STTD reduced the Mean Predictive Interval Width (MPIW) by 327.66% compared to STZINB, indicating significantly narrower and more precise confidence intervals.
- STTD maintained a high Prediction Interval Coverage Probability (PICP) of 0.964 on SLDSAMP10 while achieving a narrow MPIW, indicating effective balance between coverage and precision.
- The model outperformed all baselines in KL-Divergence, true-zero rate, and F1-Score on sparse demand scenarios, showing strong capability in capturing zero-inflated patterns.
- The learned $\rho$ parameter was consistently closer to 2 in long-tailed regions, confirming the model’s ability to adapt to heavy-tailed distributions through the Tweedie loss function.
- Visualization of learned parameters $\mu$, $\phi$, and $\rho$ confirmed that the model accurately captures the data distribution: $\mu$ matches observed demand, $\phi$ becomes large for zero values, and $\rho$ increases in long-tail regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.