Multi-view Bayesian spatio-temporal graph neural networks for reliable traffic flow prediction

Jiangnan Xia, Senzhang Wang, Xiang Wang, Min Xia, Kun Xie, Jiannong Cao

Introduction

Accurate traffic flow prediction is a cornerstone of Intelligent Transportation Systems (ITS), enabling effective congestion management and improved urban mobility. While deep learning has significantly advanced this field, most existing models rely on an idealized assumption of perfect data. In practice, traffic sensors are frequently subject to hardware failures, transmission errors, and environmental interference, resulting in noisy or incomplete datasets. Standard models often struggle with such "messy" data, leading to overconfident and inaccurate predictions.

The Challenge of Sensor Reliability

Beyond data quality, many current spatio-temporal models focus exclusively on the physical layout of the road network—the structural view. This approach overlooks "semantic" correlations, where geographically distant regions (e.g., two distinct residential zones) exhibit similar traffic behaviors. Failing to account for these global patterns limits a model's ability to generalize, especially when local sensor data is unreliable.

Traffic sensors deployed in a road network showing normal, broken, and unreliable nodes.

Methodology: The MVB-STNet Framework

To address these limitations, researchers developed the Multi-View Bayesian Spatio-Temporal Graph Neural Network (MVB-STNet). This framework is built upon two innovative pillars designed to enhance robustness and capture complex dependencies.

1. Multi-View Graph Construction

MVB-STNet utilizes a dual-graph approach to model spatial relationships:

  • Structural View: Represents the physical connectivity of the road network.
  • Semantic View: Employs learnable node embeddings to identify sensors with similar traffic profiles regardless of their physical distance. This allows the model to leverage global insights when local data is compromised.

2. Bayesian Spatio-Temporal Long Short-Term Memory (BSTLSN)

The core of the model's reliability is the BSTLSN layer. Unlike traditional neural networks that use fixed weights, MVB-STNet treats weights as probability distributions using Bayesian Neural Networks (BNN). By sampling from these distributions, the model accounts for uncertainty in the data, preventing it from overfitting to noise and providing more reliable forecasts.

The MVB-STNet architecture featuring multi-view graph inputs and Bayesian spatio-temporal layers.

Experimental Evaluation

The model was rigorously tested on two benchmark datasets: PeMS08 (San Bernardino) and METR-LA (Los Angeles). To simulate real-world conditions, the researchers introduced varying levels of random noise (10% to 30%) and missing data (10% to 30%).

Key Results

MVB-STNet consistently outperformed established baselines such as ARIMA, DCRNN, and STGCN, with its advantages becoming more pronounced as data quality decreased:

  • PeMS08: In a 30% noise scenario, the model achieved a 10.9% reduction in Root Mean Square Error (RMSE) compared to the best baseline.
  • METR-LA: Under 30% noise, it improved RMSE and Mean Absolute Error (MAE) by 3.6% and 7.9%, respectively.
  • Convergence: The model demonstrated stable training, converging within approximately 30 epochs despite the added complexity of Bayesian sampling.

Conclusion and Future Directions

MVB-STNet represents a significant step toward reliable traffic forecasting in imperfect real-world environments. By integrating multi-view spatial context with probabilistic uncertainty modeling, it provides a robust solution for modern ITS. Future work will explore the use of more sophisticated task-specific priors for Bayesian weights and the application of this framework to other urban flow problems, such as ride-hailing demand and crowd movement prediction.

Summary updated

BibTeX
@article{xia2024multi,
  author = {Jiangnan Xia and Senzhang Wang and Xiang Wang and Min Xia and Kun Xie and Jiannong Cao},
  title = {{Multi-view Bayesian spatio-temporal graph neural networks for reliable traffic flow prediction}},
  journal = {Int. J. Mach. Learn. Cybern.},
  year = {2024},
  doi = {10.1007/s13042-022-01689-2},
}
Figure