2607004671
  • Open Access
  • Article

An Enhanced YOLOv8 Algorithm with C2f_Parnet for Vehicle and Pedestrian Detection

  • Jun Peng 1,2,*,   
  • Wei Wang 1,   
  • Yuanmin He 3,   
  • Shangzhu Jin 2,4,   
  • Jingxin Liu 1,2,   
  • Mou Zhou 2

Received: 08 Apr 2026 | Revised: 26 Jun 2026 | Accepted: 21 Jul 2026 | Published: 03 Aug 2026

Abstract

This paper proposes enhancements to the YOLOv8s model for autonomous driving object detection tasks. Firstly, a C2f_Parnet module is designed based on the Parnet parallel network architecture to reduce network depth and computational latency. Secondly, GSConv is modified by employing dual 3 × 3 convolutions to decrease parameter count. Thirdly, L2-scored structural pruning is introduced to compress redundant channels. Finally, detection accuracy is improved using EIoU loss. Experiments on the KITTI dataset demonstrate that the improved model maintains a mAP50 of 0.917. The performance of this model is almost comparable to the original model (0.939), but with parameters reduced to 11 million and GFLOPs decreased to 26.2. Compared with other methods, L2 pruning achieved the highest mAP50-95 score of 0.753. In complex traffic environments, this model demonstrates robust real-time detection capabilities, can be flexibly deployed, and is a useful choice for lightweight detection in autonomous driving.

References 

  • 1.

    Zhou, Y.; Hu, D.; Wang, D.; et al. Review on Research and Application of Deep Learning-Based Target Detection Algorithms. Comput. Eng. Appl. 2023, 59, 1–13. (In Chinese)

  • 2.

    Girshick, R.; Donahue, J.; Darrell, T.; et al. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 580–587.

  • 3.

    Liu, W.; Anguelov, D.; Erhan, D.; et al. SSD: Single Shot Multibox Detector. In Computer Vision—ECCV 2016; Springer: Cham, Switzerland, 2016; pp. 21–37.

  • 4.

    Redmon, J.; Divvala, S.; Girshick, R.; et al. You Only Look Once: Unified, Real-Time Object Detection. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788.

  • 5.

    Varghese, R.; Sambath, M. YOLOv8: A Novel Object Detection Algorithm with Enhanced Performance and Robustness. In Proceedings of the 2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS), Chennai, India, 18–19 April 2024; pp. 1–6.

  • 6.

    Zhang, M.; Zhang, J.; Peng, Y.; et al. FreqDyn-YOLO: A High-Performance Multi-Scale Feature Fusion Algorithm for Detecting Plastic Film Residues in Farmland. Sensors 2025, 25, 4888.

  • 7.

    Xie, Y.; Du, D.; Liu, Y. RE-YOLO: Vehicle Detector Based on Knowledge Distillation YOLOv8 for Autonomous Driving Scenarios. J. Comput. Civ. Eng. 2025, 39, 04025084.

  • 8.

    Duan, H.; Zhang, Y.; Zhu, S.; et al. Lightweight Multi-Scale Vehicle Object Detection Algorithm Based on Optimized YOLOv8. Pattern Anal. Appl. 2025, 28, 183.

  • 9.

    Zhao, Z.; Chen, S.; Zhang, P.; et al. Research on the Construction of Real-Time Vehicle Detection Model Based on YOLOv8-BASW. IEEE Access 2025, 13, 183519–183533.

  • 10.

    Li, H.; Li, Y.; Xiao, L.; et al. RLRD-YOLO: An Improved YOLOv8 Algorithm for Small Object Detection from an Unmanned Aerial Vehicle (UAV) Perspective. Drones 2025, 9, 293.

  • 11.

    Shao, Z.; He, K.; Yuan, B.; et al. Enhanced YOLOv8 Framework for Precision Vehicle Detection in High-Resolution Remote Sensing Images. Signal Image Video Process. 2025, 19, 218.

  • 12.

    Ma, X.; Zhou, M.; Zhu, H.; et al. Research on Pedestrian and Vehicle Detection Method Based on Improved YOLOv8 Model. Signal Image Video Process. 2025, 19, 1167.

  • 13.

    Liu, Q.; Ye, H.; Wang, S.; et al. YOLOv8-CB: Dense Pedestrian Detection Algorithm Based on In-Vehicle Camera. Electronics 2024, 13, 236.

  • 14.

    Sun, F.; Du, L.; Dai, Y. PyQt5-Powered Frontend for Advanced YOLOv8 Vehicle Detection in Challenging Backgrounds. IET Wirel. Sens. Syst. 2025, 15, e70001.

  • 15.

    Lv, C.; Mittal, U.; Madaan, V.; et al. Vehicle Detection and Classification Using an Ensemble of EfficientDet and YOLOv8. PeerJ Comput. Sci. 2024, 10, e2233.

  • 16.

    Bakirci, M. Advanced Aerial Monitoring and Vehicle Classification for Intelligent Transportation Systems with YOLOv8 Variants. J. Netw. Comput. Appl. 2025, 237, 104134.

  • 17.

    Dou, H.; Chen, S.; Xu, F.; et al. Analysis of Vehicle and Pedestrian Detection Effects of Improved YOLOv8 Model in Drone-Assisted Urban Traffic Monitoring System. PLoS One 2025, 20, e0314817.

  • 18.

    Du, D.; Xie, Y. Vehicle and Pedestrian Detection Algorithm in an Autonomous Driving Scene Based on Improved YOLOv8. J. Transp. Eng. Part A Syst. 2025, 151, 04024095.

  • 19.

    Liu, Y.; Shen, S. Vehicle Detection and Tracking Based on Improved YOLOv8. IEEE Access 2025, 13, 24793–24803.

  • 20.

    Goyal, A.; Bochkovskiy, A.; Deng, J.; et al. Non-Deep Networks. Adv. Neural Inf. Process. Syst. 2022, 35, 6789–6801.

  • 21.

    Li, H.; Li, J.; Wei, H.; et al. Slim-Neck by GSConv: A Better Design Paradigm of Detector Architectures for Autonomous Vehicles. arXiv 2022, arXiv:2206.02424.

  • 22.

    Evci, U.; Gale, T.; Menick, J.; et al. Rigging the Lottery: Making All Tickets Winners. In Proceedings of the 37th International Conference on Machine Learning, Online, 13–18 July 2020; pp. 2943–2952.

  • 23.

    Gale, T.; Elsen, E.; Hooker, S. The State of Sparsity in Deep Neural Networks. arXiv 2019, arXiv:1902.09574.

  • 24.

    He, Y.; Xiao, L. Structured Pruning for Deep Convolutional Neural Networks: A Survey. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 2900–2919.

  • 25.

    Zhang, Y.F.; Ren,W.; Zhang, Z.; et al. Focal and Efficient IOU Loss for Accurate Bounding Box Regression. Neurocomputing 2022, 506, 146–157.

  • 26.

    Geiger, A.; Lenz, P.; Stiller, C.; et al. Vision Meets Robotics: The KITTI Dataset. Int. J. Robot. Res. 2013, 32, 1231–1237.

Share this article:
How to Cite
Peng, J.; Wang, W.; He, Y.; Jin, S.; Liu, J.; Zhou, M. An Enhanced YOLOv8 Algorithm with C2f_Parnet for Vehicle and Pedestrian Detection. Journal of Machine Learning and Information Security 2026, 2 (3), 17. https://doi.org/10.53941/jmlis.2026.100017.
RIS
BibTex
Copyright & License
article copyright Image
Copyright (c) 2026 by the authors.