نموذج توقع الفيضانات الحضرية بناءً على التعلم العميق القابل للتفسير وآلية الانتباه
Urban Flood Prediction Model Based on Explainable Deep Learning and Attention Mechanism

شارك:
المجلة: International Journal of Disaster Risk Science، المجلد: 17، العدد: 1
DOI: https://doi.org/10.1007/s13753-026-00691-4
تاريخ النشر: 2026-01-20
المؤلف: Shanlun Xu وآخرون
الموضوع الرئيسي: تقييم وإدارة مخاطر الفيضانات

نظرة عامة

تبحث هذه الدراسة في تطبيق نماذج التعلم العميق، وبشكل خاص الشبكات العصبية التلافيفية (CNNs)، لتوقع الفيضانات الحضرية، مع التركيز على دور تغييرات أوزان المؤشرات على دقة النموذج. من خلال دمج آلية الانتباه بين الطبقات التلافيفية والموصولة بالكامل، تم تصميم النموذج لإعطاء الأولوية للعوامل الحرجة المسببة للفيضانات. بالإضافة إلى ذلك، يتم استخدام تحسين سرب الجسيمات (PSO) لضبط المعلمات الفائقة الرئيسية، مثل عدد المرشحات ومعدل التعلم. تم التحقق من صحة النموذج في جزيرة هايديان، الصين، حيث حقق معامل كفاءة ناش-سوتكليف (NSE) قدره 0.9287، والذي تحسن إلى 0.9503 بعد دمج آلية الانتباه وتحسين المعلمات الفائقة. من الجدير بالذكر أن النموذج أظهر دقة محسنة للفيضانات الأكبر، مع NSE قدره 0.9535 لفيضانات فترة العودة 100 عام.

تسلط الدراسة الضوء على أهمية القابلية للتفسير في نماذج التعلم العميق لتوقع الفيضانات. من خلال تحليل الشرح الإضافي لشابلي (SHAP)، وُجد أن الارتفاع هو العامل الأكثر تأثيرًا، حيث يساهم بنسبة 44% من الأهمية الإجمالية، يليه مستويات المد عند 33%. زادت آلية الانتباه بشكل فعال من أوزان هذه المؤشرات الحرجة، بينما سمح تحسين PSO بعملية تعلم أكثر شمولاً، مما عزز أوزان مؤشرات الأمطار التي تم تجاهلها سابقًا. بشكل عام، تؤكد هذه الدراسة على أهمية فهم تأثير تغييرات أوزان المؤشرات على دقة النموذج، مما يوفر رؤى قيمة لجهود السيطرة على الفيضانات والتخطيط الحضري.

مقدمة

تسلط مقدمة هذه الورقة البحثية الضوء على التأثير المتزايد لتغير المناخ على الأحداث الجوية المتطرفة، وخاصة الفيضانات الحضرية، التي تفاقمت بسبب التحضر السريع الذي يغير الظروف السطحية ويزيد من الجريان السطحي. تبرز الحوادث الفيضانية الأخيرة الملحوظة، مثل تلك التي حدثت في اليابان وزينغتشو وشنتشن، الحاجة الملحة لاستراتيجيات فعالة لتوقع الفيضانات ومنع الكوارث. تؤكد الورقة على تطبيق نماذج التعلم العميق في توقع الفيضانات الحضرية، مشيرة إلى إمكانية آليات الانتباه لتعزيز دقة النموذج من خلال التركيز على العوامل المهمة المسببة للفيضانات مع تقليل تأثير العوامل الأقل أهمية.

تقترح الدراسة نهجًا مبتكرًا يدمج آلية الانتباه في إطار عمل الشبكة العصبية التلافيفية (CNN)، بهدف تحسين قدرات النموذج التنبؤية. بالإضافة إلى ذلك، تستخدم تحسين سرب الجسيمات (PSO) لتحسين المعلمات الفائقة، والتي ثبت أنها أكثر كفاءة من الطرق التقليدية. تتضمن الدراسة أيضًا شروحات إضافية لشابلي (SHAP) لتوفير رؤى حول كيفية تأثير آلية الانتباه وتعديلات المعلمات الفائقة على أداء النموذج. تشمل مساهمات هذه الدراسة تطوير نموذج قابل للتفسير لتوقع الفيضانات الحضرية الذي لا يعزز فقط دقة التوقعات ولكن أيضًا يوضح العلاقة بين أوزان المؤشرات ونتائج النموذج. ستفصل الأقسام التالية من الورقة الإطار، والأساليب، ومنطقة الدراسة، والبيانات، والنتائج، والاستنتاجات.

