基于改进YOLOv8的高速公路区段车辆异常行驶事件研究
Research on Abnormal Driving Events of Vehicles in Highway Sections Based on Improved YOLOv8
DOI: 10.12677/ojtt.2025.144050, PDF,   
作者: 常 健, 田 浩, 江 超, 唐浩东:山东高速淄博发展有限公司,山东 淄博;周 齐*, 倪 哲:山东理工大学交通与车辆工程学院,山东 淄博
关键词: 高速公路车辆异常行为YOLOv8Swin Transformer目标检测Highway Abnormal Vehicle Behavior YOLOv8 Swin Transformer Object Detection
摘要: 随着高速公路通车里程和交通流量的增加,车辆异常行驶事件引发的安全问题日益突出。传统监控手段存在效率低、漏检误检率高等不足,而基于深度学习的计算机视觉技术为解决这一问题提供了新途径。文章提出一种基于改进YOLOv8的高速公路车辆异常行为检测方法,通过引入Swin Transformer结构替换主干网络,增强模型对长距离特征和时空关联的建模能力。研究构建了包含400张图像的高速公路车辆行驶事件数据集,涵盖不同时段、天气和车辆类型。实验结果表明,改进后的模型在精确率(92.5%)、召回率(98%)和平均精确率(mAP0.5为94.4%)等指标上显著优于原始YOLOv8模型,能够有效提升高速公路车辆异常行为的检测精度和可靠性,为智能交通系统的实时监控与事故预防提供了技术支撑。
Abstract: With the increase in the mileage of expressways and traffic flow, safety issues caused by abnormal vehicle driving events have become increasingly prominent. Traditional monitoring methods suffer from low efficiency, high missed detection and false detection rates, while computer vision technology based on deep learning provides a new approach to solve this problem. This paper proposes an improved YOLOv8-based method for detecting abnormal vehicle behaviors on expressways by introducing the Swin Transformer structure to replace the backbone network, enhancing the model's ability to model long-range features and spatio-temporal correlations. A dataset of 400 images of vehicle driving events on expressways was constructed, covering different time periods, weather conditions, and vehicle types. Experimental results show that the improved model significantly outperforms the original YOLOv8 model in terms of precision (92.5%), recall (98%), and mean average precision (mAP 0.5: 94.4%), effectively improving the detection accuracy and reliability of abnormal vehicle behaviors on expressways. This study provides technical support for real-time monitoring and accident prevention in intelligent transportation systems.
文章引用:常健, 田浩, 江超, 周齐, 倪哲, 唐浩东. 基于改进YOLOv8的高速公路区段车辆异常行驶事件研究[J]. 交通技术, 2025, 14(4): 502-512. https://doi.org/10.12677/ojtt.2025.144050

参考文献

[1] 冉文文, 张会欣, 周文帅, 等. 基于YOLOv8的高速公路事件检测方法研究[J]. 中国交通信息化, 2024(10): 104-107+120.
[2] 任安虎, 李宇飞, 陈洋. 改进YOLOv8的高速公路交通异常事件检测[J]. 激光杂志, 2025, 46(1): 84-90.
[3] 温美东. 基于机器视觉的交通检测技术及应用研究[J]. 交通技术, 2024, 13(6): 388-394.
[4] Ma, Y., Xie, Z., Chen, S., Qiao, F. and Li, Z. (2023) Real-Time Detection of Abnormal Driving Behavior Based on Long Short-Term Memory Network and Regression Residuals. Transportation Research Part C: Emerging Technologies, 146, Article ID: 103983. [Google Scholar] [CrossRef
[5] 何佳桥, 葛晓东. 基于改进YOLOv5用于无人机图像的实时车辆检测[J]. 软件工程与应用, 2023, 12(5): 705-713.
[6] 郭雨. 基于轻量化改进型YOLOv5的车辆检测方法[J]. 建模与仿真, 2023, 12(3): 1840-1849.
[7] 毛紫薇, 周正康, 唐加山. 基于改进YOLOv8的公路车辆火灾检测算法研究[J]. 无线电工程, 2025, 55(5): 920-927.
[8] Mane, D.T., Sangve, S., Kandhare, S., Mohole, S., Sonar, S. and Tupare, S. (2023) Real-Time Vehicle Accident Recognition from Traffic Video Surveillance Using YOLOV8 and OpenCV. International Journal on Recent and Innovation Trends in Computing and Communication, 11, 250-258. [Google Scholar] [CrossRef
[9] Guo, H., Zhang, Y., Chen, L., et al. (2024) Research on Vehicle Detection Based on Improved YOLOv8 Network.
[10] Dou, H., Chen, S., Xu, F., Liu, Y. and Zhao, H. (2025) Analysis of Vehicle and Pedestrian Detection Effects of Improved YOLOv8 Model in Drone-Assisted Urban Traffic Monitoring System. PLOS ONE, 20, e0314817. [Google Scholar] [CrossRef] [PubMed]
[11] 冯晶. 基于YOLOv8的航拍车辆检测技术研究[J]. 计算机科学与应用, 2023, 13(12): 2399-2407.
[12] 陈伟, 王晓龙, 张晏玮, 等. 基于改进YOLOv8的高速公路服务区车辆违停检测[J]. 计算机工程, 2024, 50(4): 11-19.
[13] Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., et al. (2021) Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows. 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, 10-17 October 2021, 9992-10002. [Google Scholar] [CrossRef
[14] Srinivas, A., Lin, T., Parmar, N., Shlens, J., Abbeel, P. and Vaswani, A. (2021) Bottleneck Transformers for Visual Recognition. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, 20-25 June 2021, 16514-16524. [Google Scholar] [CrossRef
[15] 冯迎宾, 刘艾妮. 基于YOLOv8n的夜间车辆检测[J]. 沈阳理工大学学报, 2025, 44(2): 1-6+12.
[16] 罗杨, 王威威, 李熹. 基于改进YOLOv8的夜间车辆检测方法[J]. 工业控制计算机, 2025, 38(3): 80-82.