Hybrid Deep Learning and Agent-Based Modeling for Dynamic Urban Traffic Forecasting in Smart Cities

Authors

  • Charlene Mae Gonzales Universidad de Zaragoza, Zaragoza, Spain
  • Dominic Rafael Salazar Universidad de Zaragoza, Zaragoza, Spain
  • Stephanie Nicole Uy Universidad de Zaragoza, Zaragoza, Spain
  • Raymond Christopher Lim Universidad de Zaragoza, Zaragoza, Spain

Keywords:

Smart Cities, Urban Traffic Forecasting, Deep Learning, Agent-Based Modeling, Intelligent Transportation Systems, Hybrid Modeling Approach

Abstract

Urban traffic systems are becoming increasingly complex due to rapid urbanization and the dynamic nature of mobility patterns in smart cities. Accurate and adaptive forecasting of urban traffic is essential for effective traffic management and sustainable urban planning. This study proposes a hybrid modeling approach that integrates Deep Learning (DL) with Agent-Based Modeling (ABM) to enhance the accuracy and interpretability of traffic forecasting. The deep learning component leverages spatiotemporal data from IoT sensors and historical traffic records to capture nonlinear traffic dynamics, while the agent-based model simulates the behaviors and interactions of individual traffic participants under various scenarios. By combining data-driven prediction with rule-based simulation, the hybrid model can forecast traffic flows and adapt to changes in infrastructure, policy, or user behavior. Experimental evaluations using real-world traffic datasets from a major metropolitan area demonstrate that the proposed model outperforms traditional forecasting techniques in both short-term accuracy and scenario-based flexibility. This research contributes to the development of intelligent transportation systems and offers practical insights for city planners and traffic authorities.

Downloads

Download data is not yet available.

References

M. H. Kabir and M. S. Islam, “Enhancing Traffic Flow and Reducing Congestion: A Smart City Approach with an IoT-based Intelligent Traffic Management System,” in 2024 International Conference on Innovations in Science, Engineering and Technology (ICISET), IEEE, Oct. 2024, pp. 1–6. doi: https://doi.org/10.1109/ICISET62123.2024.10939106.

B. Sravani, S. A V, H. M. Abbas, Y. Chanti, and S. Punitha, “Traffic Congestion Prediction in Smart Cities using Multilevel-Gated Recurrent Unit,” in 2024 International Conference on Intelligent Algorithms for Computational Intelligence Systems (IACIS), IEEE, Aug. 2024, pp. 1–4. doi: https://doi.org/10.1109/IACIS61494.2024.10721705.

M. H. Kabir, M. S. Islam, and M. J. Hoque, “Fuzzy Based Intelligent Transportation Systems for Smart Cities to Mitigate Road Traffic Congestion,” in 2024 International Conference on Innovations in Science, Engineering and Technology (ICISET), IEEE, Oct. 2024, pp. 1–6. doi: https://doi.org/10.1109/ICISET62123.2024.10941507.

M. Z. Mehdi, H. M. Kammoun, N. G. Benayed, D. Sellami, and A. D. Masmoudi, “Entropy-Based Traffic Flow Labeling for CNN-Based Traffic Congestion Prediction From Meta-Parameters,” IEEE Access, vol. 10, pp. 16123–16133, 2022, doi: https://doi.org/10.1109/ACCESS.2022.3149059.

B. Liu, C.-T. Lam, B. K. Ng, X. Yuan, and S. K. Im, “A Graph-Based Framework for Traffic Forecasting and Congestion Detection Using Online Images From Multiple Cameras,” IEEE Access, vol. 12, pp. 3756–3767, 2024, doi: https://doi.org/10.1109/ACCESS.2023.3349034.

L. Shi, “A Mixed Arima and Grey Relational Analysis Model for Predicting Urban Traffic Congestion,” in 2024 International Conference on Integrated Intelligence and Communication Systems (ICIICS), IEEE, Nov. 2024, pp. 1–6. doi: https://doi.org/10.1109/ICIICS63763.2024.10859359.

Z. Ping, L. Qian, and Z. Siyang, “Adaptive background updating algorithm for traffic congestion detection based on Kalman filtering and inter-frame centroid distanc,” in 2015 IEEE Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), IEEE, Dec. 2015, pp. 891–895. doi: https://doi.org/10.1109/IAEAC.2015.7428685.

K. Brzozowski, A. Maczyński, and A. Ryguła, “Monitoring road traffic participants’ exposure to PM10 using a low-cost system,” Sci. Total Environ., vol. 728, p. 138718, Aug. 2020, doi: https://doi.org/10.1016/j.scitotenv.2020.138718.

S. Prabhavat, T. Thongthavorn, and K. Pasupa, “Deep Learning-Based Early Detection and Avoidance of Traffic Congestion in Software-Defined Networks,” in 2022 14th International Conference on Information Technology and Electrical Engineering (ICITEE), IEEE, Oct. 2022, pp. 1–6. doi: https://doi.org/10.1109/ICITEE56407.2022.9954107.

J. Ruan, J. Tang, G. Gao, T. Shi, and A. Khamis, “Deep Reinforcement Learning-based Traffic Signal Control,” in 2023 IEEE International Conference on Smart Mobility (SM), IEEE, Mar. 2023, pp. 21–26. doi: https://doi.org/10.1109/SM57895.2023.10112300.

