Graph-based Multi-ODE Neural Networks for Spatio-Temporal Traffic Forecasting

Zibo Liu, Parshin Shojaee, Chandan K. Reddy

Introduction: The Challenge of Urban Traffic

Predicting traffic flow is a complex "spatio-temporal" challenge. It requires modeling both spatial dependencies—where congestion on one highway affects nearby ramps—and temporal dependencies, such as the recurring patterns of daily rush hours.

While Graph Neural Networks (GNNs) are the standard tool for road network modeling, they often suffer from "over-smoothing." As these networks grow deeper to capture long-range patterns, node features tend to converge, causing the model to lose its predictive nuance. Recent advancements using Neural Ordinary Differential Equations (ODEs) have mitigated this by modeling data as a continuous flow, but these typically focus on global trends, often missing localized spikes from accidents or dynamic changes in road relationships (edges).

Comparison of prior models versus the proposed GRAM-ODE model, highlighting the inclusion of local, global, node-edge, and edge-edge correlations.

The GRAM-ODE Architecture

To address these limitations, researchers developed GRAM-ODE (Graph-based Multi-ODE Neural Networks). This architecture decomposes the forecasting task into three specialized, coupled streams of continuous-time dynamics:

  1. Global ODE Module: Captures long-term, steady-state traffic patterns across the entire network.
  2. Local ODE Module: Utilizes varying temporal kernels to focus on short-term dependencies, acting as a sensor for sudden, unexpected events like accidents.
  3. Edge-based ODE Module: Models the evolving "semantic" relationships between roads, recognizing that connections are not static but change over time.
Detailed architecture of the Multi-ODE GNN, showing the Global (a), Local (b), and Edge (c) ODE modules, and the final aggregation layer (d).

These modules are integrated through Coupled ODE Blocks using shared weights and a Message Filtering constraint. This constraint acts as a "clipping" operation, ensuring that local fluctuations remain anchored to the broader global context. Finally, a Multi-head Attention Module fuses data from two graph perspectives: physical proximity and "Dynamic Time Warping" (similarity in traffic patterns regardless of distance).

Experimental Evaluation

GRAM-ODE was rigorously tested against seven major baselines using six high-traffic, real-world datasets:

  • PEMS (03, 04, 07, 08): Traffic flow data from California districts.
  • PEMS-BAY & METR-LA: Traffic speed data from the San Francisco Bay Area and Los Angeles highways.

The model consistently achieved state-of-the-art results. For instance, on the PEMS03 dataset, GRAM-ODE reduced the Mean Absolute Error (MAE) to 15.72, outperforming the previous best model, STGODE (16.50).

Key Insights

  • Local Sensitivity: By dedicating a specific ODE module to local patterns, GRAM-ODE treats "noise" as a signal, allowing it to respond faster to abrupt traffic fluctuations.
  • Semantic Connectivity: The model learns that roads far apart physically (e.g., two different shopping mall entrances) may share high semantic correlation, improving prediction accuracy.
  • Resilience: GRAM-ODE demonstrated superior robustness; when tested with noisy input data, its performance degraded significantly slower than competing models.
  • Avoiding Over-smoothing: The continuous ODE framework allows for "deep" modeling of complex relations without the feature blurring common in traditional deep GNNs.

Limitations and Future Outlook

While highly accurate, the multi-ODE framework is computationally intensive, leading to longer inference times compared to simpler models. Future research will focus on model compression to reduce parameter counts and exploring distributed computing to enhance training efficiency. Additionally, the authors suggest that this Multi-ODE approach could be applied to other spatio-temporal domains, such as climate modeling or social network analysis.

Summary updated

BibTeX
@article{liu2023graph,
  author = {Zibo Liu and Parshin Shojaee and Chandan K. Reddy},
  title = {{Graph-based Multi-ODE Neural Networks for Spatio-Temporal Traffic Forecasting}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=tg29u2wgEw},
}
Figure