A traffic prediction method for missing data scenarios: graph convolutional recurrent ordinary differential equation network

Ming Jiang, Zhiwei Liu, Yan XuComplex 2025

Abstract

Traffic prediction plays an increasingly important role in intelligent transportation systems and smart cities. Due to various factors, traffic data often contains missing values, which degrades prediction performance and disrupts dynamic graph structures. This paper proposes the Graph Convolutional Recurrent Ordinary Differential Equation Network (GCRNODE), a neural network architecture designed specifically for missing data scenarios. GCRNODE combines ODE-based recurrent networks with spatiotemporal memory graph convolutional networks. It models traffic flow evolution as a continuous process and employs a data-independent memory mechanism to capture spatial dependencies. Experimental results on three real-world datasets show that GCRNODE outperforms baseline models across various missing data rates and scenarios, demonstrating superior robustness.

Introduction

Accurate traffic prediction is essential for route selection and urban management. However, real-world traffic data is frequently incomplete due to sensor failures or communication lags. Existing spatiotemporal models, typically combining Graph Neural Networks (GNNs) and Recurrent Neural Networks (RNNs), struggle with such "missing data" scenarios. They often fail because missing values disrupt the construction of dynamic graphs and because discrete recurrent units assume fixed-interval observations.

GCRNODE addresses these issues by treating traffic as a continuous dynamical system rather than a discrete sequence of snapshots. This approach allows the model to maintain high accuracy even when up to 80% of sensor data is missing.

Methodology

The GCRNODE architecture integrates three primary components to handle missingness effectively.

GCRU-ODE: Continuous Evolution

Traditional models use discrete updates (e.g., GRUs), which accumulate errors when data is missing. GCRNODE utilizes Neural Ordinary Differential Equations (ODEs) to describe the continuous evolution of the network's hidden state. During data gaps, the system follows a mathematical trajectory (ODE_Predict). When new observations arrive, a "jump update" (ODE_Update) aligns the internal state with the new data.

Architecture of GCRNODE including the ODE evolution process and Bayesian alignment loss.

Spatiotemporal Memory Graph (STMG)

To maintain stable spatial relationships without relying on real-time (and potentially missing) data, the authors developed the STMG module. It uses a dual-memory mechanism:

  • Replay Memory (ReM): Captures periodic patterns (e.g., weekly or daily cycles).
  • Pattern Memory (PM): Captures the static spatial identities of nodes.

By fusing these memories, the model constructs a "data-independent" dynamic graph that remains robust even when sensors are offline.

The Spatiotemporal Memory Graph (STMG) module for data-independent graph construction.

Bayesian-ODE Alignment Loss

To prevent the ODE's predictions from drifting, GCRNODE employs a loss function based on Kullback–Leibler (KL) divergence. This ensures that the predicted hidden state distributions align closely with the observed data distributions.

Experimental Evaluation

The model was tested on three real-world datasets: PeMS07(M) (speed), PeMS08 (volume), and NYC-Bike (demand). Researchers simulated four missing data scenarios: Random Missing (RM), Spatial Missing (SM), Temporal Missing (TM), and Spatiotemporal Missing (STM).

Key Results

  • Superior Robustness: GCRNODE consistently outperformed baselines like GRU-D and ASTGnet. Remarkably, at an 80% missing data rate, it maintained significantly lower Mean Absolute Error (MAE) than competitors.
  • Scenario Versatility: The model proved highly effective in the complex STM scenario, which mimics the most realistic and challenging data conditions.
  • Ablation Success: Removing either the ODE component or the STMG module led to significant performance drops, confirming that both continuous modeling and memory-based graph construction are vital.

Conclusion

GCRNODE represents a significant advancement in traffic prediction for imperfect data environments. By decoupling dynamics from real-time data through memory graphs and modeling flow as a continuous fluid, it offers a robust solution for modern ITS. Future work will focus on reducing the computational cost of solving ODEs and extending the model to handle multi-feature interactions like the combined effects of weather and traffic volume.

Summary updated

BibTeX
@inproceedings{jiang2025traffic,
  author = {Ming Jiang and Zhiwei Liu and Yan Xu},
  title = {{A traffic prediction method for missing data scenarios: graph convolutional recurrent ordinary differential equation network}},
  booktitle = {Complex},
  year = {2025},
  doi = {10.1007/s40747-024-01768-7},
}
Figure