| 注册
首页|期刊导航|交通信息与安全|面向不平衡数据的SMOTE-LSTM车辆事故检测方法

面向不平衡数据的SMOTE-LSTM车辆事故检测方法

王天硕 高景伯 童盛军 李振龙 赵晓华

交通信息与安全2025,Vol.43Issue(1):52-60,73,10.
交通信息与安全2025,Vol.43Issue(1):52-60,73,10.DOI:10.3963/j.jssn.1674-4861.2025.01.005

面向不平衡数据的SMOTE-LSTM车辆事故检测方法

SMOTE-LSTM Vehicle Accident Detection Method for Imbalanced Data

王天硕 1高景伯 2童盛军 2李振龙 1赵晓华1

作者信息

  • 1. 北京工业大学城市交通学院 北京 100124
  • 2. 北京车网科技发展有限公司 北京 100176
  • 折叠

摘要

Abstract

In vehicle accident detection,the imbalance between the small number of accident vehicles and the large number of normal vehicles can lead to difficulties in accurately identifying accident vehicles,increasing the risk of misclassifying them as normal vehicles.Therefore,a vehicle accident detection algorithm based on SMOTE-LSTM is proposed.To address the data imbalance between accident and normal samples,the synthetic minority over-sam-pling technique(SMOTE)is employed to randomly insert samples between accident data points,increasing their quantity and achieving data balance between the two categories.Furthermore,when oversampling accident data,the optimal number of neighbors is selected by comparing the detection accuracy under different neighbor counts to im-prove the recognition rate of accident samples while minimizing noise interference.On this basis,long short-term memory(LSTM)networks are employed to accurately capture the temporal features of data when vehicle accidents occur.Additionally,a Dropout layer is introduced to reduce overfitting and enhance the model's generalization abili-ty,ensuring accurate accident detection.To minimize the misclassification of accident vehicles as normal,class weights are incorporated into the loss function,adjusting the weights to make the model more focused on accident sample detection.Finally,six groups of comparative experiments were conducted on a collected vehicle driving state time-series dataset.The first three groups did not use the SMOTE-LSTM-based algorithm,performing vehicle accident detection under balanced,mildly imbalanced,and moderately imbalanced conditions by increasing the number of normal samples.The latter three groups employ the SMOTE-LSTM-based algorithm to address mild,moderate,and severely imbalanced conditions.Experimental results show that,with the proposed method,the values of Precision,Recall,F1-score,G-mean,and AUC are significantly improved.Specifically,under mildly class imbalance,these five evaluation metrics increase by 56.2%,2.5%,38.7%,5.8%,and 5.4%,respectively.Under moderate class imbalance,the improvements are 75%,14.1%,59%,8.2%,and 7.8%.The results demonstrate that the proposed algorithm effectively addresses the class imbalance issue in vehicle accident detection,significantly en-hancing all evaluation metrics.Particularly in mildly and moderately imbalanced scenarios,the algorithm effective-ly enhances the recognition ability of the minority class,exhibiting strong robustness and better classification perfor-mance.

关键词

交通安全/不平衡数据/车辆事故检测/过采样技术/长短期记忆网络

Key words

traffic safety/imbalanced data/vehicle accident detection/oversampling technique/LSTM

分类

交通工程

引用本文复制引用

王天硕,高景伯,童盛军,李振龙,赵晓华..面向不平衡数据的SMOTE-LSTM车辆事故检测方法[J].交通信息与安全,2025,43(1):52-60,73,10.

交通信息与安全

OA北大核心

1674-4861

访问量0
|
下载量0
段落导航相关论文