Towards Resilient Transportation: A Conditional Transformer for Accident-Informed Traffic Forecasting
Hongjun Wang, Jiawei Yong, Jiawei Wang, Shintaro Fukushima, Renhe Jiang
TL;DR
ConFormer introduces a conditional Transformer for accident-informed traffic forecasting, integrating graph propagation with Guided Layer Normalization to dynamically adapt spatial-temporal dependencies under incident conditions. The approach is trained and evaluated on two large incident-rich datasets (Tokyo and California), outperforming STAEFormer and other baselines while maintaining scalability and efficiency. Key contributions include the Spatiotemporal Condition Propagation, GLN-guided conditioning, and extensive ablations showing the value of incident data and dynamic normalization. The results demonstrate the method’s practical potential for resilient urban traffic management, including large-scale deployment scenarios.
Abstract
Traffic prediction remains a key challenge in spatio-temporal data mining, despite progress in deep learning. Accurate forecasting is hindered by the complex influence of external factors such as traffic accidents and regulations, often overlooked by existing models due to limited data integration. To address these limitations, we present two enriched traffic datasets from Tokyo and California, incorporating traffic accident and regulation data. Leveraging these datasets, we propose ConFormer (Conditional Transformer), a novel framework that integrates graph propagation with guided normalization layer. This design dynamically adjusts spatial and temporal node relationships based on historical patterns, enhancing predictive accuracy. Our model surpasses the state-of-the-art STAEFormer in both predictive performance and efficiency, achieving lower computational costs and reduced parameter demands. Extensive evaluations demonstrate that ConFormer consistently outperforms mainstream spatio-temporal baselines across multiple metrics, underscoring its potential to advance traffic prediction research.
