Recognizing Risk Driving Behaviors with an Improved Crested Porcupine Optimizer and XGBoost
The effective recognition of risky driving behaviors holds technical potential for supporting accident prevention and sustainable transportation. However, existing intelligent algorithms for optimizing deep learning models in this field often suffer from slow convergence and high errors. This study proposes a novel hybrid model (ICPO-XGBoost) for risky driving behavior classification. The improved crested porcupine optimizer (ICPO) was developed using logistic-tent composite mapping for population initialization, a hybrid mechanism combining refraction opposition-based learning and Cauchy mutation to avoid local optima, and an adaptive variable spiral search with inertia weight to balance global and local search. The ICPO was then employed to optimize the hyperparameters of the XGBoost classifier. The ICPO demonstrated superior optimization accuracy and convergence speed compared to benchmark algorithms. The ICPO-XGBoost model achieved accuracy, precision, recall, and F1 scores of 96.2%, 95.4%, 95.8%, and 95.6%, respectively, for classifying and identifying risky driving behaviors. Compared to various benchmark models, these results represent increases of 12.7–24.8%, 14.8–31.8%, 14.9–31.0%, and 15.0–32.4%, respectively. For specific driving behavior categories (normal driving, slow driving, short-distance tailgating, sudden acceleration/deceleration, frequent lane changing, and forced lane changing), the precision, recall, and F1 scores of the ICPO-XGBoost model fell within the ranges of 84.8–99.2%, 87.5–100.0%, and 86.2–99.2%, respectively. Compared to benchmark models, these metrics show increases of 1.5–75.8%, 5.8–68.1%, and 3.3–72.6%, respectively. Notably, the model significantly improved accuracy in identifying sudden acceleration/deceleration behaviors. The results of this model facilitate the classification and early warning of risky driving behaviors, thereby reducing the frequency of such behaviors, lowering the risk of traffic accidents, and enhancing road traffic safety.
Authors
- Yuan Li (ORCID: https://orcid.org/0000-0002-3897-9942)
- Tong Shen (ORCID: https://orcid.org/0000-0002-7640-3530)
- Qingling He
- Juan Su
- Xue You
- Fuli Tang
- Shenglin Luo
- Xiaojuan Lu
Institutions
- Lanzhou Jiaotong University (CN)
- Shuozhou Central Hospital (CN)
- Xi'an University of Technology (CN)
Publication Details
- Journal
- Sustainability
- Published
- 2026-03-12
- DOI
- https://doi.org/10.3390/su18062804
- Primary Topic
- Traffic and Road Safety
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Lanzhou Jiaotong University