Preprint / Version 1

Exploring Transfer Learning Approaches for Traffic Light Classification

##article.authors##

  • Landon Zhang Student

DOI:

https://doi.org/10.58445/rars.3469

Keywords:

Traffic light detection, Autonomous driving, Transfer learning

Abstract

Accurate traffic light detection is critical for autonomous driving, but achieving high performance in real-time systems remains challenging due to constraints in processing speed and data volume. This study examines the impact of bounding boxes and customized dense layers on a VGG16-based transfer learning model for traffic light classification. Using a dataset of 2,600 traffic scene images from Beijing, we evaluated four model variants: base VGG16, base with bounding boxes, base with added dense layers, and base with both modifications. Results demonstrate that incorporating bounding boxes substantially improves performance, achieving 97–98% accuracy compared to approximately 75% for models without bounding boxes, while also reducing loss. Adding small dense layers had minimal effect, indicating that the VGG16 base is already proficient for extracting relevant features. The confusion matrices show that bounding boxes also enhance recognition of less frequent yellow lights. These findings highlight the importance of input localization with bounding boxes over minor network modifications with dense layers for efficient and accurate traffic light detection. The study provides insights for designing transfer learning strategies in real-time autonomous driving applications.

References

Faisal Hawlader, François Robinet, Raphaël Frank, “Leveraging the edge and cloud for V2X-based real-time object detection in autonomous driving”, Computer Communications, vol. 213, pp. 372-381, Jan. 2024, https://doi.org/10.1016/j.comcom.2023.11.025.

R. Gokul, A. Nirmal, K. Bharath, M. Pranesh, and R. Karthika, "A Comparative Study between State-of-the-Art Object Detectors for Traffic Light Detection," in 2020 International Conference on Emerging Trends in Information Technology and Engineering (ic-ETITE), Vellore, India, 2020, pp. 1-6, https://doi.org/10.1109/ic-ETITE47903.2020.449.

S. Ren, K. He, R. Girshick, and J. Sun, “The Fundamental Guide to Faster R-CNN”, Viso Suite, October 5, 2024. [Online]. Available: https://viso.ai/deep-learning/faster-r-cnn-2/. [Accessed: June 5, 2025].

C. Niu and K. Li, “Traffic Light Detection and Recognition Method Based on YOLOv5s and AlexNet”, Applied Sciences, vol. 12, no.21, Art. no. 10808, Oct. 2022, https://doi.org/10.3390/app122110808.

R. Gupta, R. Angelou, and K. Pandya, “Everything you need to know about VGG16 | by Great Learning”, Medium, September 3, 2021. [Online]. Available: https://medium.com/@mygreatlearning/everything-you-need-to-know-about-vgg16-7315defb5918. [Accessed: October 26, 2025].

Downloads

Posted

2025-12-03