RiskOracle: A Minute-Level Citywide Traffic Accident Forecasting Framework

Zhengyang Zhou, Yang Wang, Xike Xie, Lianliang Chen, Hengchang Liu

TL;DR

This paper introduces RiskOracle, a novel framework for minute-level traffic accident forecasting. It addresses the challenges of data sparsity and dynamic urban environments by employing a Differential Time-varying Graph Neural Network (DTGN) and a multi-task learning approach to capture complex spatiotemporal correlations and identify high-risk areas.

What Problem Does This Paper Address?

Predicting traffic accidents in real-time is crucial for public safety and efficient urban management, enabling timely route planning and emergency response. Existing methods often forecast on an hourly basis, which is insufficient for immediate safety needs. The core challenge in achieving finer-grained, minute-level predictions lies in the highly dynamic nature of road networks and the inherent rarity of accident data. This sparsity leads to "zero-inflated" issues where models tend to predict no accidents, and biased results that fail to capture the true risk distribution. Furthermore, capturing the constantly changing relationships between different urban regions over time is critical, as these correlations can shift significantly throughout the day.

Methods

RiskOracle tackles these challenges through a multi-stage framework:

  • Data Preprocessing:
    • Addressing Zero-Inflated Issues: A "Prior Knowledge-Based Data Enhancement" (PKDE) strategy is introduced. This involves transforming zero-risk values in the training labels into negative values, which are then further transformed into a statistical accident intensity. This helps the model learn from rare events without being overwhelmed by the zero-inflated data.
  • Co-sensing Strategy: To overcome insufficient real-time traffic data, a co-sensing strategy is employed, leveraging a modified SpatioTemporal Deep Factorization Machine (ST-DFM) to infer missing traffic information by considering interactions between static road network features and dynamic traffic data.
  • Model Training (Multi-task DTGN):
    • Differential Time-varying Graph Convolutional Network (DTGN): This is the core of the framework. It incorporates:
  • Time-varying Overall Affinity Matrix: This matrix captures the dynamic correlations between urban subregions, considering both static road network features and time-varying traffic conditions (like traffic volume and speed).
  • Differential Feature Generator: This component focuses on abnormal changes in traffic status within adjacent time intervals, as these variations are often strong indicators of impending accidents.
  • Multi-task Learning: To enhance prediction and guide region selection, a multi-task approach is used:
  • Main Task: Predicting the distribution of accident risks.
  • Auxiliary Task 1: Predicting regional traffic volume to capture human activity intensity.
  • Auxiliary Task 2: Predicting the total number of accidents within larger rectangular regions to capture hierarchical accident distributions.
  • Prediction (Hierarchical Accident Region Selection - HARS):
    • Based on the learned hierarchical accident distributions from the multi-task learning, a HARS strategy is employed. This strategy selects the most likely accident subregions based on their predicted risk, adapting to the imbalanced nature of accidents across different urban areas and avoiding a one-size-fits-all threshold.

Datasets

The framework is evaluated on two real-world datasets:

  • NYC Opendata: This dataset includes taxi trip data (as a proxy for human mobility), speed values, and accident records.
  • Suzhou Industrial Park (SIP) dataset: This dataset contains traffic flows, speed values, weather data, and accident records.

The paper does not introduce a new benchmark dataset but uses existing ones to demonstrate the effectiveness of their proposed framework.

Key Insights and Ideas

  • Minute-level forecasting is feasible and necessary: The paper demonstrates that achieving accurate predictions at a minute-level is possible and significantly more valuable for real-time safety applications than hourly forecasts.
  • Dynamic correlations are key: The success of the framework hinges on its ability to capture time-varying relationships between urban subregions, which are more indicative of immediate accident risks than static correlations.
  • Handling rare events is crucial: The zero-inflated issue is a major hurdle in accident prediction. The PKDE strategy provides an effective way to leverage sparse accident data.
  • Hierarchical prediction aids interpretability and accuracy: By breaking down the city into hierarchical regions and using multi-task learning, the model can better understand spatial heterogeneities and focus on the most probable accident locations.
  • Multi-source data fusion is powerful: Combining static road network information with dynamic traffic data and external factors (like weather, though not explicitly detailed in the methods section for this part) leads to more robust predictions.

Key Results

  • RiskOracle significantly outperforms several state-of-the-art baselines (ARIMA, Hetero-ConvLSTM, ST-ResNet, SDAE, SDCAE) on both the NYC and SIP datasets for both 30-minute and 10-minute interval predictions.
  • On the NYC dataset, RiskOracle improves accuracy by 22.49% compared to the best baseline on Acc@20 for 30-minute intervals.
  • The framework shows a sharper decrease in performance for baselines as temporal granularity increases, highlighting RiskOracle's robustness and scalability for short-term, sparse forecasting.
  • The ablation studies confirm that the time-varying overall affinity and the PKDE strategy contribute most significantly to the performance gains.

Limitations and Future Work

  • Data Imbalance in SIP: The authors note that the performance on the SIP dataset might be lower than NYC due to potential incompleteness of accident labels.
  • External Factors Integration: While external factors like timestamps and meteorological data are mentioned as being embedded, the detailed impact and integration strategy for these factors could be further explored.
  • Computational Cost: While the paper states that computation meets real-time requirements, the complexity of the DTGN and multi-task learning might still be a consideration for extremely resource-constrained environments.

Future work could involve exploring more sophisticated methods for handling extreme data sparsity, integrating a wider range of real-time external factors (e.g., social media data, event information), and potentially extending the framework to predict accident severity or types.

Summary updated

Abstract

Real-time traffic accident forecasting is increasingly important for public safety and urban management (e.g., real-time safe route planning and emergency response deployment). Previous works on accident forecasting are often performed on hour levels, utilizing existing neural networks with static region-wise correlations taken into account. However, it is still challenging when the granularity of forecasting step im- proves as the highly dynamic nature of road network and inherent rareness of accident records in one training sample, which leads to biased results and zero-inflated issue. In this work, we propose a novel framework RiskOracle, to improve the prediction granularity to minute levels. Specifically, we first transform the zero-risk values in labels to fit the training network. Then, we propose the Differential Time-varying Graph neural network (DTGN) to capture the immediate changes of traffic status and dynamic inter-subregion correlations. Furthermore, we adopt multi-task and region selection schemes to highlight citywide most-likely accident subregions, bridging the gap between biased risk values and sporadic accident distribution. Extensive experiments on two real-world datasets demonstrate the effectiveness and scalability of our RiskOracle framework.
BibTeX
@inproceedings{zhou2020riskoracle,
  author = {Zhengyang Zhou and Yang Wang and Xike Xie and Lianliang Chen and Hengchang Liu},
  title = {{RiskOracle: A Minute-Level Citywide Traffic Accident Forecasting Framework}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i01.5480},
}
Figure