الطرق

تركز منهجية هذه الدراسة على تطوير نموذج لتوقع الفيضانات الحضرية باستخدام إطار عمل للتعلم العميق قابل للتفسير معزز بآلية الانتباه. يتم توضيح عملية بناء النموذج في الشكل 1 وتتكون من ثلاث خطوات رئيسية. أولاً، يتم إنشاء نموذج فيزيائي للفيضانات الحضرية باستخدام نموذج إدارة مياه العواصف على الكمبيوتر الشخصي (PCSWMM) لمحاكاة أعماق الغمر تحت ظروف متغيرة، بينما يتم استخدام ArcGIS لاستخراج البيانات البيئية ذات الصلة من منطقة الدراسة. ثانيًا، يدمج النموذج مصادر بيانات متعددة، بما في ذلك الأمطار، ومستويات المد، والعوامل البيئية، وأعماق الغمر، لإبلاغ نموذج التعلم العميق، الذي يعتمد بشكل أساسي على الشبكات العصبية التلافيفية (CNN). يسمح دمج آلية الانتباه للنموذج بإعطاء الأولوية للمتغيرات المدخلة المهمة، ويتم استخدام تحسين سرب الجسيمات (PSO) لتحسين المعلمات الفائقة.

في الخطوة الثالثة، يتم تقييم ومقارنة أداء النماذج—CNN، شبكة الأعصاب التلافيفية مع آلية الانتباه (AM-CNN)، وشبكة الأعصاب التلافيفية مع تحسين سرب الجسيمات وآلية الانتباه (PSO-AM-CNN). لتعزيز القابلية للتفسير، يتم تطبيق شروحات إضافية لشابلي لتوضيح أهمية العوامل المختلفة المسببة للفيضانات داخل النموذج، مما يظهر كيف يمكن أن تؤثر تغييرات أوزان المؤشرات على دقة النموذج. يهدف هذا النهج الشامل إلى تحسين توقع الفيضانات الحضرية مع ضمان أن تكون قرارات النموذج قابلة للتفسير وشفافة.

النتائج

تحدد قسم النتائج التحقق من صحة النموذج الفيزيائي PCSWMM، مما يوضح فعاليته في محاكاة الظواهر ذات الصلة. كما يوضح إعداد مجموعة بيانات التعلم العميق، التي تشكل أساس بناء النموذج اللاحق. تم تحسين نموذج التعلم العميق من خلال ضبط المعلمات الفائقة باستخدام تحسين سرب الجسيمات (PSO)، مما يعزز قدراته التنبؤية.

علاوة على ذلك، تم تقييم أداء النموذج بدقة، مع مؤشرات تشير إلى دقته وموثوقيته. تم إجراء تحليل قابلية التفسير باستخدام SHAP (SHapley Additive exPlanations)، مما يوفر رؤى حول عملية اتخاذ القرار في النموذج وتأثير الميزات المدخلة المختلفة على التوقعات. بشكل عام، تؤكد النتائج على قوة النموذج المقترح وقابليته للتطبيق في السياقات ذات الصلة.

المناقشة

تحدد قسم المناقشة في الورقة البحثية المنهجيات والنتائج المتعلقة بتوقع الفيضانات الحضرية باستخدام مزيج من النمذجة الفيزيائية وتقنيات التعلم العميق. يدمج نموذج PCSWMM وحدة أنبوب هيدروديناميكي 1D مع وحدة غمر سطحية 2D، مما يحاكي بفعالية جريان العواصف وسيناريوهات الفيضانات الحضرية. تم التحقق من دقة النموذج مقابل البيانات الملاحظة من إعصار راماسون، حيث حقق خطأ مطلق أقل من 0.1 م وقيمة R² قدرها 0.725، مما يشير إلى تمثيل موثوق لديناميات الفيضانات في العالم الحقيقي.

لتحسين دقة التوقع، تستخدم الدراسة شبكة عصبية تلافيفية 1D (CNN) معززة بآلية الانتباه ومحسنة من خلال تحسين سرب الجسيمات (PSO). يسمح هذا النهج للنموذج بإعطاء الأولوية للميزات المدخلة الحرجة، مثل بيانات نموذج الارتفاع الرقمي (DEM) ومستويات المد، التي تؤثر بشكل كبير على توقعات الفيضانات. تُظهر مؤشرات الأداء، بما في ذلك متوسط الخطأ المطلق (MAE)، وجذر متوسط مربع الخطأ (RMSE)، وكفاءة ناش-سوتكليف (NSE)، أن نموذج PSO-AM-CNN يتفوق على النماذج التقليدية، محققًا NSE قدره 0.9503. كما يظهر النموذج انخفاضًا كبيرًا في وقت الحساب، حيث يكمل المحاكاة في 55 ثانية مقارنة بـ 80 دقيقة لنموذج PCSWMM، مما يبرز إمكانيته في التنبؤ السريع بالفيضانات الحضرية.

