[Paper Review] DG-Trans: Dual-level Graph Transformer for Spatiotemporal Incident Impact Prediction on Traffic Networks
This paper proposes DG-Trans, a dual-level graph transformer model for spatiotemporal traffic incident impact prediction that combines a dual-level spatial transformer to isolate affected subgraphs and an importance-score-based temporal transformer to detect anomaly-driven changes. The model outperforms state-of-the-art methods on two newly constructed benchmark datasets, demonstrating superior performance in capturing spatiotemporal dependencies and predicting incident duration and spatial impact length.
The prompt estimation of traffic incident impacts can guide commuters in their trip planning and improve the resilience of transportation agencies' decision-making on resilience. However, it is more challenging than node-level and graph-level forecasting tasks, as it requires extracting the anomaly subgraph or sub-time-series from dynamic graphs. In this paper, we propose DG-Trans, a novel traffic incident impact prediction framework, to foresee the impact of traffic incidents through dynamic graph learning. The proposed framework contains a dual-level spatial transformer and an importance-score-based temporal transformer, and the performance of this framework is justified by two newly constructed benchmark datasets. The dual-level spatial transformer removes unnecessary edges between nodes to isolate the affected subgraph from the other nodes. Meanwhile, the importance-score-based temporal transformer identifies abnormal changes in node features, causing the predictions to rely more on measurement changes after the incident occurs. Therefore, DG-Trans is equipped with dual abilities that extract spatiotemporal dependency and identify anomaly nodes affected by incidents while removing noise introduced by benign nodes. Extensive experiments on real-world datasets verify that DG-Trans outperforms the existing state-of-the-art methods, especially in extracting spatiotemporal dependency patterns and predicting traffic accident impacts. It offers promising potential for traffic incident management systems.
Motivation & Objective
- To address the challenge of accurately predicting the spatiotemporal impact of traffic incidents, which involves both spatial spread and temporal duration.
- To overcome limitations in existing models that fail to effectively extract subgraphs or detect anomaly patterns in dynamic traffic networks.
- To develop a novel framework that integrates structural awareness with dynamic anomaly detection for improved incident impact forecasting.
- To construct and release two open-source benchmark datasets for traffic incident impact prediction to support reproducible research.
Proposed method
- The dual-level spatial transformer dynamically prunes irrelevant edges in the traffic network to isolate the subgraph affected by an incident, focusing on local spatial dependencies.
- The importance-score-based temporal transformer identifies abnormal changes in node features by assigning attention weights based on anomaly scores, enhancing sensitivity to post-incident dynamics.
- The model uses a dual-branch architecture: one branch processes spatial dependencies via the dual-level S-Transformer, and the other handles temporal patterns through the T-Transformer with importance scoring.
- Graph attention mechanisms are adapted to prioritize nodes and edges affected by incidents, reducing noise from benign traffic patterns.
- The framework employs reconstruction losses during training to preserve structural integrity and improve feature representation in the presence of anomalies.
- Road anchors are used to guide the spatial attention mechanism, improving localization accuracy of incident-affected regions.

Experimental results
Research questions
- RQ1How can spatiotemporal incident impact be quantitatively defined beyond temporal duration, particularly in terms of spatial spread?
- RQ2To what extent can a graph-based transformer model effectively extract and predict the impact of traffic incidents on dynamic road networks?
- RQ3Can a dual-level attention mechanism improve subgraph isolation and anomaly detection compared to standard graph attention layers?
- RQ4How does the integration of importance scores enhance temporal modeling of incident-related changes in traffic speed and flow?
- RQ5What is the contribution of each component (spatial, temporal, road anchors, importance scoring) to the overall performance of the model?
Key findings
- DG-Trans achieves the lowest average rank (3.58) among all models on the Incident-LA dataset, significantly outperforming baselines such as STTN (rank 5.25) and AGCRN (rank 5.25).
- On the Incident-SB dataset, DG-Trans achieves the best performance with an RMSE of 11.731 for incident duration prediction and 1.235 for sMAPE, outperforming all baselines.
- The ablation study shows that removing the spatial transformer (No-STrans) leads to the largest performance drop, indicating its critical role in subgraph isolation.
- The importance-score-based temporal transformer (No-Score) results in only a minor performance degradation, suggesting it enhances robustness without overfitting.
- The model without road anchors (No-Road) underperforms DG-Trans, indicating that structural priors significantly improve localization accuracy.
- Case studies confirm that the importance score effectively highlights sensors near incidents, although some false positives occur due to unrelated speed drops.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.