Graph Neural Rough Differential Equations for Traffic Forecasting

Jeongwhan Choi, Noseong Park

TL;DR

The paper introduces STG-NRDE, a novel framework that combines Graph Neural Networks (GNNs) with Neural Rough Differential Equations (NRDEs) to master complex spatio-temporal traffic forecasting. By leveraging the log-signature transform, the model achieves state-of-the-art accuracy across six major benchmarks and demonstrates exceptional robustness to irregular or missing data.

What Problem Does This Paper Address?

Traffic forecasting is a quintessential spatio-temporal challenge: traffic at one location depends both on its own historical patterns (temporal) and the conditions of neighboring roads (spatial). While standard approaches combine Graph Convolutional Networks (GCNs) for space and Recurrent Neural Networks (RNNs) for time, they often struggle with two things:

  1. Continuous-time dynamics: Real-world traffic is a continuous process, but data is collected at discrete intervals.
  2. Irregular data: Sensors fail, leading to missing observations that break traditional discrete-time models.

The authors tackle these gaps by moving away from discrete steps and instead modeling traffic as a continuous path controlled by differential equations.

Methods

The core innovation is the Spatio-Temporal Graph Neural Rough Differential Equation (STG-NRDE). The workflow is illustrated in Figure 1:

The overall workflow in our proposed STG-NRDE

Key components include:

  • Neural Rough Differential Equations (NRDEs): Unlike standard Neural ODEs, NRDEs are designed for time-series. They treat the input data as a continuous path $X$. As shown in Figure 2, the model uses an interpolation algorithm to build this path from discrete data points.
  • Log-Signature Transform: This is the "secret sauce." It converts segments of the continuous path into a compressed set of feature vectors called "log-signatures." These signatures uniquely represent the path's shape and are highly efficient for downstream processing.
  • Dual-NRDE Architecture: The framework uses two NRDE layers. The first handles temporal processing for each node independently. The second handles spatial processing, where the hidden state of a node is influenced by the trajectories of its neighbors.
  • Adaptive Graph Convolution: Instead of relying solely on a fixed road map, the model learns an adaptive adjacency matrix. This allows it to discover latent spatial dependencies that might not be captured in a standard static graph.

Datasets

The authors evaluated their model on six real-world traffic datasets from the California Performance of Transportation (PeMS) system:

  • PeMSD3, PeMSD4, PeMSD7, PeMSD8: These track traffic volume (number of vehicles).
  • PeMSD7(M) and PeMSD7(L): These track traffic velocity. Data is aggregated into 5-minute intervals, and the standard benchmark task is to predict the next 12 time steps (1 hour) based on the previous 12.

Key Insights and Ideas

  • Continuous is Better than Discrete: By modeling traffic as a continuous path, the model naturally handles irregular time steps. If a sensor misses a reading, the underlying path interpolation simply bridges the gap, allowing the NRDE to continue its integration smoothly.
  • Signatures as Path Summaries: The log-signature transform provides a mathematically principled way to extract features that are invariant to how fast or slow a pattern occurs, focusing instead on the shape of the traffic flow.
  • Joint Spatio-Temporal Integration: Rather than treating space and time as separate modules, STG-NRDE combines them into a single augmented ODE system. This allows the spatial relationships to evolve continuously alongside the temporal ones.
  • Mathematical Stability: The authors prove the "well-posedness" of their NRDE layers, ensuring that the training process is stable and the solutions are unique.

Key Results

STG-NRDE consistently outperformed 27 baseline models across all datasets. The quantitative superiority is summarized in Table 1:

Table 1. Average error across all six datasets.
  • Accuracy: STG-NRDE achieved the lowest Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE) in every test case. For example, it outperformed the popular STGCN by over 17% in MAE.
  • Robustness: In experiments where 10% to 50% of data was randomly dropped, STG-NRDE maintained high performance, whereas most traditional baselines could not even function without pre-imputation.
  • Efficiency: Thanks to the log-signature transform, STG-NRDE is faster to train than its predecessor, STG-NCDE, while using a comparable number of parameters.

Limitations and Future Work

  • Computational Intensity: While more efficient than previous ODE-based models, solving differential equations is still more computationally demanding than simple discrete-time convolutions or recurrences.
  • Fixed Topology: The current model assumes a fixed set of nodes. It does not yet account for dynamic graphs where new sensors might be added or road segments permanently closed.
  • Hyperparameter Tuning: The model's performance is sensitive to the "depth" of the log-signature transform and the size of node embeddings, requiring careful optimization for new environments.

Future research directions suggested by the authors include exploring more advanced spatial dependency processing and further optimizing the log-signature transform for even larger-scale networks.

Summary updated

BibTeX
@article{choi2023graph,
  author = {Jeongwhan Choi and Noseong Park},
  title = {{Graph Neural Rough Differential Equations for Traffic Forecasting}},
  journal = {ACM Trans. Intell. Syst. Technol.},
  year = {2023},
  url = {https://openreview.net/forum?id=QrVWeuOdF3e},
}
Figure