Jianglin Lu , Chunjiao Dong , Xuedong Yan , Jingjun Li , Zhenzhen Lu
{"title":"Exploring spatiotemporal heterogeneity and nonlinear effects in electric vehicle crash risk prediction: A hybrid modeling approach","authors":"Jianglin Lu , Chunjiao Dong , Xuedong Yan , Jingjun Li , Zhenzhen Lu","doi":"10.1016/j.aap.2025.108357","DOIUrl":null,"url":null,"abstract":"<div><div>Electric vehicle (EV)-related risk and uncertainty pose critical challenges for urban traffic management. Fine-grained crash risk prediction at 1 km × 1 km and hour-of-day resolution remains difficult due to rapidly evolving, strongly spatiotemporally heterogeneous crash patterns. Crash risk research spans risk measurement, prediction modeling, and factor selection, with a move toward interpretable nonlinear hybrid methods, yet temporal dynamics and local heterogeneity remain insufficiently modeled. This study addresses these limitations by first constructing a Spatio-Temporal Adaptive Network Kernel Density Estimation (ST-ANKDE) method that combines network-constrained proximity, cyclic time weighting, severity weighting, and adaptive bandwidths, and then developing a Multiscale Geographically and Temporally Weighted Regression–Extreme Gradient Boosting (MGTWR-XGBoost) method to learn local heterogeneity and nonlinear effects. To capture the influence of preceding periods and adjacent grids, we introduce temporal and spatial weighted crash risk variables (T-AccRisk and S-AccRisk). These are analyzed alongside road-network density, built-environment variables, socioeconomic variables, and EV-specific infrastructure variables. An empirical case study on 14,818 EV crashes shows that ST-ANKDE effectively captures crash risk dynamics, with a mean value of 6.57, and reveals pronounced spatiotemporal heterogeneity. The results show that MGTWR-XGBoost, enhanced by S-AccRisk and T-AccRisk to capture spatiotemporal dependence, achieves MAE = 1.54 and RMSE = 2.06 and outperforms standalone machine learning and other hybrid methods; road-network density, built-environment features, population density, and EV infrastructure coefficients exhibit significant spatiotemporal heterogeneity. Moreover, SHapley Additive exPlanations (SHAP) further analyzes nonlinear effects. These findings enable grid-level early warning, priority targeting of high-risk periods/locations, and data-driven deployment of enforcement and infrastructure for EV safety management.</div></div>","PeriodicalId":6926,"journal":{"name":"Accident; analysis and prevention","volume":"226 ","pages":"Article 108357"},"PeriodicalIF":7.4000,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Accident; analysis and prevention","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0001457525004452","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/12/20 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ERGONOMICS","Score":null,"Total":0}
引用次数: 0
Abstract
Electric vehicle (EV)-related risk and uncertainty pose critical challenges for urban traffic management. Fine-grained crash risk prediction at 1 km × 1 km and hour-of-day resolution remains difficult due to rapidly evolving, strongly spatiotemporally heterogeneous crash patterns. Crash risk research spans risk measurement, prediction modeling, and factor selection, with a move toward interpretable nonlinear hybrid methods, yet temporal dynamics and local heterogeneity remain insufficiently modeled. This study addresses these limitations by first constructing a Spatio-Temporal Adaptive Network Kernel Density Estimation (ST-ANKDE) method that combines network-constrained proximity, cyclic time weighting, severity weighting, and adaptive bandwidths, and then developing a Multiscale Geographically and Temporally Weighted Regression–Extreme Gradient Boosting (MGTWR-XGBoost) method to learn local heterogeneity and nonlinear effects. To capture the influence of preceding periods and adjacent grids, we introduce temporal and spatial weighted crash risk variables (T-AccRisk and S-AccRisk). These are analyzed alongside road-network density, built-environment variables, socioeconomic variables, and EV-specific infrastructure variables. An empirical case study on 14,818 EV crashes shows that ST-ANKDE effectively captures crash risk dynamics, with a mean value of 6.57, and reveals pronounced spatiotemporal heterogeneity. The results show that MGTWR-XGBoost, enhanced by S-AccRisk and T-AccRisk to capture spatiotemporal dependence, achieves MAE = 1.54 and RMSE = 2.06 and outperforms standalone machine learning and other hybrid methods; road-network density, built-environment features, population density, and EV infrastructure coefficients exhibit significant spatiotemporal heterogeneity. Moreover, SHapley Additive exPlanations (SHAP) further analyzes nonlinear effects. These findings enable grid-level early warning, priority targeting of high-risk periods/locations, and data-driven deployment of enforcement and infrastructure for EV safety management.
期刊介绍:
Accident Analysis & Prevention provides wide coverage of the general areas relating to accidental injury and damage, including the pre-injury and immediate post-injury phases. Published papers deal with medical, legal, economic, educational, behavioral, theoretical or empirical aspects of transportation accidents, as well as with accidents at other sites. Selected topics within the scope of the Journal may include: studies of human, environmental and vehicular factors influencing the occurrence, type and severity of accidents and injury; the design, implementation and evaluation of countermeasures; biomechanics of impact and human tolerance limits to injury; modelling and statistical analysis of accident data; policy, planning and decision-making in safety.