القيود

تقدم الدراسة نموذجًا للتعلم العميق مع آلية انتباه قابلة للتفسير لتوقع الفيضانات الحضرية، مما يظهر توقعات سريعة ودقيقة إلى جانب القابلية للتفسير. ومع ذلك، يتم الاعتراف بعدة قيود. قد يتطلب النموذج، على الرغم من فعاليته في منطقة جزيرة هايديان، تعديلات في عدد المرشحات ومعدلات التعلم للتضاريس المتنوعة لالتقاط الاستجابات الهيدرولوجية المتغيرة بدقة، مثل الجريان السطحي السريع في المناطق الجبلية مقابل التدفق السطحي الأبطأ في السهول. بالإضافة إلى ذلك، قد يؤدي دمج مؤشرات محددة للمناخ مثل التبخر والنتح ورطوبة التربة إلى تعزيز قابلية نقل النموذج عبر مناطق مناخية مختلفة.

علاوة على ذلك، بينما يؤدي النموذج بشكل جيد للأحداث الفيضانية ذات فترة العودة تصل إلى 100 عام، لا تزال استقراره التنبؤي للأحداث ذات الاحتمالية المنخفضة للغاية، مثل تلك التي لها فترة عودة 200 عام، غير مؤكدة. قد يتراجع أداء النموذج أيضًا مع نقص البيانات، خاصة في حالات الأمطار قصيرة المدة. يجب أن تركز الأبحاث المستقبلية على دمج المزيد من الأحداث الفيضانية المتطرفة في مجموعة بيانات التدريب واستخدام تقنيات زيادة البيانات للتخفيف من مشكلات ندرة البيانات. يمكن أيضًا استكشاف أساليب التعلم الانتقالي لتسهيل تكيف النموذج مع بيئات حضرية مختلفة، مما يحسن من قوته وقابليته للتوسع.

Journal: International Journal of Disaster Risk Science, Volume: 17, Issue: 1
DOI: https://doi.org/10.1007/s13753-026-00691-4
Publication Date: 2026-01-20
Author(s): Shanlun Xu et al.
Primary Topic: Flood Risk Assessment and Management

Overview

This research investigates the application of deep learning models, specifically convolutional neural networks (CNNs), for urban flood prediction, emphasizing the role of indicator weight changes on model accuracy. By integrating an attention mechanism between the convolutional and fully connected layers, the model is designed to prioritize critical flood-inducing factors. Additionally, particle swarm optimization (PSO) is utilized to fine-tune key hyperparameters, such as the number of filters and learning rate. The model was validated on Haidian Island, China, achieving a Nash-Sutcliffe efficiency (NSE) coefficient of 0.9287, which improved to 0.9503 after incorporating the attention mechanism and optimizing hyperparameters. Notably, the model demonstrated enhanced accuracy for larger inundations, with an NSE of 0.9535 for the 100-year return-period flood.

The study highlights the significance of interpretability in deep learning models for flood prediction. Through Shapley additive explanation (SHAP) analysis, it was found that elevation is the most influential factor, contributing 44% to the total importance, followed by tidal levels at 33%. The attention mechanism effectively increased the weights of these critical indicators, while the PSO optimization allowed for a more comprehensive learning process, enhancing the weights of previously overlooked rainfall indicators. Overall, this research underscores the importance of understanding the impact of indicator weight changes on model accuracy, providing valuable insights for flood control and urban planning efforts.

Introduction

The introduction of this research paper highlights the escalating impact of climate change on extreme weather events, particularly urban flooding, exacerbated by rapid urbanization that alters surface conditions and increases runoff. Notable recent flooding incidents, such as those in Japan, Zhengzhou, and Shenzhen, underscore the urgent need for effective flood prediction and disaster prevention strategies. The paper emphasizes the application of deep learning models in urban flood prediction, noting the potential of attention mechanisms to enhance model accuracy by focusing on significant flood-inducing factors while minimizing the influence of less critical ones.

