A Context-Aware Flood Warning Framework Integrating Ensemble Learning and LLMs
Abstract
1. Introduction
- A flood detection framework that combines IoT-based and crowdsourced data to provide efficient responses.
- A fog-based architecture to reduce the response delay and provide context-aware notifications to stakeholders.
- A novel threat level classification Ensemble Learning (EL)-based algorithm that ensures higher reliability of the decision.
- An LLM base with a DL model to analyze textual data during a disaster.
- A mockup mobile application for volunteers and a dashboard for civil defense officers.
- Data from IoT devices (WSNs): These are used continuously during the first classification phase (Algorithm 1). The system here is based on ten years of meteorological data obtained from the weather authority in the city of Jeddah in Saudi Arabia.
- Crowdsourced data: This type of data is expected to come from volunteer users who have the application, in the form of distress calls or textual information. These data are used within Method 2, but only when the risk index from Algorithm 1 exceeds a certain threshold. (More details were presented in Section 4).
| Algorithm 1: EL algorithm for training and testing the dataset |
| Require: Data in the cloud Ensure: Data processing and splitting the dataset into training and testing 1: for all data in the cloud do 2: Process outlier values by replacing them with the median 3: for each record containing empty values, do 4: Delete records 5: Apply normalization to numerical data 6: Use the Synthetic Minority Over-Sampling Technique (SMOTE) to address the imbalance 7: Split the dataset into training and testing 8: Train the dataset on the training part 8: If performance metrics are the best for a model candidate, then 9: Select the winning model hyperparameters 10: else 11: Select other values for hyperparameters 12: end if 13: end for 14: end for 16: for testing phase in the fog node (for a specific region), do 17: Read data from the sensor layer 18: Process data and detect outliers by matching values across multiple sensors 19: Configure data and apply normalization. 20: Apply the three selected machine learning models (as the chosen EL set). 21: Choose the majority decision (minimum 2 models from 3 classified data as 1 or 0). 23: if the choice is 1 (threat present), then 24: Increase the threat index by 1 25: else 26: Keep the same value 27: if the threat level exceeds a certain threshold, then 28: Send immediate warning alerts according to the region 29: else 30: Keep monitoring 31: end if 32: end if 33: end for |
2. Related Work
2.1. Models Used in Flood Risk Management
2.2. Text Analysis in Flooding Risk
3. Proposed Methodology
- The deployed IoT sensors (water level sensors, temperature and humidity sensors, and wind speed sensors): their mission is to collect data from the actual environment (the city) and send it to the nearest fog node in charge.
- A platform for data crowdsourcing: a service that enables users to share data with service providers through either a dedicated app (developed specifically) or through social media platforms (e.g., the X tweeting platform).
- Threat-level classifiers: use two automated classification algorithms that identify the threat level based on the rules generated by the EL and TM training models applied to the data coming from the sensing layer.
- A smart notifier: an intelligent alert model that is responsible for issuing appropriate alerts based on information from the classifiers and using the geolocation context.
- A multi-model classifier that comprises an EL classifier responsible for identifying classification rules based on historical IoT sensor data, and an LLM-DL classifier that processes and analyzes textual data from the crowdsourcing platform to confirm the EL classifier’s decisions.
- A knowledge database (DB) that is used to store statistical information after the analysis of historical data processed by both classifiers.
- A geographic information system (GIS) that provides information about the location and topology of the target fog node-controlled area. It focuses on the following criteria: land elevation, whether the land is surrounded by mountains, slope direction and stiffness, the nature of the land’s flatness, the availability of water drainage points, and the presence of tunnels.
- Applications and support services: used for managing alerts, enabling volunteers to participate in data collection, and providing first aid to others.
- A decision support system (D-Support) that relies on the knowledge base in order to provide useful information for the civil defense teams carrying out disaster management duties.
3.1. Integration Between Cloud and Fog Computing
3.2. The EL Classifier (Algorithm 1)
3.3. The LLM-Based DL Classifier (Method 2)
- Tweets of the X platform, which has proven to be one of the fastest means of news dissemination.
- A dedicated proposed mobile smartphone application, which allows volunteer users to send textual information to service providers (SPs) based on their real-world perception of the event.
3.3.1. Phase 1–Creating a List of Key Terms and Training the DL Model
- Collect and label data by an expert (0 normal, 1 threat): the algorithm used a labeled dataset of 1500 tweets [48].
- Apply LLM-API, which will
- ○
- Clean data and remove special characters such as (,:,., etc.) to retain only essential letters. This step, known as “cleaning,” is instrumental in preparing text for further analysis.
- ○
- Apply LLM-API to tokenize data and divide the text into distinct words. This step breaks down the text into components to extract meaningful insights. It helps reduce data size and expedite processing.
- ○
- Apply LLM-API to remove stop words. This step is important for eliminating common stop words, such as “the”, “is”, “to”, etc., according to each language.
- ○
- Apply LLM-API to lemmatize each word and find its root without concern about the ISRI or Porter stemmer algorithm that are used in traditional TM. This standardization process ensures the consistency of the analysis data.
- ○
- Build a word cloud to find the most frequent terms as a metric to create a list of key terms. The result of this step will be a list of the most used terms during the flood disaster, which could be validated by a human expert. Then, this expert will validate and refine this list using another list generated by the LLM system without a dataset.
- Create a vector of each tweet in the dataset, which is already classified as normal or a threat.
- Train a DL mode (ANN) on the vectors (30/70 with cross-validation) to create a trained DL model, which will be distributed on fog nodes to retain the context-awareness of location with fast responses.
3.3.2. Phase 2: Testing Phase (Based on the LLM and DL Model)
- Receive Data: Receiving tweets through the X platform API and users’ messages from the dedicated mobile application (volunteers).
- Preprocess data based on LLM-API, match to the list of key terms, and create a vector of the tweet.
- Classify the vector into threat or normal to update the threat level of each spatial context area on the dashboard.
3.4. Smart Application and Services
- A.
- Emergency Alerts and Information Services:
- Direct Alert Service: Users receive location-based alerts in real time, ensuring that they get critical information tailored to their current location and to the unique characteristics of the area where each user is. This service is essential for timely and relevant notifications during emergencies.
- Awareness Service: Users stay informed with periodic articles and notices on what to do and what to avoid during disasters.
- Status of Areas Service: Users will be able to navigate through the areas that are less dangerous during emergencies and learn how to reach them safely.
- Road Condition Service: Users will be able to access information about road closures due to disasters and identify available routes.
- Emergency Numbers: Quick access to essential numbers like civil defense, ambulance, or police.
- B.
- User Engagement and Support Services (Volunteer Users or Defense Teams):
- Data Sharing: Users can play active roles by sharing real-time data about the location of users to help authorities assess damages and risks accurately. The framework collects and processes these data to verify alert reliability and refine threat level classifications.
- First Aid: Users can access vital information on how to provide first aid assistance in cases of the delayed arrival of ambulance crews. Users can learn, through text and video resources, how to handle various emergency scenarios, from drowning to bleeding, etc.
4. Implementation and Results
4.1. Testing the Proposed EL Algorithm (Algorithm 1)
4.2. Comparison to Others
4.3. Testing the Proposed LLM-Agent Method (Method 2)
4.4. Implementation of the Proposed Application
4.5. Central Dashboard for Managing Disasters
4.6. Discussion About the Fog Layer Implementation in the City of Madinah
4.7. Limitations and Discussion
- The collected dataset is geographically and climatologically limited, which may restrict the generalizability of the proposed framework to other regions without retraining. Moreover, flooding patterns, sensor availability, infrastructure resilience, and citizen behavior vary naturally and significantly across regions.
- To relax this challenge, this work uses a DL model as part of the selected models of the EL process. DL provides fast adaptability to changes. Moreover, the proposed framework includes retraining (“on-demand”) on new collected data in the cloud to enhance the El model.
- The IoT infrastructure may be vulnerable during severe flooding. The framework mitigates this risk through a multi-layer architecture, sensor redundancy, and integration of crowdsourced data streams as alternative inputs. In addition, we assume the use of waterproof sensors that may be self-powered (e.g., via energy-harvesting platforms [55]) to enable long-term autonomous operations. However, robust communications in disaster cases are an open issue and need new solutions, like satellite connection backup and device-to-device communications, to name a few.
- The integration of Ensemble Learning, Deep Learning, and LLM-based social data analysis introduces considerable computational complexity. While fog computing is proposed to reduce latency, it still faces scalability and resource consumption costs that increase during large-scale disasters and large-scale datasets. However, compared to a centralized system, a distributed system usually offers greater availability and scalability, but at an additional cost that is warranted when dealing with human life.
- n: number of features, which is fixed (five features).
- T: number of trees, which is very small at the fog level.
- d: level of the tree’s depth, which is small with a low number of features.
- W: number of weights in each layer, which is fixed after training.
- l: number of layers, which is one to three hidden layers with a simple ANN.
- N: In general, it has to be the highest value where the KNN recalculates the distance between a new sample and all stored points.
- Another challenge lies in the fact that LLMs with social textual crowdsourcing data analysis are exposed to misinformation, noisy data, sarcasm, multilingual content, or malicious inputs. Consequently, in crisis situations, social media data can be misleading or biased, potentially affecting the accuracy of identifying affected areas.
- The framework was tested using collected datasets, but it was not validated through a full real-time pilot deployment during an actual flooding event. This is a major limitation of the study; however, it is common to use available datasets and apply AI solutions to them when no possible real pilot implementation is cost-wise affordable. Moreover, in our current endeavor, we used a real dataset, for which data were collected for 10 years in the same region with multiple repeated flood cases.
- In this manuscript, a smartphone application and a centralized control panel are proposed; the study does not include usability testing or user experience evaluation involving citizens, volunteers, or civil defense teams. The effectiveness of notifications depends heavily on clarity, trust, and user responsiveness, which are not empirically assessed. Our study does not include usability testing or user experience evaluation involving citizens, volunteers, or civil defense teams that adversely impact the effectiveness of notifications. Dealing with this issue will be addressed in a future extension of this work.
- Despite mentioning multiple disaster types in our motivation, the framework is primarily validated for flooding scenarios. Due to limited reliable data and the frequent occurrence of floods in our region in recent years, which are among the most significant natural disasters and threats to the area, this research focuses specifically on floods. However, the proposed framework is general enough to be used for monitoring, detection, and rapid warning of various disasters in the future with different datasets.
- Since the framework is designed for localized processing at fog nodes and the initial testing was conducted using a city-level dataset, the dataset and validation context are characteristic of urban flooding scenarios. Although this research focused primarily on floods, as they have posed the greatest threat in recent years to residents of several cities in Saudi Arabia, largely due to the lack of drainage systems in many areas of the Kingdom, as rain has been scarce. However, the proposed framework is generic in the sense that it could be used to handle multiple types of threats, such as sandstorms, heat waves common to the region, and public health issues.
- The area-specific risk threshold definition is a key aspect of the framework. In this work, the threshold values were determined based on the dataset and local context. In addition, the work relied on the experience of professionals working in civil defense, municipal authorities, and meteorological departments. Their practical knowledge, combined with historical records of past flood events across different areas, will play an important role in setting appropriate risk levels during the real implementation phase.
- A remaining challenge concerns the diversity of regional dialects and colloquial expressions commonly found in emergency-related social media posts. Although the use of LLMs helps address part of this issue, dialect variation (especially in low-resource languages) still requires further research. This issue needs to be addressed further in future work.
- The stability and robustness of the unsupervised LLM component remain important considerations for future work, particularly in ensuring reliable, accountable, and ethically sound automated decision-making in critical emergency management systems. Although this represents an ongoing research challenge, several measures were adopted in the current framework to enhance robustness. These include integrating IoT sensor data with social media inputs to provide cross-validation, employing multiple models within an ensemble to strengthen decision reliability, and also coupling the LLM with Deep Learning to limit the hallucination effects of the LLM while leveraging its semantic understanding capabilities. Further improvements have to focus on strengthening validation mechanisms and governance safeguards.
5. Conclusions
- Consider incorporating drone deployment during disaster scenarios for monitoring using image analysis algorithms specifically designed to process data captured by these drones or by surveillance cameras located in specific locations. Moreover, including satellite imagery processing can provide another important source of information in difficult accessibility cases.
- Addressing privacy concerns associated with crowdsourcing and smartphone privacy and security measures will also be a key area of focus.
- One other application of our framework is to apply it to monitor and proactively detect risks of infections caused by prolonged stagnation of water in ponds, leading to diseases such as dengue fever. This is being addressed in collaborative work with the Municipality of Medina to implement the proposed management model, practically on the ground, in a real scenario.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Tuzyak, Y.M.; Tuzyak, O. Risk management and advanced systems for observing, monitoring and forecasting natural disasters and events. In Third EAGE Workshop on Assessment of Landslide Hazards and Impact on Communities; European Association of Geoscientists & Engineers: Bunnik/Houten, The Netherlands, 2021; Volume 2021, pp. 1–5. [Google Scholar]
- Tomar, P.; Singh, S.K.; Kanga, S.; Meraj, G.; Kranjčić, N.; Đurin, B.; Pattanaik, A. GIS-based urban flood risk assessment and management—A case study of Delhi National Capital Territory (NCT), India. Sustainability 2021, 13, 12850. [Google Scholar] [CrossRef] [Scilit]
- Luu, C.; Tran, H.X.; Pham, B.T.; Al-Ansari, N.; Tran, T.Q.; Duong, N.Q.; Dao, N.H.; Nguyen, L.P.; Nguyen, H.D.; Thu Ta, H.; et al. Framework of spatial flood risk assessment for a case study in Quang Binh province, Vietnam. Sustainability 2020, 12, 3058. [Google Scholar] [CrossRef] [Scilit]
- Christian Aid. Counting the Cost 2020: A Year of Climate Breakdown. December 2020. Available online: https://www.christianaid.org.uk/sites/default/files/2022-12/counting-the-cost-2022.pdf (accessed on 28 February 2026).
- Xu, H.; Wei, W.; Qi, Y.; Qi, S. Blockchain-Based Crowdsourcing Makes Training Dataset of Machine Learning No Longer Be in Short Supply. Wirel. Commun. Mob. Comput. 2022, 2022, 7033626. [Google Scholar] [CrossRef] [Scilit]
- Le, T.; Ngoc, T. Floods and household welfare: Evidence from Southeast Asia. Econ. Disasters Clim. Chang. 2020, 4, 145–170. [Google Scholar] [CrossRef] [Scilit]
- Plazas, J.E.; Bimonte, S.; Schneider, M.; De Vaulx, C.; Battistoni, P.; Sebillo, M.; Corrales, J.C. Sense, Transform & Send for the Internet of Things (STS4IoT): UML profile for data-centric IoT applications. Data Knowl. Eng. 2022, 139, 101971. [Google Scholar]
- Aljohani, F.H.; Alkhodre, A.B.; Sen, A.A.A.; Ramazan, M.S.; Alzahrani, B.; Siddiqui, M.S. Flood Prediction using Hydrologic and ML-based Modeling: A Systematic Review. Int. J. Adv. Comput. Sci. Appl. 2023, 14, 538–551. [Google Scholar] [CrossRef] [Scilit]
- Hu, H.; Yang, H.; Wen, J.; Zhang, M.; Wu, Y. An Integrated Model of Pluvial Flood Risk and Adaptation Measure Evaluation in Shanghai City. Water 2023, 15, 602. [Google Scholar] [CrossRef] [Scilit]
- Gulati, K.; Boddu, R.S.K.; Kapila, D.; Bangare, S.L.; Chandnani, N.; Saravanan, G. A review paper on wireless sensor network techniques in Internet of Things (IoT). Mater. Today Proc. 2022, 51, 161–165. [Google Scholar] [CrossRef] [Scilit]
- Tan, W.; Sidhu, M.S. Review of RFID and IoT integration in supply chain management. Oper. Res. Perspect. 2022, 9, 100229. [Google Scholar] [CrossRef] [Scilit]
- Tayan, O. Context-Aware Framework for Enhanced Smart Urban Pollution Monitoring and Control. In 2022 International Conference on Emerging Trends in Computing and Engineering Applications (ETCEA); IEEE: New York, NY, USA, 2022; pp. 1–5. [Google Scholar]
- Esparza, M.; Farahmand, H.; Brody, S.; Mostafavi, A. Examining data imbalance in crowdsourced reports for improving flash flood situational awareness. Int. J. Disaster Risk Reduct. 2023, 95, 103825. [Google Scholar] [CrossRef] [Scilit]
- Tashtoush, Y.; Alrababah, B.; Darwish, O.; Maabreh, M.; Alsaedi, N. A deep learning framework for detection of COVID-19 fake news on social media platforms. Data 2022, 7, 65. [Google Scholar] [CrossRef] [Scilit]
- Jaradat, S.; Nayak, R.; Paz, A.; Ashqar, H.I.; Elhenawy, M. Multitask learning for crash analysis: A Fine-Tuned LLM framework using Twitter data. Smart Cities 2024, 7, 2422–2465. [Google Scholar] [CrossRef] [Scilit]
- Heaton, D.; Nichele, E.; Clos, J.; Fischer, J.E. “ChatGPT says no”: Agency, trust, and blame in Twitter discourses after the launch of ChatGPT. AI Ethics 2025, 5, 653–675. [Google Scholar]
- Donkers, T.; Ziegler, J. Understanding Online Polarization Through Human-Agent Interaction in a Synthetic LLM-Based Social Network. In Proceedings of the International AAAI Conference on Web and Social Media, Copenhagen, Denmark, 23–26 June 2025; Volume 19, pp. 457–478. [Google Scholar]
- Ghali, M.K.; Farrag, A.; Lam, S.; Won, D. BEYONDWORDS is All You Need: Agentic Generative AI based Social Media Themes Extractor. arXiv 2025, arXiv:2503.01880. [Google Scholar]
- Kumar, V.; Sharma, K.V.; Caloiero, T.; Mehta, D.J.; Singh, K. Comprehensive Overview of Flood Modeling Approaches: A Review of Recent Advances. Hydrology 2023, 10, 141. [Google Scholar] [CrossRef] [Scilit]
- Hosseiny, H.; Nazari, F.; Smith, V.; Nataraj, C. A framework for modeling flood depth using a hybrid of hydraulics and machine learning. Sci. Rep. 2020, 10, 8222. [Google Scholar] [CrossRef] [Scilit]
- Cai, S.; Fan, J.; Yang, W. Flooding risk assessment and analysis based on gis and the tfn-ahp method: A case study of chongqing, china. Atmosphere 2021, 12, 623. [Google Scholar] [CrossRef] [Scilit]
- Adeel, A.; Gogate, M.; Farooq, S.; Ieracitano, C.; Dashtipour, K.; Larijani, H.; Hussain, A. A survey on the role of wireless sensor networks and IoT in disaster management. Geol. Disaster Monit. Based Sens. Netw. 2018, 3, 57–66. [Google Scholar]
- Baky, M.A.A.; Islam, M.; Paul, S. Flood hazard, vulnerability and risk assessment for different land use classes using a flow model. Earth Syst. Environ. 2020, 4, 225–244. [Google Scholar] [CrossRef] [Scilit]
- Abdelkarim, A.; Gaber, A.F. Flood risk assessment of the wadi nu’man basin, mecca, Saudi Arabia (during the period, 1988–2019) based on the integration of geomatics and hydraulic modeling: A case study. Water 2019, 11, 1887. [Google Scholar] [CrossRef] [Scilit]
- Ghile, H.; Shirakawa, H.; Tanikawa, H. Application of GIS and machine learning to predict flood areas in Nigeria. Sustainability 2022, 14, 5039. [Google Scholar] [CrossRef] [Scilit]
- Daoudi, M.; Niang, A.J. Flood risk and vulnerability of jeddah city, saudi arabia. In Recent Advances in Flood Risk Management; IntechOpen: London, UK, 2019; pp. 634–654. [Google Scholar]
- Ullah, K.; Zhang, J. Gis-based flood hazard mapping using relative frequency ratio method: A case study of panjkora river basin, eastern hindu kush, Pakistan. PLoS ONE 2020, 15, e0229153. [Google Scholar] [CrossRef] [Scilit]
- Aljohani, H.; Sen, A.A.A.; Ramazan, M.S.; Alzahrani, B.; Bahbouh, N.M. A Smart Framework for Managing Natu-ral Disasters Based on the IoT and ML. Appl. Sci. 2023, 13, 3888. [Google Scholar] [CrossRef] [Scilit]
- Ke, Q.; Tian, X.; Bricker, J.; Tian, Z.; Guan, G.; Cai, H.; Huang, X.; Yang, H.; Liu, J. Urban pluvial flooding prediction by machine learning approaches—A case study of Shenzhen city, China. Adv. Water Resour. 2020, 145, 103719. [Google Scholar] [CrossRef] [Scilit]
- Arabameri, A.; Saha, S.; Mukherjee, K.; Blaschke, T.; Chen, W.; Ngo, P.T.T.; Band, S.S. Modeling spatial flood using novel ensemble artificial intelligence approaches in northern Iran. Remote Sens. 2020, 12, 3423. [Google Scholar] [CrossRef] [Scilit]
- Karimiziarani, M.; Jafarzadegan, K.; Abbaszadeh, P.; Shao, W.; Moradkhani, H. Hazard risk awareness and disaster management: Extracting the information content of twitter data. Sustain. Cities Soc. 2022, 77, 103577. [Google Scholar] [CrossRef] [Scilit]
- Bryan-Smith, L.; Godsall, J.; George, F.; Egode, K.; Dethlefs, N.; Parsons, D. Real-time social media sentiment analysis for rapid impact assessment of floods. Comput. Geosci. 2023, 178, 105405. [Google Scholar] [CrossRef] [Scilit]
- Yuan, F.; Fan, C.; Farahmand, H.; Coleman, N.; Esmalian, A.; Lee, C.-C.; Patrascu, F.I.; Zhang, C.; Dong, S.; Mostafavi, A. Smart flood resilience: Har-nessing community-scale big data for predictive flood risk monitoring, rapid impact assessment, and situational awareness. Environ. Res. Infrastruct. Sustain. 2022, 2, 025006. [Google Scholar] [CrossRef] [Scilit]
- Singh, J.P.; Dwivedi, Y.K.; Rana, N.P.; Kumar, A.; Kapoor, K.K. Event classification and location prediction from tweets during disasters. Ann. Oper. Res. 2019, 283, 737–757. [Google Scholar] [CrossRef] [Scilit]
- Jongman, B.; Wagemaker, J.; Romero, B.R.; de Perez, E.C. Early flood detection for rapid humanitarian response: Harnessing near real-time satellite and Twitter signals. ISPRS Int. J. Geo-Inf. 2015, 4, 2246–2266. [Google Scholar] [CrossRef] [Scilit]
- Kanth, K.; Chitra, P.; Sowmya, G.G. Deep learning-based assessment of flood severity using social media streams. Stoch. Environ. Res. Risk Assess. 2022, 36, 473–493. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Kar, B.; Ishino, F.A.M.; Zhang, C.; Williams, F. Assessing the reliability of relevant tweets and validation using manual and automatic approaches for flood risk communication. ISPRS Int. J. Geo-Inf. 2020, 9, 532. [Google Scholar] [CrossRef] [Scilit]
- Cicek, D.; Kantarci, B. Use of Mobile Crowdsensing in Disaster Management: A Systematic Review, Challenges, and Open Issues. Sensors 2023, 23, 1699. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Tripathy, S.S.; Chaudhuri, S.; Murtugudde, R.; Mhatre, V.; Parmar, D.; Pinto, M.; Zope, P.E.; Dixit, V.; Karmakar, S.; Ghosh, S. Analysis of Mumbai Floods in recent Years with Crowdsourced Data. arXiv 2023, arXiv:2306.09770. [Google Scholar] [CrossRef] [Scilit]
- Podhoranyi, M. A comprehensive social media data processing and analytics architecture by using big data platforms: A case study of twitter flood-risk messages. Earth Sci. Inform. 2021, 14, 913–929. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Alabbas, W. Classification of colloquial Arabic tweets in real-time to detect high-risk floods. In Proceedings of the 2017 International Conference On Social Media, Wearable and Web Analytics (Social Media), London, UK, 19–20 June 2017. [Google Scholar]
- Kankanamge, N.; Yigitcanlar, T.; Goonetilleke, A.; Kamruzzaman, M. Determining disaster severity through social media analysis: Testing the methodology with Southeast Queensland Flood tweets. Int. J. Disaster Risk Reduct. 2020, 42, 101360. [Google Scholar] [CrossRef] [Scilit]
- Kumar, A.; Singh, J.P.; Rana, N.P.; Dwivedi, Y.K. Multi-Channel Convolutional Neural Network for the Identification of Eyewitness Tweets of Disaster. Inf. Syst. Front. 2022, 25, 1589–1604. [Google Scholar] [CrossRef] [Scilit]
- Young, J.; Arthur, R.; Spruce, M.; Williams, H.T. Social sensing of flood impacts in India: A case study of Kerala 2018. Int. J. Disaster Risk Reduct. 2022, 74, 102908. [Google Scholar] [CrossRef] [Scilit]
- Caballero, A.; Centeno, R.; Rodrigo, Á. LLM-Based Multi-Agent Models for Multiclass Classification of Strategic Narratives. In Proceedings of the IberLEF 2024, Valladolid, Spain, 24 September 2024. [Google Scholar]
- Linardos, V.; Drakaki, M.; Tzionas, P. Utilizing LLMs and ML Algorithms in Disaster-Related Social Media Content. GeoHazards 2025, 6, 33. [Google Scholar] [CrossRef] [Scilit]
- Sen, A.A.; Yamin, M. Advantages of using fog in IoT applications. Int. J. Inf. Technol. 2021, 13, 829–837. [Google Scholar] [CrossRef] [Scilit]
- Hamoui, B.; Mars, M.; Almotairi, K. FloDusTA: Saudi tweets dataset for flood, dust storm, and traffic accident events. In Proceedings of the Twelfth Language Resources and Evaluation Conference, Marseille, France, 11–16 May 2020; pp. 1391–1396. Available online: https://aclanthology.org/2020.lrec-1.174/ (accessed on 28 February 2026).
- Lawal, Z.K.; Yassin, H.; Zakari, R.Y. Flood prediction using machine learning models: A case study of kebbi state Nigeria. In 2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE); IEEE: New York, NY, USA, 2021; pp. 1–6. [Google Scholar]
- Sankaranarayanan, S.; Prabhakar, M.; Satish, S.; Jain, P.; Ramprasad, A.; Krishnan, A. Flood prediction based on weather parameters using deep learning. J. Water Clim. Change 2020, 11, 1766–1783. [Google Scholar]
- Yeasmin, N.; Mahbub, N.I.; Baowaly, M.K.; Singh, B.C.; Alom, Z.; Aung, Z.; Azim, M.A. Analysis and prediction of user sentiment on COVID-19 pandemic using tweets. Big Data Cogn. Comput. 2022, 6, 65. [Google Scholar] [CrossRef] [Scilit]
- Lv, L.; Wu, Z.; Zhang, J.; Zhang, L.; Tan, Z.; Tian, Z. A VMD and LSTM based hybrid model of load forecasting for power grid security. IEEE Trans. Ind. Inform. 2021, 18, 6474–6482. [Google Scholar] [CrossRef] [Scilit]
- Lv, L.; Wu, Z.; Zhang, L.; Gupta, B.B.; Tian, Z. An edge-AI based forecasting approach for improving smart microgrid efficiency. IEEE Trans. Ind. Inform. 2022, 18, 7946–7954. [Google Scholar] [CrossRef] [Scilit]
- Gia, T.N.; Queralta, J.P.; Westerlund, T. Exploiting LoRa, edge, and fog computing for traffic monitoring in smart cities. In LPWAN Technologies for IoT and M2M Applications; Academic Press: Cambridge, MA, USA, 2020; pp. 347–371. [Google Scholar]
- Crescini, D.; Touati, F.; Crescini, P.; Legena, C.; Galli, A.; Mnaouer, A.B. Multi-Parametric Environmental Diagnostics and Monitoring Sensor Node. U.S. Patent No. 10,429,367, 1 October 2019. [Google Scholar]








