Volume 41 Issue 3
Jun.  2023
Turn off MathJax
Article Contents
CHEN Junyu, LI Jinlong, XU Lunhui, WU Pan, LIN Yongjie. An Automatic Detection Method for Traffic Accidents Based on ADASYN-XGBoost[J]. Journal of Transport Information and Safety, 2023, 41(3): 12-22. doi: 10.3963/j.jssn.1674-4861.2023.03.002
Citation: CHEN Junyu, LI Jinlong, XU Lunhui, WU Pan, LIN Yongjie. An Automatic Detection Method for Traffic Accidents Based on ADASYN-XGBoost[J]. Journal of Transport Information and Safety, 2023, 41(3): 12-22. doi: 10.3963/j.jssn.1674-4861.2023.03.002

An Automatic Detection Method for Traffic Accidents Based on ADASYN-XGBoost

doi: 10.3963/j.jssn.1674-4861.2023.03.002
  • Received Date: 2022-09-22
    Available Online: 2023-09-16
  • A data-driven approach for automatic detection of road traffic accidents plays an important role in timely rescue and reducing the impact of road accidents. In order to solve the sample imbalance problem in automatic detection of traffic accidents a hybrid adaptive oversampling technique and extreme gradient boosting tree algorithm (ADASYN-XGBoost) is studied. In particular, to effectively mine the intrinsic correlation law between spatio-temporal feature of the data and accident occurrence form the unbalanced traffic accident samples. The initial combinations of feature variable are set. And to improve the quality of the training data, the adaptive synthetic oversampling method (ADASYN) is introduced to balance the number of samples between the accident class and the non-accident class. To improving the detection effect, a traffic accident detection model based on extreme gradient boosting (XGBoost) is developed, which is utilized to filter the features of the enhanced data samples. Finally, to obtain the best combination of parameters, a Bayesian optimization algorithm is used to quickly calibrate the parameters of XGBoost. In this paper, the ADASYN-XGBoost method is validated and investigated using the Portland Freeway dataset. The results show that ADASYN-XGBoost optimizes all detection metrics compared to the state-of-the-art benchmark model. The F1 score reaches 94.47% and the false detection rate is as low as 8.95%. The F1 scores of ADASYN-XGBoost are 94.47%, 88.89%, and 81.93% when the number of model training samples are 2800, 500 (18% of the initial sample size), and 150 (5% of the initial sample size). In further ablation experiments, the performance indexes of each benchmark model after equalizing positive and negative samples are improved by 2.68% to 44.85%. The method proposed in this paper can effectively solve the sample imbalance problem in detection of road traffic accidents, which also provides technical support for road traffic safety prevention and accident management.

     

  • loading
  • [1]
    赵超, 谢天, 辛国容, 等. 基于Seq2Seq自编码器模型的交通事故实时检测与评价[J]. 控制与决策, 2022, 37(8): 2141-2148. https://www.cnki.com.cn/Article/CJFDTOTAL-KZYC202208026.htm

    ZHAO C, XIE T, XIN G R, et al, Real-time traffic accident detection and evaluation based on Seq2Seq and auto-encode model[J]. Control and Decision, 2022, 37(8): 2141-2148. (in Chinese) https://www.cnki.com.cn/Article/CJFDTOTAL-KZYC202208026.htm
    [2]
    CHEN J Y, WU P, LI J L, et al. More robust and better: Automatic traffic incident detection based on XGBoost[C]. 5th International Symposium on Traffic Transportation and Civil Architecture, Suzhou, China: CRC Press, 2023.
    [3]
    李红伟, 姜桂艳, 李素兰, 等. 基于突变强度的交通事件自动检测算法[J]. 交通运输系统工程与信息, 2019, 19(5): 59-65. https://www.cnki.com.cn/Article/CJFDTOTAL-YSXT201905009.htm

    LI H W, JIANG G Y, LI S L, et al. An automatic incident detection algorithm based on mutation strength[J]. Journal of Transportation Systems Engineering and Information Technology, 2019, 19(5): 59-65. (in Chinese) https://www.cnki.com.cn/Article/CJFDTOTAL-YSXT201905009.htm
    [4]
    龙琼, 胡列格, 张谨帆, 等. 基于尖点突变理论模型的交通事故检测[J]. 土木工程学报, 2015, 48(9): 112-116. https://www.cnki.com.cn/Article/CJFDTOTAL-TMGC201509017.htm

    LONG Q, HU L G, ZHANG J F, et al. Traffic incident detection based on the cusp catastrophe theory model[J]. China Civil Engineering Journal, 2015, 48(9): 112-116. (in Chinese) https://www.cnki.com.cn/Article/CJFDTOTAL-TMGC201509017.htm
    [5]
    尹春娥, 陈宽民, 万继志. 基于小波方程的高速公路交通事故自动检测方法[J]. 中国公路学报, 2014, 27(12): 106-112. https://www.cnki.com.cn/Article/CJFDTOTAL-ZGGL201412018.htm

    YIN C E, CHEN K M, WAN J Z. Automatic detection method for expressway traffic accidents based on wavelet equation[J] China Journal of Highway and Transport, 2014, 27 (12): 106-112. (in Chinese) https://www.cnki.com.cn/Article/CJFDTOTAL-ZGGL201412018.htm
    [6]
    LI J L, SUN L J, LI Y S, et al. Rapid prediction of acid detergent fiber content in corn stover based on NIR-spectroscopy technology[J]. Optik, 2019(180): 34-45.
    [7]
    CHEU R L, RITCHIE S G. Automated detection of lane-blocking freeway incidents using artificial neural networks[J]. Transportation Research Part C: Emerging Technologies, 1995, 3(6): 371-388. doi: 10.1016/0968-090X(95)00016-C
    [8]
    ISHAK S, AL-DEEK H. Performance of automatic ANN-based incident detection on freeways[J]. Journal of Transportation Engineering, 1999, 125(4): 281-290. doi: 10.1061/(ASCE)0733-947X(1999)125:4(281)
    [9]
    SRINIVASAN D, JIN X, CHEU R L. Adaptive neural network models for automatic incident detection on freeways[J]. Neurocomputing, 2005(64): 473-496.
    [10]
    YUAN F, CHEU R L. Incident detection using support vector machines[J]. Transportation Research Part C: Emerging Technologies, 2003, 11(3-4): 309-328.
    [11]
    LIU Q, LU J, CHEN S, et al. Multiple Naïve bayes classifiers ensemble for traffic incident detection[J]. Mathematical Problems in Engineering, 2014(16): 383671.
    [12]
    XIAO J. SVM and KNN ensemble learning for traffic incident detection[J]. Physica A: Statistical Mechanics and its Applications, 2019(517): 29-35.
    [13]
    JIANG H, DENG H. Traffic incident detection method based on factor analysis and weighted random forest[J]. IEEE Access, 2020(8): 168394-168404.
    [14]
    DOGRU N, SUBASI A. Traffic accident detection using random forest classifier[C]. 15th Learning and Technology Conference(L&T), Jeddah, Saudi Arabia: IEEE, 2018.
    [15]
    PARSA A B, TAGHIPOUR H, DERRIBLE S, et al. Real-time accident detection: coping with imbalanced data[J]. Accident Analysis & Prevention, 2019(129): 202-210.
    [16]
    CHAWLA N V, BOWYER K W, HALL L O, et al. SMOTE: synthetic minority over-sampling technique[J]. Journal of Artificial Intelligence Research, 2002(16): 321-357.
    [17]
    XIE T, SHANG Q, YU Y. Automated traffic incident detection: Coping with imbalanced and small datasets[J]. IEEE Access, 2022(10): 35521-35540.
    [18]
    HE H, BAI Y, GARCIA E A, et al. ADASYN: Adaptive synthetic sampling approach for imbalanced learning[C]. 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China: IEEE, 2008.
    [19]
    CHEN T, GUESTRIN C. Xgboost: A scalable tree boosting system[C]. The 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, USA: ACM, 2016.
    [20]
    肖宇, 赵建有, 叱干都, 等. 基于XGBoost的短时出租车速度预测模型[J]. 交通信息与安全, 2022, 40(3): 163-170. doi: 10.3963/j.jssn.1674-4861.2022.03.017

    XIAO Y, ZHAO J Y, CHI G D, et al. A short-term prediction model for taxi speed based on XGBoost[J] Journal of Transport Information and Safety, 2022, 40(3): 163-170. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2022.03.017
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Figures(5)  / Tables(4)

    Article Metrics

    Article views (771) PDF downloads(44) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return