Dynamic Route Optimization for Logistics Using Spatio-Temporal Deep Learning with Real-Time Traffic and Weather Data
Abstract
As transportation networks grow increasingly complex and data-rich, the need for intelligent, adaptive routing mechanisms has become essential for efficient and resilient mobility operations. This study presents a deep learning–enabled framework for real-time dynamic route optimization in logistics systems, addressing fundamental limitations of traditional static routing and heuristic-based decision approaches. The proposed architecture integrates long short-term memory (LSTM) networks with spatio- temporal graph convolutional networks (ST-GCN) to model nonlinear temporal evolution and spatial dependencies in traffic flows, GPS trajectories, meteorological conditions, and road network structures. By capturing these complex patterns, the predictive module generates highly accurate short-term forecasts of congestion levels and delivery delays, which are subsequently incorporated into an adaptive routing engine that continuously updates vehicle paths in response to evolving network conditions. Comprehensive preprocessing of multimodal traffic and environmental datasets, advanced feature engineering, and supervised training of the LSTM and ST-GCN models are employed. Model performance is assessed via mean absolute error (MAE), root mean square error (RMSE), and ROC–AUC. Experimental results show substantial gains over baseline predictors and conventional routing: a 45.6% reduction in MAE, a 39.5% reduction in RMSE, and an ROC–AUC of 0.91 for delay prediction, while enabling an estimated 12.3% reduction in carbon emissions. These improvements translate into measurable reductions in travel time and fuel consumption, underscoring the system’s potential to enhance operational resilience, environmental sustainability, and decision efficiency.References
[1] Touloumidis D, Madas M, Zeimpekis V, Ayfantopoulou G. Weather-related disruptions in transportation and logistics: A systematic literature review and a policy implementation roadmap. Logistics. 2025 Feb 20;9(1):32. DOI: https://doi.org/10.3390/logistics9010032
[2] Ren X, Li X, Ren K, Song J, Xu Z, Deng K, Wang X. Deep learning-based weather prediction: a survey. Big Data Research. 2021 Feb 15;23:100178. DOI: https://doi.org/10.1016/j.bdr.2020.100178
[3] Zhao L, Song Y, Zhang C, Liu Y, Wang P, Lin T, Deng M, Li H. T-GCN: A temporal graph convolutional network for traffic prediction. IEEE transactions on intelligent transportation systems. 2019 Aug 22;21(9):3848-58. DOI: https://doi.org/10.1109/TITS.2019.2935152
[4] Jiang W, Luo J. Graph neural network for traffic forecasting: A survey. Expert systems with applications. 2022 Nov 30;207:117921. DOI: https://doi.org/10.1016/j.eswa.2022.117921
[5] Kool W, Van Hoof H, Welling M. Attention, learn to solve routing problems!. arXiv preprint arXiv:1803.08475. 2018 Mar 22. DOI: https://doi.org/10.48550/arXiv.1803.08475
[6] Zhang FH, Shao ZG. ST-GRF: Spatiotemporal graph neural networks for rainfall forecasting. Digital Signal Processing. 2023 May 1;136:103989. DOI: https://doi.org/10.1016/j.dsp.2023.103989
[7] Institute of Advanced Research in Artificial Intelligence (IARAI). NeurIPS2022 Traffic4cast dataset [dataset on the Internet]. 2022 [cited 2025 April 15]. Available from: https://github.com/iarai/NeurIPS2022-traffic4cast.
[8] He Q, Wang Y, Wang X, Xu W, Li F, Yang K, Ma L. Routing optimization with deep reinforcement learning in knowledge defined networking. IEEE Transactions on Mobile Computing. 2023 Jan 9;23(2):1444-55. DOI: https://doi.org/10.1109/TMC.2023.3235446
[9] Diop DS, Luis SY, Esteve MP, Marín SL, Reina DG. Decoupling patrolling tasks for water quality monitoring: A multi-agent deep reinforcement learning approach. IEEE Access. 2024 May 21;12:75559-76. DOI: https://doi.org/10.1109/ACCESS.2024.3403790
[10] Amin R, Rojas E, Aqdus A, Ramzan S, Casillas-Perez D, Arco JM. A survey on machine learning techniques for routing optimization in SDN. IEEE Access. 2021 Jul 26;9:104582-611. DOI: https://doi.org/10.1109/ACCESS.2021.3099092
[11] Kokila M, Reddy KS. BlockDLO: Blockchain computing with deep learning orchestration for secure data communication in IoT Environment. IEEE Access. 2024 Sep 17;12:134521-40. DOI: https://doi.org/10.1109/ACCESS.2024.3462735
[12] Chen BH, Han J, Chen S, Yin JL, Chen Z. Automatic itinerary planning using triple-agent deep reinforcement learning. IEEE Transactions on Intelligent Transportation Systems. 2022 May 2;23(10):18864-75. DOI: https://doi.org/10.1109/TITS.2022.3169002
[13] Sharma G, Jain S, Sharma RS. Path planning for fully autonomous uavs-a taxonomic review and future perspectives. IEEE Access. 2025 Jan 14;13:13356-79. DOI: https://doi.org/10.1109/ACCESS.2025.3529754
[14] Huang C, Chen G, Tang J, Xiao P, Han Z. Machine-learning-empowered passive beamforming and routing design for multi-RIS-assisted multihop networks. IEEE Internet of Things Journal. 2022 Aug 2;9(24):25673-84. DOI: https://doi.org/10.1109/JIOT.2022.3195543
[15] Arya G, Bagwari A, Chauhan DS. Performance analysis of deep learning-based routing protocol for an efficient data transmission in 5G WSN communication. IEEE Access. 2022 Jan 11;10:9340-56. DOI: https://doi.org/10.1109/ACCESS.2022.3142082
[16] Chilukuri S, Pesch D. RECCE: Deep reinforcement learning for joint routing and scheduling in time-constrained wireless networks. IEEE Access. 2021 Sep 22;9:132053-63. DOI: https://doi.org/10.1109/ACCESS.2021.3114967
[17] Masoud M, Ibrahim OA, Elhenawy M. Employing Hybrid Pointer Networks With Deep Reinforcement Learning for Drone Routing in Delivery Using Public Transportation as Carriers. IEEE Access. 2025 Feb 17;13:33424-35. DOI: https://doi.org/10.1109/ACCESS.2025.3543007
[18] Aboeleneen K, Zorba N, Massoud AM. Reinforcement learning-based e-scooter energy minimization using optimized speed-route selection. IEEE Access. 2024 Apr 30;12:66167-84. DOI: https://doi.org/10.1109/ACCESS.2024.3395286
[19] Wang H, Liu Z, Wang H, Zhang W, Yang D. Intelligent and Reliable Routing for Audio/Video Mixed Traffic in Overlay Networks. IEEE Internet of Things Journal. 2024 Dec 26;12(9):12341-54. DOI: https://doi.org/10.1109/JIOT.2024.3521088
[20] Ling Z, Zhang Y, Chen X. A deep reinforcement learning based real-time solution policy for the traveling salesman problem. IEEE Transactions on Intelligent Transportation Systems. 2023 Mar 20;24(6):5871-82. DOI: https://doi.org/10.1109/TITS.2023.3256563
[21] Tian R, Sun Z, Chang L, Wu J, Lu X. Rapid Solution for Flexible Pickup and Delivery Services Problem Based on Improved Actor-Critic Deep Reinforcement Learning. IEEE Transactions on Intelligent Transportation Systems. 2025 Apr 21. DOI: https://doi.org/10.1109/TITS.2025.3559941
[22] Chu Z, Hu F, Bentley E, Kumar S. Intelligent routing in directional ad hoc networks through predictive directional heat map from spatio-temporal deep learning. IEEE Transactions on Mobile Computing. 2023 Apr 5;23(4):2639-56. DOI: https://doi.org/10.1109/TMC.2023.3264447
[23] Kim G, Kim Y, Lim H. Deep reinforcement learning-based routing on software-defined networks. IEEE Access. 2022 Feb 15;10:18121-33. DOI: https://doi.org/10.1109/ACCESS.2022.3151081
[24] Staffolani A, Darvariu VA, Bellavista P, Musolesi M. A Cost-Aware Adaptive Bike Repositioning Agent Using Deep Reinforcement Learning. IEEE Transactions on Intelligent Transportation Systems. 2025 Feb 6;26(4):4923-33. DOI: https://doi.org/10.1109/TITS.2025.3535915
[25] Lee K, Cho K. Deep Learning-Based Path Planning Under Co-Safe Temporal Logic Specifications. IEEE Access. 2024 Jan 9;12:7704-18. DOI: https://doi.org/10.1109/ACCESS.2024.3351893
[26] Amaral P, Simões D. Deep reinforcement learning based routing in IP media broadcast networks: Feasibility and performance. IEEE Access. 2022 Jun 10;10:62459-70. DOI: https://doi.org/10.1109/ACCESS.2022.3182009
[27] Saeed RA, Ali ES, Abdelhaq M, Alsaqour R, Ahmed FR, Saad AM. Energy efficient path planning scheme for unmanned aerial vehicle using hybrid generic algorithm-based Q-learning optimization. IEEE access. 2023 Dec 19;12:13400-17. DOI: https://doi.org/10.1109/ACCESS.2023.3344455
[28] Wan P, Xu G, Chen J, Zhou Y. Deep reinforcement learning enabled multi-UAV scheduling for disaster data collection with time-varying value. IEEE Transactions on Intelligent Transportation Systems. 2024 Jan 2;25(7):6691-702. DOI: https://doi.org/10.1109/TITS.2023.3345280
[29] Yin X, Wu G, Wei J, Shen Y, Qi H, Yin B. Deep learning on traffic prediction: Methods, analysis, and future directions. IEEE Transactions on Intelligent Transportation Systems. 2021 Feb 10;23(6):4927-43. DOI: https://doi.org/10.1109/TITS.2021.3054840
[30] Jiao T, Hu C, Kong L, Zhao X, Wang Z. An improved HM-SAC-CA algorithm for mobile robot path planning in unknown complex environments. IEEE Access. 2025 Jan 28;13:21152-63. DOI: https://doi.org/10.1109/ACCESS.2025.3535728
[31] Xu Z, Wang C, Shen M, Li C, Liu X. Reinforcement learning for bus bunching mitigation: a systematic evaluation of configurations and performances. IEEE Transactions on Intelligent Transportation Systems. 2025 Mar 4. DOI: https://doi.org/10.1109/TITS.2025.3545642
[32] Saeidi T, Mehran B, Ashraf A. Inference of transit alighting from automatic boarding count data: a double dqn clustering. IEEE Transactions on Intelligent Transportation Systems. 2025 Mar 5. DOI: https://doi.org/10.1109/TITS.2025.3545757
DOI:
https://doi.org/10.31449/inf.v50i15.15327Keywords:
Dynamic Route Optimization, Spatio-Temporal Forecasting, Traffic Prediction, Carbon Emissions, LSTM, ST-GCN, LogisticsDownloads
Published
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







