Optimization of YOLOv8 Traffic Sign Object Detection Based on BiFPN Feature Pyramid and CBAM Attention Module
Abstract
Based on the urgent need for urban road safety and autonomous driving, this study proposes to integrate BiFPN feature pyramid and CBAM attention module in YOLOv8 to enhance the robustness of traffic sign and signal detection. The experiment was validated on a test set of 801 images and 944 targets, and the overall accuracy of the model reached 0.739, recall 0.654, mAP50 0.723, and mAP50-95 0.631, which were significantly better than the baseline and improved by 5.2%, 1%, 2.8%, and 2.15%, respectively, confirming that the improved strategy effectively reduced false positives and improved the consistency of positioning classification. The subdivision results show that due to its high contrast and regular shape, the stop sign almost achieves zero missed detection, and the accuracy and mAP50 are close to 1; mAP50 for the three speed limits of 20, 60, and 70 km/h all exceeded 0.82 under sufficient sample conditions and remained above 0.75 on the more rigorous mAP50-95 metric, indicating good generalization of scale and illumination variations; While the 100 and 120 km/h speed limit data are scarce, mAP50 still reaches 0.77 and 0.85, indicating that the network has adequately learned the common characteristics of circular speed limit signs; In contrast, signal lights such as red lights are small in scale, complex in background, mAP50-95 is less than 0.35, and the recall rate is low, which is the focus of future optimization. Overall, current models are mature for high-contrast and regular-shaped signs. The next step should focus on improving the recall rate of small sample categories and traffic lights through difficult case mining, multi-scale training, and targeted data enhancement. The gap between mAP50 and mAP50-95 should be narrowed at higher IoU thresholds to meet the high reliability requirements of real road scenarios. This study not only verifies the effectiveness of BiFPN + CBAM in traffic sign detection, but also provides a reference for improving low-sample class and small object detection, which has positive implications for promoting the safe implementation of intelligent transportation systems and autonomous driving.
References
- Taslim Arif, et al."Vision-based real-time traffic flow monitoring system for road intersections in Dhaka city."Applied Intelligence 55.11(2025): 800-800.
- Amir T. Mohamed, et al."Integrating EnlightenGAN for enhancing car logo detection under challenging lighting conditions."Multimedia Tools and Applications prepublish(2025): 1-28.
- Wang, Xueqiu, et al. "BL-YOLOv8: An improved road defect detection model based on YOLOv8." Sensors 23.20 (2023): 8361.
- Aswath S., et al."Smart Car Parking System with Online Reservation."Procedia Computer Science 258.(2025): 2777-2786.
- XinyunFeng, et al."ADWNet: An improved detector based on YOLOv8 for application in adverse weather for autonomous driving."IET Intelligent Transport Systems 18.10(2024): 1962-1979.
- Do Yoon Jung, Yeon Jae Oh, and Nam Ho Kim."A Study on GAN-Based Car Body Part Defect Detection Process and Comparative Analysis of YOLO v7 and YOLO v8 Object Detection Performance."Electronics 13.13(2024): 2598-2598.
- Sonkavde, Gaurang, et al. "Forecasting stock market prices using machine learning and deep learning models: A systematic review, performance analysis and discussion of implications." International Journal of Financial Studies 11.3 (2023): 94.
- Shrotriya, Lalit, et al. "Cryptocurrency algorithmic trading with price forecasting analysis using PowerBI." International Journal of Engineering, Science and Technology 15.4 (2023): 1-8.
- Yuwei Hu."Improved YOLOv8 algorithm for vehicle image target detection based on learning rate optimisation strategy".Ed.2024,
- Gao, Jie. "Research on stock price forecast based on Arima-GARCH model." MSIEID 2022: Proceedings of the 4th Management Science Informatization and Economic Innovation Development Conference, MSIEID 2022, December 9-11, 2022, Chongqing, China. European Alliance for Innovation, 2023.