Abstract
Traffic forecasting is a critical spatio-temporal task where dependencies exist across both geography and time. Traditional models often treat these dimensions separately, failing to capture direct cross-dependencies. This paper introduces Spatio-Temporal Joint Graph Convolutional Networks (STJGCN), which explicitly models "spatio-temporal neighborhoods" through a unified joint graph. By integrating pre-defined physical distances with adaptive, time-aware embeddings and utilizing dilated causal convolutions, STJGCN achieves state-of-the-art performance across five major traffic benchmarks while maintaining high computational efficiency.
Introduction
Traffic forecasting is a fundamental challenge in intelligent transportation systems. The core difficulty lies in modeling complex spatio-temporal dependencies: traffic conditions at a specific location and time are influenced by both historical patterns at that location and recent events at neighboring sites.
Existing deep learning models, such as STGCN or DCRNN, typically address this by alternating between spatial graph convolutions and temporal convolutions or Recurrent Neural Networks (RNNs). However, this decoupled approach suffers from two major limitations:
- Missing Cross-Dependencies: They rarely connect a node at time $t$ directly to a different node at time $t-1$, missing direct "spatio-temporal neighborhoods" (e.g., a jam at a highway exit affecting downstream streets later).
- Static vs. Dynamic Modeling: Many models rely on a static adjacency matrix based on physical distance, failing to account for how the influence between locations changes dynamically throughout the day.
Methodology
The proposed STJGCN framework addresses these gaps by moving beyond orthogonal space-time modeling into a unified joint graph representation. The architecture consists of three primary modules: STJG construction, dilated causal STJGC layers, and a prediction module.
Spatio-Temporal Joint Graphs (STJG)
Instead of treating space and time as separate steps, STJGCN constructs a graph where edges can exist between any two nodes at any two time steps. This allows the model to capture complex ripple effects directly.
The model employs a Dual Graph Approach:
- Pre-defined STJG: This uses physical road distances modified by a time-decay function to prioritize recent spatial influences.
- Adaptive STJG: This learns a dynamic adjacency matrix by creating "spatio-temporal embeddings" that incorporate node identity, time-of-day, and day-of-week. This allows the model to "rewire" connectivity patterns based on periodic traffic trends (e.g., morning rush hour vs. midnight).
Dilated Causal STJGC Layers
To process the joint graph efficiently, the authors use Dilated Causal STJGC layers. Inspired by WaveNet, these layers apply dilated convolutions on the joint graph. This design allows the model to capture local dependencies in early layers and global dependencies (distant nodes and times) in deeper layers without a massive increase in parameters or computational overhead. The causal nature ensures that no information from the future leaks into the past during training.
Multi-Range Attention
Because traffic patterns operate at different scales, a multi-range attention mechanism aggregates information from all dilated layers. This allows the model to dynamically weigh which "range" of spatio-temporal influence is most relevant for a specific prediction.
Experiments and Results
Datasets
The model was evaluated on five high-quality public traffic benchmarks: PeMSD3, PeMSD4, PeMSD7, PeMSD8 (California highway data), and Seattle-Loop (Seattle highway speeds). The authors compared STJGCN against 11 state-of-the-art baselines using standard 60/20/20 data splits.
Key Findings
- Superior Accuracy: STJGCN outperformed all baselines, including GMAN and Graph WaveNet, across all datasets. It demonstrated a 1.4% to 7.7% improvement in Mean Absolute Error (MAE) over the next best-performing models.
- Computational Efficiency: Despite the theoretical complexity of joint graphs, STJGCN is significantly faster than attention-heavy models. On the PeMSD7 dataset, it trained nearly 5x faster than GMAN.
- Robustness: The model maintained high accuracy even for long-term predictions (e.g., one hour ahead), where traditional models often see rapid performance degradation.
Conclusion
STJGCN demonstrates that treating spatial and temporal dimensions as a unified 3D neighborhood significantly improves traffic forecasting accuracy. By combining pre-defined physical constraints with adaptive learning and efficient dilated convolutions, the model captures the dynamic nature of urban traffic more effectively than decoupled approaches. Future work may extend this joint graph methodology to other domains like air quality monitoring or demand prediction in ride-hailing services.
Summary updated