The study proposes an innovative approach that integrates an attention mechanism into a convolutional neural network (CNN) framework, aiming to improve the model’s predictive capabilities. Additionally, it employs Particle Swarm Optimization (PSO) for hyperparameter optimization, which is shown to be more efficient than traditional methods. The research also incorporates Shapley additive explanations (SHAP) to provide insights into how the attention mechanism and hyperparameter adjustments influence model performance. The contributions of this study include the development of an interpretable urban flood prediction model that not only enhances prediction accuracy but also elucidates the relationship between indicator weights and model outcomes. The subsequent sections of the paper will detail the framework, methods, study area, data, results, and conclusions.

Methods

The methodology of this study focuses on developing an urban flood prediction model utilizing an explainable deep learning framework enhanced by an attention mechanism. The model construction process is illustrated in Figure 1 and consists of three main steps. First, a physical model of urban flooding is created using the Personal Computer Storm Water Management Model (PCSWMM) to simulate inundation depths under varying conditions, while ArcGIS is employed to extract relevant environmental data from the study area. Second, the model integrates multiple data sources, including rainfall, tide levels, environmental factors, and inundation depths, to inform the deep learning model, which is primarily based on Convolutional Neural Networks (CNN). The incorporation of the attention mechanism allows the model to prioritize significant input variables, and Particle Swarm Optimization (PSO) is utilized to optimize hyperparameters.

In the third step, the performance of the models—CNN, attention mechanism-convolutional neural network (AM-CNN), and particle swarm optimization-attention mechanism-convolutional neural network (PSO-AM-CNN)—is evaluated and compared. To enhance interpretability, Shapley additive explanations are applied to elucidate the significance of various flood-inducing factors within the model, thereby demonstrating how changes in indicator weights can influence model accuracy. This comprehensive approach aims to improve urban flood prediction while ensuring the model’s decisions are explainable and transparent.

Results

The results section outlines the validation of the PCSWMM physical model, demonstrating its effectiveness in simulating relevant phenomena. It details the preparation of a deep learning dataset, which serves as the foundation for subsequent model construction. The deep learning model was optimized through hyperparameter tuning using Particle Swarm Optimization (PSO), enhancing its predictive capabilities.

Furthermore, the performance of the model was rigorously evaluated, with metrics indicating its accuracy and reliability. An interpretability analysis was conducted using SHAP (SHapley Additive exPlanations), providing insights into the model’s decision-making process and the influence of various input features on the predictions. Overall, the findings affirm the robustness of the proposed model and its applicability in relevant contexts.

Discussion

The discussion section of the research paper outlines the methodologies and findings related to urban flooding prediction using a combination of physical modeling and deep learning techniques. The PCSWMM model integrates a 1D hydrodynamic pipeline module with a 2D surface inundation module, effectively simulating storm runoff and urban flooding scenarios. The model’s accuracy was validated against observed data from Typhoon Rammasun, achieving an absolute error of less than 0.1 m and an R² value of 0.725, indicating a reliable representation of real-world flooding dynamics.

To enhance prediction accuracy, the study employs a 1D Convolutional Neural Network (CNN) augmented with an attention mechanism and optimized through Particle Swarm Optimization (PSO). This approach allows the model to prioritize critical input features, such as digital elevation model (DEM) data and tide levels, which significantly influence flood predictions. Performance metrics, including Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Nash-Sutcliffe Efficiency (NSE), demonstrate that the PSO-AM-CNN model outperforms traditional models, achieving an NSE of 0.9503. The model also exhibits a substantial reduction in computation time, completing simulations in 55 seconds compared to 80 minutes for the PCSWMM model, thereby highlighting its potential for rapid urban flood forecasting.

Limitations

The study presents an interpretable attention mechanism deep learning model for predicting urban flooding, demonstrating quick and accurate predictions alongside interpretability. However, several limitations are acknowledged. The model, while effective in the Haidian Island area, may require adjustments in the number of filters and learning rates for diverse terrains to accurately capture varying hydrological responses, such as rapid runoff in mountainous regions versus slower surface flow in plains. Additionally, incorporating climate-specific indicators like evapotranspiration and soil moisture could enhance the model’s transferability across different climatic zones.

Moreover, while the model performs well for flood events with a return period of up to 100 years, its predictive stability for extreme low-probability events, such as those with a 200-year return period, remains uncertain. The model’s performance may also decline with insufficient data, particularly in cases of short-duration rainfall. Future research should focus on integrating more extreme flood events into the training dataset and employing data augmentation techniques to mitigate data scarcity issues. Transfer learning approaches could also be explored to facilitate the adaptation of the model for different urban environments, thereby improving its robustness and scalability.