NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Graph and Attentive Multi-Path Convolutional Network for Traffic Prediction

Jianzhong Qi, Zhuowei Zhao, Egemen Tanin, Tingru Cui, Neema Nassir, Majid Sarvi

TL;DR

The GAMCN (Graph and Attentive Multi-Path Convolutional Network) model significantly improves traffic speed prediction by capturing "latent" spatial correlations between distant road segments and using a multi-path CNN to digest complex temporal patterns. It outperforms state-of-the-art models like GMAN and Graph WaveNet, reducing prediction errors by up to 18.9% while being 23.4% more computationally efficient.

What Problem Does This Paper Address?

Traffic prediction is a cornerstone of smart city infrastructure, affecting everything from GPS route planning to municipal congestion management. However, it is notoriously difficult because traffic is a "spatio-temporal" puzzle.

Most existing models rely on two assumptions that don't always hold:

  1. Spatial: They assume only nearby sensors (neighbors on a map) influence each other. In reality, two distant highway segments might share identical traffic patterns due to similar commuter behaviors, even if they are miles apart.
  2. Temporal: They often use Recurrent Neural Networks (RNNs), which are slow to train and struggle with long-term dependencies, or simple CNNs that don't account for the periodic nature of traffic (e.g., Monday morning vs. Sunday night).

The authors aim to break these limitations by learning a "latent" graph that connects sensors based on behavior rather than just physical proximity, and by using a more flexible, attention-modulated temporal architecture.

Methods

The authors propose the GAMCN architecture, which consists of three innovative components:

  • LPGCN (Learned Point-wise Mutual Information GCN): Standard Graph Convolutional Networks (GCNs) use a fixed adjacency matrix (a map of which sensors are next to each other). LPGCN instead learns a "latent" connectivity matrix. It uses Point-wise Mutual Information (PMI) to identify pairs of sensors that have highly correlated traffic conditions, regardless of their physical distance.
  • Multi-Path Temporal CNN: Instead of a single sequence model, GAMCN uses multiple 1D-CNNs with varying kernel sizes. This allows the model to simultaneously analyze different "windows" of history (e.g., looking at the last 10 minutes vs. the last hour) to see how different past combinations impact the future.
  • Temporal Attention: The output of the multi-path CNN is modulated by an attention mechanism. This isn't just looking at the past; it embeds the target prediction time (time of day, day of week) to weight the historical data based on known periodic patterns (like rush hour).
  • Gated Fusion: Finally, a gated mechanism decides how much weight to give the spatial features (from LPGCN) versus the temporal features (from the CNN) for the final prediction.

Datasets

The model was evaluated on three real-world datasets:

  • PEMS04 & PEMS08: Standard benchmarks from the Caltrans Performance Measurement System in California, containing traffic speed data from hundreds of sensors at 5-minute intervals.
  • MEL: A newly introduced dataset from the Melbourne CBD (Australia) collected via the AIMES project. This dataset is particularly interesting because it lacks a predefined adjacency matrix, forcing the model to rely entirely on its ability to learn the spatial relationships between sensors.

Key Insights and Ideas

  • The "Nearby" Fallacy: The authors demonstrate that nearly 8.4% of vertex pairs with very similar traffic speeds are actually located far apart (over 10km). By learning a latent graph, GAMCN captures these "hidden" relationships that standard GCNs miss.
  • Efficiency over Recursion: By replacing RNNs with a multi-path CNN, the model achieves better long-term accuracy without the "error propagation" typical of recursive models, where a small mistake in a 5-minute prediction snowballs into a massive error for a 60-minute prediction.
  • Map-Agnostic Learning: Because LPGCN learns its own connectivity, the model remains highly effective even when a road map or sensor adjacency data is unavailable—a common real-world constraint.

Key Results

  • Accuracy: GAMCN consistently achieved the lowest Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) across all datasets. Compared to the previous state-of-the-art (GMAN), it reduced MAE by up to 6.8% on PEMS04.
  • Speed: The model is significantly faster than GMAN, showing a 23.4% improvement in prediction efficiency. This makes it much more viable for real-time deployment in city-wide systems.
  • GAN Integration: The authors also showed that GAMCN can be used as a generator within a Generative Adversarial Network (GAN). This "GAMCN-GAN" variant produces predictions that not only have low error but also more accurately mimic the statistical distribution (the "shape") of real-world traffic data.

Limitations and Future Work

While GAMCN is powerful, the authors note a few areas for growth:

  • Scalability: GCNs are computationally expensive as the number of sensors grows into the thousands. The authors suggest that future versions will need to utilize distributed training APIs (like TensorFlow's distributed strategy) to handle massive, city-scale graphs.
  • Memory Constraints: A single computation node may struggle with the memory requirements of a full input traffic observation graph for very large networks.
  • Parallelization: Further work is needed to parallelize the LPGCN component to enhance its applicability to even larger datasets.

Summary updated

BibTeX
@article{qi2023graph,
  author = {Jianzhong Qi and Zhuowei Zhao and Egemen Tanin and Tingru Cui and Neema Nassir and Majid Sarvi},
  title = {{A Graph and Attentive Multi-Path Convolutional Network for Traffic Prediction}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  doi = {10.1109/tkde.2022.3179646},
}

Loading related content...

Figure