Graph Markov Network for Traffic Forecasting with Missing Data

Zhiyong Cui, Longfei Lin, Ziyuan Pu, Yinhai WangarXiv 2019

Abstract

Traffic forecasting is a classical task for traffic management and it plays an important role in intelligent transportation systems. However, since traffic data are mostly collected by traffic sensors or probe vehicles, sensor failures and the lack of probe vehicles will inevitably result in missing values in the collected raw data for some specific links in the traffic network. Although missing values can be imputed, existing data imputation methods normally need long-term historical traffic state data. As for short-term traffic forecasting, especially under edge computing and online prediction scenarios, traffic forecasting models with the capability of handling missing values are needed. In this study, we consider the traffic network as a graph and define the transition between network-wide traffic states at consecutive time steps as a graph Markov process. In this way, missing traffic states can be inferred step by step and the spatial-temporal relationships among the roadway links can be Incorporated. Based on the graph Markov process, we propose a new neural network architecture for spatial-temporal data forecasting, i.e. the graph Markov network (GMN). By incorporating the spectral graph convolution operation, we also propose a spectral graph Markov network (SGMN). The proposed models are compared with baseline models and tested on three real-world traffic state datasets with various missing rates. Experimental results show that the proposed GMN and SGMN can achieve superior prediction performance in terms of both accuracy and efficiency.

Introduction

Traffic forecasting serves as the backbone of Intelligent Transportation Systems (ITS), enabling proactive traffic management and route planning. However, real-world traffic data often suffers from significant gaps due to sensor malfunctions or sparse probe vehicle coverage. Traditional approaches address this by performing data imputation as a separate preprocessing step. Methods like Bayesian tensor decomposition, while effective, are computationally intensive and require long-term historical data, making them unsuitable for real-time edge computing and online prediction scenarios.

To address these challenges, this research introduces the Graph Markov Network (GMN). By treating traffic forecasting as a spatial-temporal graph process, the GMN architecture handles missing data and predicts future states simultaneously, respecting the underlying road network topology while maintaining high computational efficiency.

Methodology

The core innovation of this work is the conceptualization of traffic flow as a Graph Markov Process (GMP). This approach combines the temporal dependencies of the Markov property with the spatial constraints of graph localization.

The Graph Markov Property

In a GMP, the future state of a specific road link is assumed to depend only on the current state of itself and its immediate spatial neighbors. This allows the model to infer missing traffic states iteratively by leveraging the observed states of connected links.

GMN and SGMN Architectures

Two primary models are proposed based on this principle:

  • Graph Markov Network (GMN): This model uses the road network's adjacency matrix to weight the influence of neighboring links. It employs an iterative formula to propagate information through time, effectively filling in missing values using previously observed states.
  • Spectral Graph Markov Network (SGMN): By incorporating Spectral Graph Convolutions, the SGMN captures more complex, multi-hop spatial relationships using the graph's Laplacian matrix.
Architecture of the Graph Markov Network (GMN) illustrating the spatial-temporal transition from historical graph states to future predictions.

To ensure efficiency, the authors simplified the product of transition matrices into a single learnable weight matrix for each historical time step. This mathematical reduction significantly lowers the number of matrix multiplications, making the GMN leaner and faster than traditional Recurrent Neural Networks (RNNs).

Experiments and Results

The models were rigorously tested on three large-scale, real-world datasets: PEMS-BAY (Bay Area), METR-LA (Los Angeles), and INRIX-SEA (Seattle). To test robustness, researchers artificially induced missing data rates of 10%, 20%, and 40%.

Key Findings

  • Superior Accuracy: The SGMN-10 variant (utilizing 10 historical steps) consistently achieved the lowest Mean Absolute Error (MAE) and Mean Absolute Percentage Error (MAPE) across nearly all datasets and missingness levels.
  • Efficiency Gains: By removing the sequential bottleneck of hidden states found in LSTMs and GRUs, the GMN and SGMN models were found to be 2x to 3x faster to train per epoch than complex baselines like GRU-D.
  • Robustness to Missing Data: Even at a 40% missing data rate, the SGMN maintained high performance, demonstrating its ability to effectively leverage spatial-temporal correlations to overcome data gaps.
  • Spatial Relevance: Analysis of the model weights confirmed that the GMN naturally prioritizes intersections and one-hop neighbors, aligning with the physical reality of traffic propagation.

Conclusion

The Graph Markov Network offers a robust and efficient alternative to traditional traffic forecasting pipelines. By integrating imputation and prediction into a single graph-based process, it achieves state-of-the-art results even under high data missingness. Future work will explore the theoretical links between Graph Markov Processes and Markov Random Fields, as well as the adaptation of these models to dynamic graphs that can account for real-time road closures and accidents.

Summary updated

BibTeX
@misc{cui2019graph,
  author = {Zhiyong Cui and Longfei Lin and Ziyuan Pu and Yinhai Wang},
  title = {{Graph Markov Network for Traffic Forecasting with Missing Data}},
  year = {2019},
  eprint = {1912.05457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.05457},
}
Figure