| Ref. | Methodology | Objective | Smart | Physical |
|---|---|---|---|---|
| [21] | GIS spatial statistics | Assess and analyze flooding risk in Chongqing, China | No | Yes |
| [22] | WSNs with IoT | Investigate the roles of IoT and WSNs in disaster management | ||
| [23] | GIS and hydraulic | Study flood risk for different land uses in Surma, Bangladesh | Yes | No |
| [24] | Hydrological modeling | Identify flood-prone urban areas | ||
| [25] | ANN and LR | Demonstrate that machine learning techniques can be used to accurately map and predict flood-prone areas and to develop flood mitigation plans and policies | No | Yes |
| [26] | Spatial analysis | Identify and map the city of Jeddah’s flood zones to minimize their susceptibility and include them in flood risk prevention and mitigation methods | No | Yes |
| [27] | RFR model | Identify high-risk areas | Yes | No |
| [28] | IoT and ML models | Determine the level of risk in each area of a city | No | Yes |
| [29] | ML models | Use ML models to predict the occurrence of urban pluvial flooding | No | Yes |
| Ref. | Objectives | Model | Results | Limitations |
|---|---|---|---|---|
| [34] | Use an automatic tweet parsing system, effectively use social media in locating users asking for help during a disaster | Markov model | Develop a TM algorithm to detect flood-related tweets in English and Hindi, as well as classify these tweets into high and low priority to identify those that require attention. | Some tweets are misclassified by the proposed system and can be studied by researchers to determine the reasons for such misclassification. |
| [40] | Describe the flood alert situation using only tweet messages and investigate if the informative potential of such data is also demonstrated | Naïve Bayes | Twitter messages contain valuable flood spatial information, according to text analysis techniques. | Because of the complexity of some language structures, which contain many special characters, some languages will be difficult to implement in such an environment. |
| [41] | Investigate accurate classification for short, informal (colloquial) Arabic tweets | R tool with SVM | Using colloquial Arabic text as a dataset, investigated a variety of text classification techniques. | There is a reliability issue because it relies on only one model with low accuracy and a small dataset. |
| [42] | Present the findings of an analysis using an innovative methodology and use the 2010–2011 Southeast Queensland Floods as a case study to demonstrate how disaster severity can be assessed using tweets | Decision tree | The research presented contributes to a better understanding of the systematic use of volunteer crowdsourced data to improve disaster management practices. | The inequality of geo-located tweets is a critical constraint. |
| [43] | Build a model to categorize tweets to better organize rescue and relief operations and save lives | Neural Network | The paper compares several conventional machines and Deep Learning techniques. | For the classification task, only English-language tweets were used, whereas during disasters, users posted in their regional languages. |
| [44] | Make a map that characterizes the social impacts of the major flood event in Kerala in 2018 | Manual inspection | Flood impact maps derived from Telegram and Twitter. | On Twitter, relevant data is mixed in with larger amounts of irrelevant data, which means the data needs more filtering steps. |
| [45] | Use LLM-based multi-agent models for multiclassification of tweets | LLM | Better results of classification compared to traditional LM models. | Stability of performance and responsibility of autoclassification. |
| [46] | Utilize LLMs and ML to classify social media of disasters | LLM + ML | Detect the type of threat and its severity, with additional information reducing the time needed for tagging training data. | Depend only on textual and multi-topic data. |
| Features of the Dataset | ML Model Accuracy % | Dataset Size | County | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The Selected Models for Our Ensample Learning (KNN, RF, DL) | |||||||||||||||
| Ref. | Month (No.) | Temp | Wind Speed | Rain (mm) | SVM | KNN | RF | LR | DT | DL | Naïve Bayes | DNN | SCV | ||
| [49] | NO | NO | NO | Yes | NO | NO | NO | 85.7 | 57.1 | NO | NO | NO | 28.57 | 12,053 | Nigeria |
| [50] | Yes | Yes | NO | Yes | 85.6 | 87.73 | NO | NO | NO | NO | 85.73 | 91.18 | NO | 3120 | India |
| Our | Yes | Yes | Yes | Yes | 98.9 | 99.2 | 99.6 | 95.8 | 99.3 | 99.1 | NO | NO | NO | 3654 | KSA |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Sen, A.A.A.; Aljohani, F.H.; Bahbouh, N.M.; Mnaouer, A.B.; Tayan, O.; Alkhodre, A.B. A Context-Aware Flood Warning Framework Integrating Ensemble Learning and LLMs. GeoHazards 2026, 7, 35. https://doi.org/10.3390/geohazards7010035
Sen AAA, Aljohani FH, Bahbouh NM, Mnaouer AB, Tayan O, Alkhodre AB. A Context-Aware Flood Warning Framework Integrating Ensemble Learning and LLMs. GeoHazards. 2026; 7(1):35. https://doi.org/10.3390/geohazards7010035
Chicago/Turabian StyleSen, Adnan Ahmed Abi, Fares Hamad Aljohani, Nour Mahmoud Bahbouh, Adel Ben Mnaouer, Omar Tayan, and Ahmad. B. Alkhodre. 2026. "A Context-Aware Flood Warning Framework Integrating Ensemble Learning and LLMs" GeoHazards 7, no. 1: 35. https://doi.org/10.3390/geohazards7010035
APA StyleSen, A. A. A., Aljohani, F. H., Bahbouh, N. M., Mnaouer, A. B., Tayan, O., & Alkhodre, A. B. (2026). A Context-Aware Flood Warning Framework Integrating Ensemble Learning and LLMs. GeoHazards, 7(1), 35. https://doi.org/10.3390/geohazards7010035

