High-performance traffic volume prediction: An evaluation of RNN, GRU, and CNN for accuracy and computational trade-offs

Open

Andri Pranolo, Shoffan Saifullah, Agung Bella Utama, Aji Prasetya Wibawa, Muhammad Bastian, Cicin P. Hardiyanti

2025 BIO Web of Conferences Vol. 148 Conference paper Cited by 2 Quartile

Abstract

Predicting urban traffic volume presents significant challenges due to complex temporal dependencies and fluctuations driven by environmental and situational factors. This study addresses these challenges by evaluating the effectiveness of three deep learning architectures—Recurrent Neural Network (RNN), Gated Recurrent Unit (GRU), and Convolutional Neural Network (CNN)—in forecasting hourly traffic volume on Interstate 94. Using a standardized dataset, each model was assessed on predictive accuracy, computational efficiency, and suitability for real-time applications, with Mean Absolute Percentage Error (MAPE), Root Mean Square Error (RMSE), R2 coefficient, and computation time as performance metrics. The GRU model demonstrated the highest accuracy, achieving a MAPE of 2.105%, RMSE of 0.198, and R2 of 0.469, but incurred the longest computation time of 7917 seconds. Conversely, CNN achieved the fastest computation time at 853 seconds, with moderate accuracy (MAPE of 2.492%, RMSE of 0.214, R2 of 0.384), indicating its suitability for real-time deployment. The RNN model exhibited intermediate performance, with a MAPE of 2.654% and RMSE of 0.215, reflecting its limitations in capturing long-term dependencies. These findings highlight crucial tradeoffs between accuracy and efficiency, underscoring the need for model selection aligned with specific application requirements. Future work will explore hybrid architectures and optimization strategies to enhance further predictive accuracy and computational feasibility for urban traffic management. © The Authors, published by EDP Sciences.

Affiliations

Department of Informatics, Faculty of Industrial Technology, Universitas Ahmad Dahlan, Yogyakarta, 55166, Indonesia; Department of Informatics, Universitas Pembangunan Nasional Veteran Yogyakarta, Yogyakarta, 55281, Indonesia; Faculty of Computer Science, AGH University of Krakow, Krakow, 30-059, Poland; Department of Electrical Engineering and Informatics, Faculty of Engineering, Universitas Negeri Malang, Jl. Semarang no. 5, Malang, 65145, Indonesia; Scientific Publication, Universitas Ahmad Dahlan, Yogyakarta, 55166, Indonesia; Association for Scientific Computing Electrical and Engineering, Jl. Raya Janti No.130B, Karang Janbe, Karangjambe, Kec. Banguntapan, Kabupaten Bantul, Daerah Istimewa, Yogyakarta, 55198, Indonesia