journal article·2024-11-19Open access

Online Traffic Crash Risk Inference Method Using Detection Transformer and Support Vector Machine Optimized by Biomimetic Algorithm

Bihui Zhang, Zhuqi Li, Bingjie Li, Jingbo Zhan, Songtao Deng, Yi Fang

Biomimetics· Volume 9· Issue 11

Abstract

Despite the implementation of numerous interventions to enhance urban traffic safety, the estimation of the risk of traffic crashes resulting in life-threatening and economic costs remains a significant challenge. In light of the above, an online inference method for traffic crash risk based on the self-developed TAR-DETR and WOA-SA-SVM methods is proposed. The method’s robust data inference capabilities can be applied to autonomous mobile robots and vehicle systems, enabling real-time road condition prediction, continuous risk monitoring, and timely roadside assistance. First, a self-developed dataset for urban traffic object detection, named TAR-1, is created by extracting traffic information from major roads around Hainan University in China and incorporating Russian car crash news. Secondly, we develop an innovative Context-Guided Reconstruction Feature Network-based Urban Traffic Objects Detection Model (TAR-DETR). The model demonstrates a detection accuracy of 76.8% for urban traffic objects, which exceeds the performance of other state-of-the-art object detection models. The TAR-DETR model is employed in TAR-1 to extract urban traffic risk features, and the resulting feature dataset was designated as TAR-2. TAR-2 comprises six risk features and three categories. A new inference algorithm based on WOA-SA-SVM is proposed to optimize the parameters (C, g) of the SVM, thereby enhancing the accuracy and robustness of urban traffic crash risk inference. The algorithm is developed by combining the Whale Optimization Algorithm (WOA) and Simulated Annealing (SA), resulting in a Hybrid Bionic Intelligent Optimization Algorithm. The TAR-2 dataset is inputted into a Support Vector Machine (SVM) optimized using a hybrid algorithm and used to infer the risk of urban traffic crashes. The proposed WOA-SA-SVM method achieves an average accuracy of 80% in urban traffic crash risk inference.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Vehicle License Plate Recognition · Autonomous Vehicle Technology and Safety · IoT and GPS-based Vehicle Safety Systems

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Naval Architecture and Ocean Engineering, Jiangsu University of Science and Technology, Zhenjiang 212003, China

School of Computer and Control Engineering, Northeast Forestry University, Harbin 150040, China

College of Fisheries, Guangdong Ocean University, Zhanjiang 524088, China

Information and Communication Engineering, Hainan University, Haikou 570228, China

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China

Funding

National Natural Science Foundation of China

References (53)