L. Sujihelen, C. Senthilsingh, P. Asha, A. Sivasangari, and A. Christy, “Deep Reinforcement Learning Approach for Smart Traffic Signal Control System,” in 2024 7th International Conference on Circuit Power and Computing Technologies (ICCPCT), IEEE, Aug. 2024, pp. 214–219. doi: https://doi.org/10.1109/ICCPCT61902.2024.10673269.

W. D. Sunindyo and A. S. M. Satria, “Traffic Congestion Prediction Using Multi-Layer Perceptrons And Long Short-Term Memory,” in 2020 10th Electrical Power, Electronics, Communications, Controls and Informatics Seminar (EECCIS), IEEE, Aug. 2020, pp. 209–212. doi: https://doi.org/10.1109/EECCIS49483.2020.9263483.

G. K, G. B, and R. D. S, “Prediction of Traffic Congestion through Convolutional Neural Network,” in 2021 Smart Technologies, Communication and Robotics (STCR), IEEE, Oct. 2021, pp. 1–5. doi: https://doi.org/10.1109/STCR51658.2021.9588831.

Y. Hu, “Research on City Traffic Flow Forecast Based on Graph Convolutional Neural Network,” in 2021 IEEE 2nd International Conference on Big Data, Artificial Intelligence and Internet of Things Engineering (ICBAIE), IEEE, Mar. 2021, pp. 269–273. doi: https://doi.org/10.1109/ICBAIE52039.2021.9389951.

D. Kaziyeva, P. Stutz, G. Wallentin, and M. Loidl, “Large-scale agent-based simulation model of pedestrian traffic flows,” Comput. Environ. Urban Syst., vol. 105, p. 102021, Oct. 2023, doi: https://doi.org/10.1016/j.compenvurbsys.2023.102021.

N. Al-Nabhan, M. AlDuhaim, S. AlHussan, H. Abdullah, M. AlHaid, and R. AlDuhaishi, “KSUTraffic: A Microscopic Traffic Simulator for Traffic Planning in Smart Cities,” Comput. Mater. Contin., vol. 68, no. 2, pp. 1831–1845, 2021, doi: https://doi.org/10.32604/cmc.2021.012231.

P. Cui, X. Yang, M. Abdel-Aty, J. Zhang, and X. Yan, “Advancing urban traffic accident forecasting through sparse spatio-temporal dynamic learning,” Accid. Anal. Prev., vol. 200, p. 107564, Jun. 2024, doi: https://doi.org/10.1016/j.aap.2024.107564.

X. Mi, C. Yu, X. Liu, G. Yan, F. Yu, and P. Shang, “A dynamic ensemble deep deterministic policy gradient recursive network for spatiotemporal traffic speed forecasting in an urban road network,” Digit. Signal Process., vol. 129, p. 103643, Sep. 2022, doi: https://doi.org/10.1016/j.dsp.2022.103643.

H. Yang, X. Li, W. Qiang, Y. Zhao, W. Zhang, and C. Tang, “A network traffic forecasting method based on SA optimized ARIMA–BP neural network,” Comput. Networks, vol. 193, p. 108102, Jul. 2021, doi: https://doi.org/10.1016/j.comnet.2021.108102.

H.-W. Kim, J.-H. Lee, Y.-H. Choi, Y.-U. Chung, and H. Lee, “Dynamic bandwidth provisioning using ARIMA-based traffic forecasting for Mobile WiMAX,” Comput. Commun., vol. 34, no. 1, pp. 99–106, Jan. 2011, doi: https://doi.org/10.1016/j.comcom.2010.08.008.

Z. Liu, X. Li, Z. Lu, and X. Meng, “IWOA-RNN: An improved whale optimization algorithm with recurrent neural networks for traffic flow prediction,” Alexandria Eng. J., vol. 117, pp. 563–576, Apr. 2025, doi: https://doi.org/10.1016/j.aej.2024.12.074.

M. Omar, F. Yakub, S. S. Abdullah, M. S. A. Rahim, A. H. Zuhairi, and N. Govindan, “One-step vs horizon-step training strategies for multi-step traffic flow forecasting with direct particle swarm optimization grid search support vector regression and long short-term memory,” Expert Syst. Appl., vol. 252, p. 124154, Oct. 2024, doi: https://doi.org/10.1016/j.eswa.2024.124154.

X. Zhang, L. Pan, Q. Shen, Z. Liu, J. Lou, and Y. Jiang, “Trend-aware spatio-temporal fusion graph convolutional network with self-attention for traffic prediction,” Neurocomputing, vol. 637, p. 130040, Jul. 2025, doi: https://doi.org/10.1016/j.neucom.2025.130040.

K. Martins-Turner, K. Nagel, and M. Zilske, “Agent-based Modelling and Simulation of Tour Planning in Urban Freight Traffic,” Transp. Res. Procedia, vol. 41, pp. 328–332, 2019, doi: https://doi.org/10.1016/j.trpro.2019.09.054.

S. Krishna Narayanan, S. Dhanasekaran, and V. Vasudevan, “An effective parameter tuned deep belief network for detecting anomalous behavior in sensor-based cyber-physical systems,” Theor. Comput. Sci., vol. 931, pp. 142–151, Sep. 2022, doi: https://doi.org/10.1016/j.tcs.2022.07.037.

Downloads

Published

2025-04-17

How to Cite

Gonzales, C. M., Salazar, D. R., Uy, S. N., & Lim, R. C. (2025). Hybrid Deep Learning and Agent-Based Modeling for Dynamic Urban Traffic Forecasting in Smart Cities. International Journal of Technology and Modeling, 4(1), 48–62. Retrieved from https://ijtm.my.id/index.php/IJTM/article/view/129

Issue

Section

Articles