{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,30]],"date-time":"2025-10-30T06:28:21Z","timestamp":1761805701438,"version":"build-2065373602"},"reference-count":40,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,10,30]],"date-time":"2025-10-30T00:00:00Z","timestamp":1761782400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100020901","name":"Islamic University of Madinah","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100020901","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Commun. Netw."],"abstract":"<jats:p>The deployment of various sensors including inductive loops, radars, GPS devices, cameras and floating car data (FCD) in intelligent transportation systems generates a stream of heterogeneous data, further complicated by exogenous factors like weather conditions and temporal patterns (e.g., peak hours, weekends). For urban traffic development planning, the accurate prediction of congestion under the influence of these exogenous factors remains a major challenge. The proliferation of these diverse data sources creates a complex prediction environment, demanding advanced analytical frameworks. To address this issue, we propose a novel Fusion-based Generative Adversarial Network with Gated Recurrent Unit (F-GGRU) framework. The F-GGRU develops a generic data pipeline for integrating and preprocessing multi-source data, featuring advanced techniques for outlier removal, fuzzy logic-based automatic labeling, and Generative Adversarial Networks (GANs) for class balancing. Extensive experimentation was conducted on a novel real-time dataset from the Safe City Islamabad Pakistan (SCIP) project, integrating heterogeneous and exogenous features. The results demonstrate that our proposed F-GGRU framework achieves superior performance, with 98% accuracy, 0.99 precision, 0.98 recall, and a 0.98 F1-score. This significantly outperforms a suite of benchmark models, including Logistic Regression, Random Forest, XGBoost, and deep learning baselines like ANN, which achieved accuracies between 77% and 83% with correspondingly lower precision, recall, and F1-scores. Significantly, hyperparameter tuning and validation on a second independent dataset (CityPulse, Aarhus) confirmed the proposed framework robustness and generalizability, achieving even higher performance 99.42% accuracy and 0.99 AUC. These findings affirm that the F-GGRU framework is a robust and generalizable solution for real world traffic congestion prediction in smart cities.<\/jats:p>","DOI":"10.3389\/frcmn.2025.1666487","type":"journal-article","created":{"date-parts":[[2025,10,30]],"date-time":"2025-10-30T06:23:33Z","timestamp":1761805413000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["F-GGRU: a sensor-driven deep learning framework for smart city weather-aware traffic congestion prediction"],"prefix":"10.3389","volume":"6","author":[{"given":"Akbar","family":"Ali","sequence":"first","affiliation":[]},{"given":"Adnan","family":"Nadeem","sequence":"additional","affiliation":[]},{"given":"Noureen","family":"Zafar","sequence":"additional","affiliation":[]},{"given":"Muhammad","family":"Shiraz","sequence":"additional","affiliation":[]}],"member":"1965","published-online":{"date-parts":[[2025,10,30]]},"reference":[{"key":"B1","volume-title":"Aarhus, Denmark (open data Aarhus) CityPulse Dataset Collection","author":"Aarhus","year":"2025"},{"key":"B2","article-title":"Impacts of weather on urban freeway traffic flow characteristics and facility capacity","volume-title":"Proceedings of the 2005 mid-continent transportation research symposium","author":"Agarwal","year":"2005"},{"key":"B3","doi-asserted-by":"publisher","first-page":"5893","DOI":"10.3390\/app12125893","article-title":"Optimal machine learning based privacy preserving blockchain assisted internet of things with smart cities environment","volume":"12","author":"Al-Qarafi","year":"2022","journal-title":"Appl. Sci."},{"key":"B4","doi-asserted-by":"publisher","first-page":"13068","DOI":"10.3390\/su132313068","article-title":"Traffic efficiency models for urban traffic management using mobile crowd sensing: a survey","volume":"13","author":"Ali","year":"","journal-title":"Sustainability"},{"key":"B5","doi-asserted-by":"publisher","first-page":"100608","DOI":"10.1016\/j.suscom.2021.100608","article-title":"Mobile crowd sensing based dynamic traffic efficiency framework for urban traffic congestion control","volume":"32","author":"Ali","year":"","journal-title":"Sustain. Comput. Inf. Syst."},{"key":"B6","doi-asserted-by":"publisher","first-page":"47","DOI":"10.1049\/itr2.12432","article-title":"The effect of visibility on road traffic during foggy weather conditions","volume":"18","author":"Ali","year":"2024","journal-title":"IET Intell. Transp. Syst."},{"key":"B7","article-title":"OpenWeather API 13 September","author":"Api","year":"2025"},{"key":"B10","doi-asserted-by":"publisher","first-page":"159","DOI":"10.54254\/2755-2721\/111\/2024ch0106","article-title":"A cross-city traffic flow prediction framework incorporating holidays and weather factors","volume":"111","author":"Cui","year":"2024","journal-title":"Appl. Comput. Eng."},{"key":"B11","first-page":"10","article-title":"Weather responsive traffic management: deployment of real-time traffic estimation and prediction systems","author":"Dong","year":"2010"},{"key":"B12","doi-asserted-by":"publisher","first-page":"100072","DOI":"10.1016\/j.commtr.2022.100072","article-title":"Data fusion and machine learning for ship fuel efficiency modeling: part III\u2013Sensor data and meteorological data","volume":"2","author":"Du","year":"2022","journal-title":"Commun. Transp. Res."},{"key":"B13","doi-asserted-by":"publisher","first-page":"25443","DOI":"10.1109\/access.2024.3365930","article-title":"Edge ML technique for smart traffic management in intelligent transportation systems","volume":"12","author":"Hazarika","year":"2024","journal-title":"IEEE Access"},{"key":"B8","unstructured":"Pakistan\u2019s population reaches 241 million\n          \n          \n          2021"},{"key":"B14","unstructured":"Islamabad is getting thousands of AI cameras for better security\n          \n          \n            \n              Khattak\n              A.\n            \n          \n          \n          2025"},{"key":"B15","doi-asserted-by":"crossref","DOI":"10.1109\/SMC52423.2021.9658959","article-title":"XGBoost: a tree-based approach for traffic volume prediction","volume-title":"2021 IEEE international conference on systems, man, and cybernetics (SMC)","author":"Lartey","year":"2021"},{"key":"B16","doi-asserted-by":"publisher","first-page":"82","DOI":"10.3141\/2482-11","article-title":"Modeling the impacts of inclement weather on freeway traffic speed: exploratory study with social media data","volume":"2482","author":"Lin","year":"2015","journal-title":"Transp. Res. Rec."},{"key":"B17","doi-asserted-by":"publisher","DOI":"10.11113\/jt.v70.3490","article-title":"Impact of rainfall condition on traffic flow and speed: a case study in johor and terengganu","volume":"70","author":"Mashros","year":"2014","journal-title":"Jurnal Teknologi Sci. and Eng."},{"key":"B18","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.trc.2017.02.024","article-title":"Deep learning for short-term traffic flow prediction","volume":"79","author":"Polson","year":"2017","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"B19","doi-asserted-by":"publisher","DOI":"10.3233\/ATDE240042","article-title":"Urban traffic flow predictions with impacts of weather and holidays","author":"Pragalathan","year":"2024","journal-title":"Emerg. Cutting-Edge Dev. Intelligent Traffic Transp"},{"key":"B20","doi-asserted-by":"publisher","first-page":"1107","DOI":"10.1002\/atr.154","article-title":"A study of the influence of severe environmental conditions on common traffic congestion features","volume":"48","author":"Rehborn","year":"2014","journal-title":"J. Adv. Transp."},{"key":"B21","doi-asserted-by":"publisher","first-page":"15072","DOI":"10.1109\/tnnls.2023.3291371","article-title":"Deep learning for time-series prediction in IIoT: progress, challenges, and prospects","volume":"35","author":"Ren","year":"2023","journal-title":"IEEE Trans. neural Netw. Learn. Syst."},{"key":"B22","doi-asserted-by":"publisher","first-page":"823","DOI":"10.1175\/wcas-d-22-00121","article-title":"Investigating the impact of weather conditions and time of day on traffic flow characteristics","volume":"14","author":"Romanowska","year":"","journal-title":"Weather, Clim. Soc."},{"key":"B23","doi-asserted-by":"publisher","first-page":"823","DOI":"10.1175\/wcas-d-22-0012.1","article-title":"Investigating the impact of weather conditions and time of day on traffic flow characteristics","volume":"14","author":"Romanowska","year":"","journal-title":"Weather, Clim. Soc."},{"key":"B9","year":"2022"},{"key":"B24","unstructured":"Integrated_FCD_Weather_Dataset\n          \n          \n          2022"},{"key":"B25","doi-asserted-by":"crossref","DOI":"10.1109\/IC3I59117.2023.10397933","article-title":"Traffic Prediction Analysis (TPA) using machine learning methodologies","volume-title":"2023 6th international conference on contemporary computing and informatics (IC3I)","author":"Solanki","year":"2023"},{"key":"B26","doi-asserted-by":"crossref","DOI":"10.1109\/IACIS61494.2024.10721705","article-title":"Traffic congestion prediction in smart cities using multilevel-gated recurrent unit","volume-title":"2024 international conference on intelligent algorithms for computational intelligence systems (IACIS)","author":"Sravani","year":"2024"},{"key":"B27","doi-asserted-by":"publisher","first-page":"12188","DOI":"10.3390\/su132112188","article-title":"Traffic flow online prediction based on a generative adversarial network with multi-source data","volume":"13","author":"Sun","year":"2021","journal-title":"Sustainability"},{"key":"B28","unstructured":"Department of economic and social affairs United nation\n          \n          \n          2023"},{"key":"B29","unstructured":"2025"},{"key":"B30","doi-asserted-by":"publisher","first-page":"1","DOI":"10.4018\/979-8-3693-5276-2.ch001","article-title":"Internet of traffic surveillance System (IoTSS) with genetic Algorithm for optimized weather-adaptive traffic monitoring","author":"Valarmathi","year":"2024","journal-title":"Bio-Inspired Intell. Smart Decision-Making"},{"key":"B31","doi-asserted-by":"publisher","first-page":"5397","DOI":"10.3390\/s21165397","article-title":"An overview of autonomous vehicles sensors and their vulnerability to weather conditions","volume":"21","author":"Vargas","year":"2021","journal-title":"Sensors"},{"key":"B32","doi-asserted-by":"crossref","DOI":"10.1109\/ICDM.2016.0061","article-title":"Traffic speed prediction and congestion source exploration: a deep learning method","volume-title":"2016 IEEE 16th international conference on data mining (ICDM)","author":"Wang","year":"2016"},{"key":"B33","doi-asserted-by":"publisher","first-page":"166","DOI":"10.1016\/j.trc.2018.03.001","article-title":"A hybrid deep learning based traffic flow prediction method and its understanding","volume":"90","author":"Wu","year":"2018","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"B34","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2206.10983","article-title":"Traffic congestion prediction using machine learning techniques","author":"Yasir","year":"2022","journal-title":"arXiv Prepr. arXiv:2206.10983"},{"key":"B35","doi-asserted-by":"publisher","first-page":"102","DOI":"10.54097\/sbj3av77","article-title":"Research on traffic congestion prediction based on analyzable machine learning","volume":"118","author":"YixinLi","year":"2024","journal-title":"Eng. Technol."},{"key":"B36","doi-asserted-by":"publisher","first-page":"1","DOI":"10.23977\/ftte.2024.040101","article-title":"Research on traffic congestion prediction based on XGBoost","volume":"4","author":"Yu","year":"2024","journal-title":"Front. Traffic Transp. Eng."},{"key":"B37","doi-asserted-by":"publisher","first-page":"3348","DOI":"10.3390\/s22093348","article-title":"Applying hybrid LSTM-GRU model based on heterogeneous data sources for traffic speed prediction in urban areas","volume":"22","author":"Zafar","year":"","journal-title":"Sensors"},{"key":"B38","doi-asserted-by":"publisher","first-page":"134333","DOI":"10.1109\/access.2022.3231448","article-title":"Traffic prediction in smart cities based on hybrid feature space","volume":"10","author":"Zafar","year":"","journal-title":"IEEE Access"},{"key":"B39","doi-asserted-by":"publisher","first-page":"70","DOI":"10.1109\/mits.2019.2903431","article-title":"Traffic speed prediction under non-recurrent congestion: based on LSTM method and BeiDou navigation satellite system data","volume":"11","author":"Zhao","year":"2019","journal-title":"IEEE Intell. Transp. Syst. Mag."},{"key":"B40","doi-asserted-by":"publisher","first-page":"647","DOI":"10.3390\/buildings14030647","article-title":"Weather interaction-aware spatio-temporal attention networks for urban traffic flow prediction","volume":"14","author":"Zhong","year":"2024","journal-title":"Buildings"}],"container-title":["Frontiers in Communications and Networks"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frcmn.2025.1666487\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,30]],"date-time":"2025-10-30T06:23:38Z","timestamp":1761805418000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frcmn.2025.1666487\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,30]]},"references-count":40,"alternative-id":["10.3389\/frcmn.2025.1666487"],"URL":"https:\/\/doi.org\/10.3389\/frcmn.2025.1666487","relation":{},"ISSN":["2673-530X"],"issn-type":[{"value":"2673-530X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,30]]},"article-number":"1666487"}}