Show source-provided references
1. World Health Organization (2019). Global Status Report on Road Safety 2018, World Health Organization.
2. Zhang, Y., Liu, H., Dong, D., Duan, X., Lin, F., and Liu, Z. (2024). DPF-YOLOv8: Dual Path Feature Fusion Network for Traffic Sign Detection in Hazy Weather. Electronics, 13.10.3390/electronics13204016 ↗
3. Zhu, X., Lyu, S., Wang, X., and Zhao, Q. (2021, January 11–17). TPH-YOLOv5: Improved YOLOv5 based on transformer prediction head for object detection on drone-captured scenarios. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCVW54120.2021.00312 ↗
4. Liang, Z., Wang, W., Meng, R., Yang, H., Wang, J., Gao, H., Li, B., and Fan, J. (2024). Vehicle and Pedestrian Detection Based on Improved YOLOv7-Tiny. Electronics, 13.10.3390/electronics13204010 ↗
5. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2023, January 17–24). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
6. Wang, Q., Liu, F., Cao, Y., Ullah, F., and Zhou, M. (2024). LFIR-YOLO: Lightweight Model for Infrared Vehicle and Pedestrian Detection. Sensors, 24.10.3390/s24206609 ↗
7. Jocher, G., Chaurasia, A., and Qiu, J. (2023). Ultralytics YOLOv8, Ultralytics.
8. Zhao, X., Zhang, W., Xia, Y., Zhang, H., Zheng, C., Ma, J., and Zhang, Z. (2024). G-YOLO: A Lightweight Infrared Aerial Remote Sensing Target Detection Model for UAVs Based on YOLOv8. Drones, 8.10.3390/drones8090495 ↗
9. Khalili, B., and Smyth, A.W. (2024). SOD-YOLOv8—Enhancing YOLOv8 for Small Object Detection in Aerial Imagery and Traffic Scenes. Comput. Vis. Pattern Recognit., 24.10.3390/s24196209 ↗
10. Xia, J., Li, M., Liu, W., and Chen, X. (2023). DSRA-DETR: An Improved DETR for Multiscale Traffic Sign Detection. Sustainability, 15.10.3390/su151410862 ↗
11. Yu, C., and Shin, Y. (2024). MCG-RTDETR: Multi-Convolution and Context-Guided Network with Cascaded Group Attention for Object Detection in Unmanned Aerial Vehicle Imagery. Remote Sens., 16.10.3390/rs16173169 ↗
12. Liu, Z., Sun, C., and Wang, X. (2024). DST-DETR: Image Dehazing RT-DETR for Safety Helmet Detection in Foggy Weather. Sensors, 24.10.3390/s24144628 ↗
13. Evaluating pedestrian vehicle interaction dynamics at un-signalized intersections: A proactive approach for safety analysis10.1016/j.aap.2019.105316 ↗
14. Surrogate safety analysis of pedestrian-vehicle conflict at intersections using unmanned aerial vehicle videos10.1155/2017/5202150 ↗
15. Simulated traffic conflicts: Do they accurately represent field-measured conflicts?10.3141/2514-06 ↗
16. Research on the prediction of motion trajectory and precise control method of bionic robotic fish based on LSSVR interactive network10.1016/j.oceaneng.2024.118857 ↗
17. Injury severity analysis of highway-rail grade crossing crashes in non-divided two-way traffic scenarios: A random parameters logit model10.1016/j.multra.2023.100109 ↗
18. Real-time crash risk prediction on arterials based on LSTM-CNN10.1016/j.aap.2019.105371 ↗
19. Real-time estimation of accident likelihood for safety enhancement10.1061/(ASCE)0733-947X(2005)131:5(358) ↗
20. Real-time prediction of visibility related crashes10.1016/j.trc.2012.04.001 ↗
21. Assessment of Interaction of Crash Occurrence, Mountainous Freeway Geometry, Real-Time Weather, and Traffic Data10.3141/2280-06 ↗
22. Approach-level real-time crash risk analysis for signalized intersections10.1016/j.aap.2018.07.031 ↗
23. Utilizing bluetooth and adaptive signal control data for real-time safety analysis on urban arterials10.1016/j.trc.2018.10.009 ↗
24. A study on road accident prediction and contributing factors using explainable machine learning models: Analysis and performance
25. An Alternative Method for Traffic Accident Severity Prediction: Using Deep Forests Algorithm10.1155/2020/1257627 ↗
26. An Improved Deep Learning Model for Traffic Crash Prediction10.1155/2018/3869106 ↗
27. Prediction of Traffic Accident Severity Based on Random Forest10.1155/2023/7641472 ↗
28. Gatarić, D., Ruškić, N., Aleksić, B., Đurić, T., Pezo, L., Lončar, B., and Pezo, M. (2023). Predicting Road Traffic Accidents—Artificial Neural Network Approach. Algorithms, 16.10.3390/a16050257 ↗
29. Aldhari, I., Almoshaogeh, M., Jamal, A., Alharbi, F., Alinizzi, M., and Haider, H. (2023). Severity Prediction of Highway Crashes in Saudi Arabia Using Machine Learning Techniques. Appl. Sci., 13.10.3390/app13010233 ↗
30. Analyzing the transition from two-vehicle collisions to chain reaction crashes: A hybrid approach using random parameters logit model, interpretable machine learning, and clustering10.1016/j.aap.2024.107603 ↗
31. Zhang, H. (2017). mixup: Beyond empirical risk minimization. arXiv.10.1007/978-1-4899-7687-1_79 ↗
32. A review of surrogate safety measures on road safety at unsignalized intersections in developing countries10.1016/j.aap.2023.107380 ↗
33. Muktar, B., and Fono, V. (2024). Toward Safer Roads: Predicting the Severity of Traffic Accidents in Montreal Using Machine Learning. Electronics, 13.10.20944/preprints202405.0816.v1 ↗
34. Le, K.G., Tran, Q.H., and Do, V.M. (2024). Urban Traffic Accident Features Investigation to Improve Urban Transportation Infrastructure Sustainability by Integrating GIS and Data Mining Techniques. Sustainability, 16.10.3390/su16010107 ↗
35. Temporal instability and the analysis of highway accident data
36. Sun, J., Zheng, R., Liu, X., Jiang, W., and Jia, M. (2024). A Driving Warning System for Explosive Transport Vehicles Based on Object Detection Algorithm. Sensors, 24.10.3390/s24196339 ↗
37. Ni, Z., Chen, X., Zhai, Y., Tang, Y., and Wang, Y. (2024). Context-Guided Spatial Feature Reconstruction for Efficient Semantic Segmentation. arXiv.
38. Liu, Z., Mao, H., Wu, C.Y., Feichtenhofer, C., Darrell, T., and Xie, S. (2022). A ConvNet for the 2020s. arXiv.10.1109/CVPR52688.2022.01167 ↗
39. Interpretable machine learning for evaluating risk factors of freeway crash severity10.1080/17457300.2024.2351972 ↗
40. Yang, L., Aghaabbasi, M., Ali, M., Jan, A., Bouallegue, B., Javed, M.F., and Salem, N.M. (2022). Comparative Analysis of the Optimized KNN, SVM, and Ensemble DT Models Using Bayesian Optimization for Predicting Pedestrian Fatalities: An Advance towards Realizing the Sustainable Safety of Pedestrians. Sustainability, 14.10.3390/su141710467 ↗
41. Lyu, N., Wen, J., and Hao, W. (2022). Lane-Level Regional Risk Prediction of Mainline at Freeway Diverge Area. Int. J. Environ. Res. Public Health, 19.10.3390/ijerph19105867 ↗
42. The Hiking Optimization Algorithm: A novel human-based metaheuristic approach10.1016/j.knosys.2024.111880 ↗
43. A Two-Archive Harris Hawk Optimization for Solving Many-Objective Optimal Power Flow Problems10.1109/ACCESS.2023.3337535 ↗
44. Artificial Protozoa Optimizer (APO): A novel bio-inspired metaheuristic algorithm for engineering optimization10.1016/j.knosys.2024.111737 ↗
45. Support vector machine model based on grey wolf optimization fused asymptotic
46. The whale optimization algorithm10.1016/j.advengsoft.2016.01.008 ↗
47. Optimization by simulated annealing10.1126/science.220.4598.671 ↗
48. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks10.1109/TPAMI.2016.2577031 ↗
49. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S.E., Fu, C.-Y., and Berg, A.C. (2016, January 11–14). SSD: Single Shot MultiBox Detector. Proceedings of the 14th European Conference, Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
50. Jocher, G., Chaurasia, A., Stoken, A., Borovec, J., Kwon, Y., Michael, K., Fang, J., Yifu, Z., Wong, C., and Montes, D.J.Z. (2022). ultralytics/yolov5: v7. 0-yolov5 sota realtime instance segmentation. Zenodo.
51. Wang, A., Chen, H., Liu, L., Chen, K., Lin, Z., Han, J., and Ding, G. (2024). YOLOv10: Real-Time End-to-End Object Detection. arXiv.
52. An online chatter detection and recognition method for camshaft non-circular contour high-speed grinding based on improved LMD and GAPSO-ABC-SVM10.1016/j.ymssp.2024.111487 ↗
53. Evaluation of pedestrian safety at intersections: A theoretical framework based on pedestrian-vehicle interaction patterns10.1016/j.aap.2016.07.030 ↗