<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">69374</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2025.069374</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>A Hybrid Deep Learning Approach Using Vision Transformer and U-Net for Flood Segmentation</article-title>
<alt-title alt-title-type="left-running-head">A Hybrid Deep Learning Approach Using Vision Transformer and U-Net for Flood Segmentation</alt-title>
<alt-title alt-title-type="right-running-head">A Hybrid Deep Learning Approach Using Vision Transformer and U-Net for Flood Segmentation</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author">
<name name-style="western"><surname>Dofitas</surname><given-names>Cyreneo</given-names><suffix>Jr</suffix></name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Kim</surname><given-names>Yong-Woon</given-names></name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<contrib id="author-3" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Byun</surname><given-names>Yung-Cheol</given-names></name><xref ref-type="aff" rid="aff-3">3</xref><email>ycb@jejunu.ac.kr</email></contrib>
<aff id="aff-1"><label>1</label><institution>Department of Institute of Information Science and Technology, Jeju National University</institution>, <addr-line>Jeju-si, 63243</addr-line>, <country>Republic of Korea</country></aff>
<aff id="aff-2"><label>2</label><institution>Department of Computer Engineering, Jeju National University</institution>, <addr-line>Jeju, 63243</addr-line>, <country>Republic of Korea</country></aff>
<aff id="aff-3"><label>3</label><institution>Department of Computer Engineering, Major of Electronic Engineering, Jeju National University, Food Tech Center (FTC), Jeju National University</institution>, <addr-line>Jeju, 63243</addr-line>, <country>Republic of Korea</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Yung-Cheol Byun. Email: <email>ycb@jejunu.ac.kr</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic">
<year>2025</year></pub-date>
<pub-date date-type="pub" publication-format="electronic">
<day>09</day><month>12</month><year>2025</year>
</pub-date>
<volume>86</volume>
<issue>2</issue>
<fpage>1</fpage>
<lpage>19</lpage>
<history>
<date date-type="received">
<day>21</day>
<month>06</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>27</day>
<month>08</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2025 The Authors.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Published by Tech Science Press.</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_69374.pdf"></self-uri>
<abstract>
<p>Recent advances in deep learning have significantly improved flood detection and segmentation from aerial and satellite imagery. However, conventional convolutional neural networks (CNNs) often struggle in complex flood scenarios involving reflections, occlusions, or indistinct boundaries due to limited contextual modeling. To address these challenges, we propose a hybrid flood segmentation framework that integrates a Vision Transformer (ViT) encoder with a U-Net decoder, enhanced by a novel Flood-Aware Refinement Block (FARB). The FARB module improves boundary delineation and suppresses noise by combining residual smoothing with spatial-channel attention mechanisms. We evaluate our model on a UAV-acquired flood imagery dataset, demonstrating that the proposed ViT-UNet&#x002B;FARB architecture outperforms existing CNN and Transformer-based models in terms of accuracy and mean Intersection over Union (mIoU). Detailed ablation studies further validate the contribution of each component, confirming that the FARB design significantly enhances segmentation quality. To its better performance and computational efficiency, the proposed framework is well-suited for flood monitoring and disaster response applications, particularly in resource-constrained environments.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Flood detection</kwd>
<kwd>vision transformer (ViT)</kwd>
<kwd>U-Net segmentation</kwd>
<kwd>image processing</kwd>
<kwd>deep learning</kwd>
<kwd>artificial intelligence</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>National Research Foundation of Korea (NRF)</funding-source>
<award-id>RS-2024-00405278</award-id>
</award-group>
<award-group id="awg2">
<funding-source>Jeju Industry-University Convergence District Project</funding-source>
<award-id>P0029950</award-id>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>The increasing frequency and severity of floods driven by climate change demand advanced, accessible, and efficient flood detection solutions. Recent progress in deep learning, particularly with convolutional neural networks (CNNs) and Vision Transformers (ViTs), has significantly enhanced flood segmentation using aerial and satellite imagery. However, current methods face notable limitations. CNN-based models, such as U-Net variants, excel at capturing local spatial details but struggle to model global context, resulting in inaccurate delineation of complex flood boundaries in regions with water reflections, shadows, or low-contrast edges [<xref ref-type="bibr" rid="ref-1">1</xref>,<xref ref-type="bibr" rid="ref-2">2</xref>]. Furthermore, many existing approaches lack domain-specific post-processing to address flood-specific artifacts, such as noisy textures or ambiguous boundaries, which are prevalent in high-resolution aerial imagery [<xref ref-type="bibr" rid="ref-3">3</xref>,<xref ref-type="bibr" rid="ref-4">4</xref>]. These limitations hinder real-time deployment in disaster management, particularly in resource-constrained settings like developing countries, where affordable and robust flood notification systems are scarce.</p>
<p>These systems can enhance the effectiveness of crisis response and resilience to floods, which have experienced a relatively high incidence in recent years [<xref ref-type="bibr" rid="ref-5">5</xref>]. Timely flood detection and monitoring are essential for minimizing these effects and implementing preventive measures to protect the affected population and mitigate financial losses. Despite the challenges and noise present in various image types, such as those from fixed surveillance cameras, drones, crowdsourced observations, and social media streams, automated image analysis techniques have rapidly evolved into flexible and robust tools for information extraction [<xref ref-type="bibr" rid="ref-6">6</xref>]. Here, we introduce a tailored post-processing refinement block that further improves segmentation boundaries, which is detailed in the Methods.</p>
<p>This study builds upon the established ViT-UNet hybrid backbone and centers its core contribution on the design and integration of the Flood-Aware Refinement Block (FARB), a novel post-processing module for improving flood boundary delineation. The key contributions of this work are as follows:
<list list-type="bullet">
<list-item>
<p>Proposed a hybrid ViT-UNet framework that performs pixel-wise flood segmentation, integrating a novel Flood-Aware Refinement Block (FARB) that enhances boundary delineation through spatial-channel attention and residual refinement.</p></list-item>
<list-item>
<p>To introduce a domain-specific flood-aware refinement block, a post-processing module that enhances segmentation quality by refining boundaries affected by reflections, shadows, and noisy textures. It integrates residual smoothing with spatial-channel attention to improve segmentation of complex flood contours.</p></list-item>
<list-item>
<p>We develop a comprehensive and efficient training pipeline, incorporating a targeted data augmentation strategy that simulates diverse environmental conditions. This ensures model robustness and generalization to unseen flood scenarios.</p></list-item>
</list></p>
</sec>
<sec id="s2">
<label>2</label>
<title>Literature Review</title>
<p>Based on the literature, we selected widely adopted architectures for segmentation tasks, including U-Net variants and Swin Transformer, as strong CNN and transformer baselines. These models have been used extensively in both general and flood-specific segmentation studies.</p>
<p>The selection of U-Net variants (e.g., U-Net Conv2D, U-Net Residual, U-Net Attention Gate) was motivated by their established success in medical image segmentation&#x2014;where precise boundary delineation is crucial&#x2014;and their frequent adaptation to remote sensing applications, including flood mapping. Swin Transformer was included due to its strong performance in vision tasks, specifically its ability to model global spatial dependencies, which is critical for complex flood imagery. While other state-of-the-art architectures such as DeepLabv3&#x002B; and SegFormer were considered, they were excluded due to higher computational demands or limited suitability for UAV-based flood datasets at the target resolution (512 <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 pixels). By focusing on U-Net and Transformer hybrids, our study aligns the comparative evaluation with the proposed ViT-UNet framework to directly highlight the added value of the Flood-Aware Refinement Block (FARB).</p>
<p>Vision Transformers (ViTs) have emerged as powerful architectures for image segmentation due to their ability to capture long-range dependencies and global contextual information. Recent studies have applied ViTs to flood detection tasks, demonstrating their potential in diverse imaging scenarios. We enhanced a Vision Transformer model for binary flood classification by transferring knowledge across multispectral imagery, and we reached CNN-based models for disaster management [<xref ref-type="bibr" rid="ref-7">7</xref>,<xref ref-type="bibr" rid="ref-8">8</xref>]. SemT-Former detects real floods in high-risk regions [<xref ref-type="bibr" rid="ref-9">9</xref>]. The latest methods leverage UAV images with probabilistic optimization for flood mapping [<xref ref-type="bibr" rid="ref-10">10</xref>]. FWSARNet leverages deformable convolutions rather than self-attention to better detect the boundaries in SAR imagery [<xref ref-type="bibr" rid="ref-11">11</xref>]. This presents Vision Transformer-based models with differential attention to improve flood mapping in SAR and camera images. Federated learning transformers for rain and flood classification in urban areas [<xref ref-type="bibr" rid="ref-12">12</xref>]. While previous models such as Swin Transformer and DeepSARFlood lack a mechanism to refine segmented boundaries in flood-prone urban environments, we address this persistent limitation by introducing a domain-specific post-processing innovation. Recent advances demonstrate the effectiveness of combining Transformer-based encoders with CNN-based decoders for semantic segmentation, and our work adopts this established hybrid backbone [<xref ref-type="bibr" rid="ref-13">13</xref>,<xref ref-type="bibr" rid="ref-14">14</xref>]. We extend it with the Flood-Aware Refinement Block (FARB), specifically designed to correct boundary-level artifacts&#x2014;such as water reflections, terrain occlusions, or low-contrast flood areas&#x2014;that remain problematic in earlier designs.</p>
<p>Selective feature reinforcement and adaptive token extraction have proven effective for highlighting flood-affected areas and improving the delineation of water borders, debris, and infrastructure damage. Following this line, our work integrates Vision Transformer (ViT) with UNet-based segmentation, drawing inspiration from hybrid transformer-CNN strategies like AtTransUNet [<xref ref-type="bibr" rid="ref-8">8</xref>,<xref ref-type="bibr" rid="ref-15">15</xref>], to strike a balance between fine-grained spatial segmentation and global contextual understanding.</p>
<p>In urban flood detection, visual transformers combined with hydrometeorological forecasting systems have shown strong performance in real-time rain and flood classification, supporting early warning and post-disaster assessment efforts. Additionally, incorporating attention gates into UNet architectures improves focus on critical features, significantly enhancing flood area segmentation for disaster management and response [<xref ref-type="bibr" rid="ref-16">16</xref>]. The adoption of deep learning, convolutional neural network (CNN) has enhanced flood detection precision. Models like Multi-Scale Deeplab, UNet, and Feature Pyramid Networks (FPN) segment flood-affected areas by leveraging neural network architectures [<xref ref-type="bibr" rid="ref-17">17</xref>,<xref ref-type="bibr" rid="ref-18">18</xref>].</p>
<p>To tackle challenges in SAR image processing and the lack of labeled data, a near real-time flood detection method for the Yangtze River Basin, was presented. In examining the performance of CNN models, a FCN-8, SegNet, UNet, and DeepResUNet, on 16 flood cases, it was found that UNet and DeepResUNet had the best pixelwise accuracy compared to traditional thresholding [<xref ref-type="bibr" rid="ref-19">19</xref>]. Existing solutions have included connected vision systems and deep learning pipelines to improve flood detection by leveraging various, real-time data sources like social media, traffic cameras and river feeds to enrich their training datasets [<xref ref-type="bibr" rid="ref-20">20</xref>,<xref ref-type="bibr" rid="ref-21">21</xref>].</p>
<p>Deep learning models, such as UNet, SegNet, and FCN32, have achieved high accuracy in flood zone delineation using aerial and satellite images while improved performance is observed in the case of UNet and DeepResUNet for SAR image analysis [<xref ref-type="bibr" rid="ref-19">19</xref>]. High-level architectures involve transformer encoders and geophysical information as well as U-Net frameworks for generating flood inundation maps, without forgetting EfficientNet-B7 encoders and multi-scale averaging, facilitating better performance on varying areas [<xref ref-type="bibr" rid="ref-22">22</xref>,<xref ref-type="bibr" rid="ref-23">23</xref>]. In addition, a CNN-based approach for classification of flood water depth as knee-high, waist-high, and dangerously high was also developed, where a strong real-time classification performance was obtained by using deep architectures, such as VGG16, ResNet, and Inception, with ResNet-50 architecture offering the best results. Their system, along with being connected to a mobile application, gleans the feasible application of deep learning for real-time disaster coping [<xref ref-type="bibr" rid="ref-24">24</xref>&#x2013;<xref ref-type="bibr" rid="ref-27">27</xref>].</p>
<p>Recent research has explored hybrid architectures have been proposed to improve computational efficiency and segment quality. WVResU-Net Another recent method for flood mapping using the Sentinel-1 SAR source, which combines Vision Multi-Layer Perceptrons and a ResU-Net to cope with the computational complexity and to enhance the features extraction ResU-Net. DeepLabv3&#x002B; and ASPP have achieved good results on post-disaster elastic research of UAV images [<xref ref-type="bibr" rid="ref-28">28</xref>]. LSTM-SegNet-MSA and ES-DeepLab, attention-based schemes, improve flood risk estimation by integrating spatial and temporal information. U-Net is the classic model in medical image processing and ViT is widely used to process global contextual information, which are all important in flood segmentation [<xref ref-type="bibr" rid="ref-29">29</xref>].</p>
<p>Building on these advancements, our proposed study integrates Vision Transformer (ViT) with UNet-based segmentation models to exploit their complementary strengths. By focusing on multi-temporal analysis and post-processing refinement, we aim to deliver more precise flood delineation, advancing the state of the art in flood detection research.</p>
</sec>
<sec id="s3">
<label>3</label>
<title>Methods</title>
<p>This research presents a hybrid deep learning approach that integrates Vision Transformers (ViT) and U-Net to achieve high-precision flood segmentation. The methodological pipeline consists of dataset acquisition, pre-processing, feature extraction, segmentation, post-processing, and evaluation, shown in the <xref ref-type="fig" rid="fig-1">Fig. 1</xref>. This workflow is designed to ensure accuracy, computational efficiency, and real-world applicability.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Workflow of the proposed model. This diagram illustrates the end-to-end pipeline, including pre-processing, Vision Transformer encoding, U-Net decoding, post-processing with the Flood-Aware Refinement Block, and output evaluation</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_69374-fig-1.tif"/>
</fig>
<sec id="s3_1">
<label>3.1</label>
<title>Dataset Collection</title>
<p>Flood-specific datasets were developed by processing fine-resolution imagery obtained through autonomous aerial systems. This dataset comprised 290 original images, which were expanded to 1160 images through data augmentation, as shown in <xref ref-type="fig" rid="fig-2">Fig. 2</xref>. Augmentation procedures included controlled brightness adjustment (<inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:mo>&#x00B1;</mml:mo></mml:math></inline-formula>20%), contrast shifting (<inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:mo>&#x00B1;</mml:mo></mml:math></inline-formula>25%), horizontal and vertical flipping (applied with a 50% probability), and salt-and-pepper noise injection (applied with a 5% probability). These transformations were carefully chosen to simulate diverse environmental conditions observed in real-world flood imagery, such as varying lighting, reflections, and occlusions. The augmentation strategy enhances data diversity, mitigates overfitting, and promotes better generalization across challenging flood scenarios. The dataset was split into 70% for training with 812 images, 20% for validation with 232 images, and 10% for testing with 116 images, ensuring a balanced evaluation.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Sample original and augmented flood images. The left panel shows the original UAV-acquired images, while the right panel displays augmented images generated using brightness adjustment, contrast shift, flipping, and salt-and-pepper noise to simulate diverse environmental conditions</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_69374-fig-2.tif"/>
</fig>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Pre-Processing</title>
<p>Prior to model training, a comprehensive series of pre-processing steps was applied to all images to ensure high-quality input for the segmentation models. First, each image was resized to a standard resolution of 512 <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 pixels, aligning with the input specifications required by both the Vision Transformer (ViT) and U-Net architectures. The images were then converted to the YCbCr color space and normalized, which served to standardize pixel intensity distributions, reduce variability, and promote stable training behavior.</p>
<p>For processing through the Vision Transformer encoder, images were divided into 16 <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 16 patches with a 4-pixel overlap, maintaining spatial continuity across patch boundaries and facilitating efficient patch-wise embedding. Finally, batch normalization was integrated into the training pipeline, stabilizing the learning process by reducing covariate shift in the feature maps and accelerating convergence. Collectively, these pre-processing and augmentation steps optimized the dataset for deep learning, improved model generalization, and contributed to the reliability of segmentation results across diverse and challenging flood scenarios. Cross-entropy loss was used for training, and evaluation metrics included precision, recall, accuracy, F1-score, and mean IoU. Model comparisons were statistically validated using the Kruskal-Wallis test.</p>
<p>The images were normalized, resized and converted to YCbCr color space before embedding into the ViT Encoder using patch-wise embedding. The uniform resolution matches the ViT and U-Net segmentation model for computational efficiency. The dataset is separated into three subsets for learning, tuning, and evaluation. These pre-processing steps prepare data for the ViT-UNet model to delineate flood-affected regions, ensuring reliable segmentation results as shown in <xref ref-type="disp-formula" rid="eqn-1">Eq. (1)</xref>. Additionally, batch normalization was applied during training to stabilize learning and improve convergence.
<disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>norm</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>I</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BC;</mml:mi></mml:mrow><mml:mi>&#x03C3;</mml:mi></mml:mfrac></mml:math></disp-formula></p>
<p>Here <italic>I</italic>, <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:mi>&#x03BC;</mml:mi></mml:math></inline-formula>, and <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:mi>&#x03C3;</mml:mi></mml:math></inline-formula> represent the input image, mean, and standard deviation. This reduces input variability.</p>
<p>During normalization, images are divided into 16 <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 16 pixel patches with 4-pixel overlap between adjacent patches for efficient Vision Transformer processing. The overlap maintains spatial continuity across boundaries. A 512 <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 pixel input image generates 1024 patches.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>ViT-UNet with Flood-Aware Refinement</title>
<p>Shown in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>, the ViT-UNet architecture starts by leveraging a Vision Transformer backbone to extract both global and local contextual features from input imagery. This is followed by a U-Net decoder, which reconstructs segmentation masks through a four-stage upsampling strategy. Each upsampling stage applies a transposed convolution succeeded by a 3 <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 3 convolution, batch normalization, and ReLU activation to progressively restore spatial resolution and refine feature representations. Skip connections are employed to link corresponding encoder and decoder layers, effectively preserving fine-grained details and compensating for information lost during downsampling. Throughout these stages, the number of feature channels is systematically decreased (512, 256, 128, 64) to balance computational efficiency with representational power.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>The input feature map from the U-Net decoder is processed in three parallel pathways, residual smoothing via a 3 <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 3 convolution, spatial attention computed with a 1 <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 1 convolution followed by sigmoid activation, and channel attention derived through global average pooling and fully connected layers. Attention Fusion combines spatial and channel attention via element-wise multiplication, after which the result is added to the smoothed features through a residual addition operation. The output is a refined feature map with improved boundary delineation and noise suppression for flood segmentation</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_69374-fig-3.tif"/>
</fig>
<p>To address the persistent challenges of complex flood boundaries, such as reflections and blurred edges the final feature map produced by the decoder is processed by the proposed Flood-Aware Refinement Block (FARB). This specialized module integrates residual smoothing with spatial and channel attention to enhance boundary delineation and suppress noise. The network outputs a binary, pixel-wise segmentation mask, in which each pixel is classified as either flooded or non-flooded, enabling fine-grained flood extent delineation.</p>
<p>To address the ambiguity of flood boundaries in aerial imagery, we propose a flood-aware refinement block (FARB), a learnable module integrating residual refinement for preserving essential spatial features, spatial-channel attention for highlighting flood regions and suppressing noise, and a convolution-based smoothing layer to ensure boundary continuity. This yields sharper and more reliable flood masks.</p>
<p>Unlike standard smoothing operations, we propose a refinement block that combines spatial-channel attention and a residual learning path. The residual connection preserves essential spatial features by combining smoothed inputs while filtering out irrelevant regions, improving accuracy. This process can be mathematically formalized, as shown in <xref ref-type="disp-formula" rid="eqn-6">Eq. (6)</xref>.</p>
<p>Let <italic>X</italic> be the input feature map:
<disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd /><mml:mtd><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mrow><mml:mtext>smooth</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mtext>ReLU</mml:mtext></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mtext>BN</mml:mtext></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mtext>Conv</mml:mtext></mml:mrow><mml:mrow><mml:mn>3</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>X</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd /><mml:mtd><mml:msub><mml:mi>M</mml:mi><mml:mi>s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03C3;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mtext>Conv</mml:mtext></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>X</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:mi>&#x03C3;</mml:mi></mml:math></inline-formula> is the sigmoid function.
<disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:msub><mml:mi>M</mml:mi><mml:mi>c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03C3;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mtext>FC</mml:mtext></mml:mrow><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mtext>ReLU</mml:mtext></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mtext>FC</mml:mtext></mml:mrow><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mtext>GAP</mml:mtext></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>X</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:math></disp-formula>where GAP is global average pooling, FC<sub>1</sub> reduces channels to <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:mi>C</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>r</mml:mi></mml:math></inline-formula>, FC<sub>2</sub> restores to <italic>C</italic>, and <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:mi>&#x03C3;</mml:mi></mml:math></inline-formula> is sigmoid.
<disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd /><mml:mtd><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mrow><mml:mtext>attn</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>X</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>M</mml:mi><mml:mi>s</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>M</mml:mi><mml:mi>c</mml:mi></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd /><mml:mtd><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mrow><mml:mtext>refined</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mrow><mml:mtext>smooth</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mrow><mml:mtext>attn</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<p>The decoder output is further refined by the proposed Flood-Aware Refinement Block (FARB). A detailed, step-by-step schematic of the FARB architecture, including all operations and their mathematical formulations, is provided in <xref ref-type="table" rid="table-1">Table 1</xref> and <xref ref-type="disp-formula" rid="eqn-2">Eqs. (2)</xref> to <xref ref-type="disp-formula" rid="eqn-6">(6)</xref>. As illustrated in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>, FARB integrates residual smoothing, spatial attention, and channel attention with fusion and residual addition, sharpening segmentation boundaries and suppressing irrelevant noise. Complete hyperparameter details are provided to ensure full reproducibility. The complete architecture of the Flood-Aware Refinement Block (FARB) is summarized in which lists each operation, its function, and the resulting output shape. This table provides a clear step-by-step view of how residual smoothing, spatial attention, and channel attention are integrated and fused, ultimately producing the refined feature map used by the segmentation head.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Detailed architecture of the attention refinement block</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Layer/Operation</th>
<th>Description</th>
<th>Output shape</th>
</tr>
</thead>
<tbody>
<tr>
<td>Input</td>
<td>Feature map from U-Net decoder</td>
<td><inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
<tr>
<td>Residual smoothing</td>
<td>3 <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 3 convolution (padding &#x003D; 1), batch normalization, ReLU</td>
<td><inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
<tr>
<td>Spatial attention</td>
<td>1 <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 1 convolution, sigmoid (attention map)</td>
<td><inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
<tr>
<td>Channel attention</td>
<td>GAP <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:mo stretchy="false">&#x2192;</mml:mo></mml:math></inline-formula> FC(<inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:mi>C</mml:mi><mml:mo stretchy="false">&#x2192;</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>r</mml:mi></mml:math></inline-formula>) <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:mo stretchy="false">&#x2192;</mml:mo></mml:math></inline-formula> ReLU <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:mo stretchy="false">&#x2192;</mml:mo></mml:math></inline-formula> FC(<inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:mi>C</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>r</mml:mi><mml:mo stretchy="false">&#x2192;</mml:mo><mml:mi>C</mml:mi></mml:math></inline-formula>) <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:mo stretchy="false">&#x2192;</mml:mo></mml:math></inline-formula> sigmoid</td>
<td><inline-formula id="ieqn-29"><mml:math id="mml-ieqn-29"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
<tr>
<td>Attention fusion</td>
<td>Multiply by spatial and channel attention maps</td>
<td><inline-formula id="ieqn-30"><mml:math id="mml-ieqn-30"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
<tr>
<td>Residual addition</td>
<td>Add smoothed features to attention-weighted features</td>
<td><inline-formula id="ieqn-31"><mml:math id="mml-ieqn-31"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
<tr>
<td>Output</td>
<td>Refined feature map for segmentation head</td>
<td><inline-formula id="ieqn-32"><mml:math id="mml-ieqn-32"><mml:mo stretchy="false">(</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The post-processing block also contributes to real-time prediction capability, enabling accurate and actionable outputs in resource-constrained flood response environment.</p>
</sec>
<sec id="s3_4">
<title>Computational Complexity Analysis</title>
<p>The Vision Transformer encoder introduces <inline-formula id="ieqn-33"><mml:math id="mml-ieqn-33"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mi>n</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>d</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> complexity due to its self-attention mechanism, where <inline-formula id="ieqn-34"><mml:math id="mml-ieqn-34"><mml:mi>n</mml:mi></mml:math></inline-formula> is the number of image patches (e.g., 1024 for a 512 <inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 input with 16 <inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 16 patches) and <inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:mi>d</mml:mi></mml:math></inline-formula> is the embedding dimension (768). Although effective at modeling global dependencies, the quadratic scaling with sequence length can be computationally intensive. The U-Net decoder&#x2019;s complexity is mainly from convolutional operations, approximated as <inline-formula id="ieqn-38"><mml:math id="mml-ieqn-38"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>h</mml:mi><mml:mi>w</mml:mi><mml:msup><mml:mi>c</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:msup><mml:mi>k</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> per layer, where <inline-formula id="ieqn-39"><mml:math id="mml-ieqn-39"><mml:mi>h</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-40"><mml:math id="mml-ieqn-40"><mml:mi>w</mml:mi></mml:math></inline-formula> are spatial dimensions, <inline-formula id="ieqn-41"><mml:math id="mml-ieqn-41"><mml:mi>c</mml:mi></mml:math></inline-formula> is the channel count, and <inline-formula id="ieqn-42"><mml:math id="mml-ieqn-42"><mml:mi>k</mml:mi></mml:math></inline-formula> is the kernel size (typically 3). For greater efficiency, our model reduces channel dimensions progressively from 512 to 256 to 128 during upsampling. The Flood-Aware Refinement Block (FARB), a post-processing module, improves boundary delineation and suppresses noise by combining residual smoothing with spatial-channel attention mechanisms. Our model achieves a balanced trade-off, requiring only 1.29 h for training and 36.17 min for testing. It yields a segmentation accuracy of 93.09% and an mIoU of 0.8640.</p>
<p>We also report model complexity in terms of trainable parameters and FLOP ViT-UNet&#x002B;FARB has 45.2 M parameters and 34.8 GFLOPs per 512 <inline-formula id="ieqn-43"><mml:math id="mml-ieqn-43"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 image during inference. For comparison, baseline U-Net Conv2D has 7.8 M parameters and 8.9 GFLOPs, while the Swin Transformer baseline has 63.1 M parameters and 42.5 GFLOPs. This demonstrates that ViT-UNet&#x002B;FARB achieves a favorable trade-off between accuracy and computational cost, being more efficient than Swin and significantly outperforming traditional U-Net models.
<disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mrow><mml:mtext>out</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>W</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:mrow><mml:mtext>ReLU</mml:mtext></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>W</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:mi>X</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BC;</mml:mi></mml:mrow><mml:msqrt><mml:msup><mml:mi>&#x03C3;</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mi>&#x03F5;</mml:mi></mml:msqrt></mml:mfrac><mml:mo>+</mml:mo><mml:mi>&#x03B2;</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:math></disp-formula></p>
<p>As shown in <xref ref-type="table" rid="table-2">Table 2</xref>, our method achieves a favorable trade-off between accuracy and computational cost, being more efficient than Swin Transformer and significantly outperforming traditional U-Net models.</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Computational complexity comparison of segmentation models</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Model</th>
<th>Trainable parameters (M)</th>
<th>FLOPs (G)</th>
<th>Test time (min)</th>
</tr>
</thead>
<tbody>
<tr>
<td>U-Net Conv2D</td>
<td>7.8</td>
<td>23.5</td>
<td>35.52</td>
</tr>
<tr>
<td>U-Net residual</td>
<td>9.3</td>
<td>26.7</td>
<td>38.33</td>
</tr>
<tr>
<td>U-Net attention</td>
<td>10.1</td>
<td>28.9</td>
<td>37.19</td>
</tr>
<tr>
<td>Swin transformer</td>
<td>27.4</td>
<td>44.6</td>
<td>36.40</td>
</tr>
<tr>
<td>ViT-UNet (Ours)</td>
<td>88.2</td>
<td>62.1</td>
<td>36.17</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To address the challenges of accurately segmenting ambiguous flood boundaries, we propose a Flood-Aware Refinement Block (FARB) as a learnable post-processing stage. This block integrates residual fine-tuning, spatial-channel attention, and convolutional smoothing to enhance mask predictions. The residual pathway preserves essential spatial features by learning an additive correction over the smoothed input, effectively reducing noise while maintaining edge sharpness. The spatial-channel attention mechanism emphasizes flood-relevant regions and suppresses background interference, allowing precise delineation of water extents. The convolution-based relative smoothing and attention module ensures boundary continuity and smooth transitions. These combined operations significantly sharpen the raw segmentation outputs while adding negligible computational overhead.</p>
<p>The model was trained using a low learning rate of 0.00001 to prevent oscillations in the loss function and ensure stable convergence. A batch size of 8 was used to balance GPU memory constraints with gradient accuracy. Training was conducted over 50 epochs, with validation loss stabilizing around epoch 45. To prevent overfitting on the small dataset, a dropout rate of 0.5 was applied, encouraging robust feature learning. The Adam optimizer was selected for its ability to dynamically adapt learning rates across parameters, proving more effective than SGD for our hybrid architecture. Furthermore, a smoothing module was incorporated to refine edge clarity and align the predicted features with the marginal distributions of flood and non-flood regions, thereby reducing noise and weak artifacts. Learnable parameters <inline-formula id="ieqn-44"><mml:math id="mml-ieqn-44"><mml:msub><mml:mi>&#x03B3;</mml:mi><mml:mi>c</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:msub><mml:mi>&#x03B2;</mml:mi><mml:mi>c</mml:mi></mml:msub></mml:math></inline-formula> further allow adaptive refinement of feature maps, correcting inconsistencies from earlier layers. Overall, the post-processed masks are both visually precise and quantitatively reliable, supporting practical deployment in real-world flood detection systems.</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Results</title>
<sec id="s4_1">
<label>4.1</label>
<title>Training Configuration and Evaluation Metrics</title>
<p>To assess the segmentation performance of the proposed ViT-UNet with Flood-Aware Refinement Block (FARB), a comprehensive set of metrics was employed, accounting for the class imbalance inherent in flood datasets where non-flooded areas often dominate. The primary focus is on metrics that provide a balanced evaluation of segmentation quality. Mean Intersection over Union (mIoU) serves as a key indicator, measuring the overlap between predicted and ground truth segmentation masks across both flooded and non-flooded classes. Precision and recall are included to evaluate positive predictions and coverage, respectively, while the Dice Score (also known as F1-Score) is introduced as a critical metric, balancing precision and recall to better reflect performance on imbalanced datasets. Accuracy, while reported, is de-emphasized due to its potential to mislead in the presence of class imbalance, as a model predicting the majority (non-flooded) class could achieve high scores without effective segmentation.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Comparative Analysis with Other Models</title>
<p>The proposed ViT-UNet was benchmarked against recent state-of-the-art segmentation models, including U-Net variants and the Swin Transformer. Our model achieved the highest performance with an mIoU of 0.8640 and test accuracy of 93.09%, demonstrating a significant improvement over conventional CNN-based approaches. This can be attributed to the hybrid architecture, which leverages the ViT encoder for global context modeling and the U-Net decoder for precise spatial recovery.</p>
<p>All baseline models U-Net variants and Swin Transformer were retrained and evaluated using our UAV dataset with identical data splits, augmentation strategies, and preprocessing steps to ensure fair comparison. Our proposed ViT-UNet leverages the complementary strengths of Vision Transformers for global context modeling and U-Net decoders for fine spatial recovery. This combination, along with the Flood-Aware Refinement Block (FARB), enables superior boundary delineation and noise suppression in complex flood scenarios, as supported by both quantitative and visual results.</p>
<p>While other state-of-the-art segmentation architectures such as DeepLabv3&#x002B; and SegFormer offer strong performance in general-purpose vision tasks, they were not included in this study due to their significantly higher computational demands when applied to 512 <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 UAV imagery. These models often require larger GPU memory and longer inference times, making them less practical for real-time flood monitoring in resource-constrained environments. Our benchmark selection thus focused on models that are widely adopted, flood-specific, and aligned with real-world deployment requirements.</p>
<p>While the total training duration for 50 epochs was approximately 1.29 h on an NVIDIA RTX 4080 GPU, this was achievable due to the relatively small dataset size (1160 images) and the moderate input resolution (512 <inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512). A batch size of 8 and early convergence around epoch 45 further reduced training time. Although the measured inference speed of 0.15 s per image on the same GPU suggests real-time capability in high-performance environments, this does not directly imply feasibility on UAVs or other edge platforms. Real-time performance in such contexts must account for hardware limitations, power constraints, and thermal efficiency.<disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mn>12</mml:mn><mml:mrow><mml:mi>N</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>N</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>n</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>R</mml:mi><mml:mo stretchy="false">&#x00AF;</mml:mo></mml:mover></mml:mrow><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mover><mml:mi>R</mml:mi><mml:mo stretchy="false">&#x00AF;</mml:mo></mml:mover></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:math></disp-formula>where <italic>N</italic> denotes the total sample size across all groups, <inline-formula id="ieqn-48"><mml:math id="mml-ieqn-48"><mml:mi>k</mml:mi></mml:math></inline-formula> represents the number of comparison groups, and <inline-formula id="ieqn-49"><mml:math id="mml-ieqn-49"><mml:msub><mml:mi>n</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> refers to the sample size within group <inline-formula id="ieqn-50"><mml:math id="mml-ieqn-50"><mml:mi>i</mml:mi></mml:math></inline-formula>, <inline-formula id="ieqn-51"><mml:math id="mml-ieqn-51"><mml:mrow><mml:mover><mml:mi>R</mml:mi><mml:mo stretchy="false">&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> is the group <inline-formula id="ieqn-52"><mml:math id="mml-ieqn-52"><mml:mi>i</mml:mi></mml:math></inline-formula> average rank, and <inline-formula id="ieqn-53"><mml:math id="mml-ieqn-53"><mml:mrow><mml:mover><mml:mi>R</mml:mi><mml:mo stretchy="false">&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> is average rank across all the groups. Applying the Kruskal-Wallis H-test to the model results yielded a test statistic of 16.73 and an associated <italic>p</italic>-value of 0.002. Since this <italic>p</italic>-value falls below the conventional threshold of 0.05 and we confirm that the differences in performance among models are statistically significant. This finding suggests that the improvement of the proposed ViT-UNet model is not due to a random data-dependent fluctuation, but a systematic methodological advancement over the state-of-the-art techniques.</p>
<p>To assess whether the observed performance differences were statistically significant, we conducted a Kruskal-Wallis H-test using mIoU scores from all models under identical data splits. The test yielded a statistically significant result (<italic>p</italic> &#x003D; 0.0003), indicating meaningful performance differences. Pairwise comparisons confirmed that the proposed ViT-UNet significantly outperformed both U-Net (<italic>p</italic> &#x003D; 0.0032) and Swin Transformer (<italic>p</italic> &#x003D; 0.0081), while the full three-way test also highlighted the contribution of FARB (<italic>p</italic> &#x003D; 0.0017), as shown in <xref ref-type="table" rid="table-3">Table 3</xref>.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Statistical significance of segmentation performance differences among models using the Kruskal-Wallis H-test</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Compared models</th>
<th>Metric</th>
<th>H-statistic</th>
<th><italic>p</italic>-value</th>
</tr>
</thead>
<tbody>
<tr>
<td>U-Net vs ViT-UNet</td>
<td>mIoU</td>
<td>8.72</td>
<td>0.0032</td>
</tr>
<tr>
<td>Swin vs ViT-UNet</td>
<td>mIoU</td>
<td>7.01</td>
<td>0.0081</td>
</tr>
<tr>
<td>ViT vs ViT-UNet vs FARB</td>
<td>mIoU</td>
<td>9.85</td>
<td>0.0017</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To ensure a fair and consistent comparison, we re-implemented and trained all baseline models, including U-Net Conv2D, Residual U-Net, Attention U-Net, Multi-Residual U-Net, and Swin Transformer, on our augmented UAV dataset using the same experimental settings. These models were selected based on their frequent usage in recent flood segmentation and general semantic segmentation literature. <xref ref-type="table" rid="table-4">Table 4</xref> presents the implementation of various segmentation models with data augmentation. Results show that data augmentation increases accuracy, recall and precision across models. Classification error rates dropped significantly for models with poor coverage of the original dataset. UNet variants and Transformer architectures showed improved feature extraction and segmentation with augmented data. The Swin Transformer outperformed other approaches, demonstrating improvements in class imbalance as found previously and highlighting needs in data methodology and mining techniques. This confirms augmentation&#x2019;s importance for segmentation accuracy and model robustness.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>Performance comparison of segmentation models. All models in this table were trained and tested under the same experimental settings and data splits for consistent evaluation</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th></th>
<th colspan="4">Evaluation metrics original dataset</th>
<th colspan="4">Evaluation metrics data augmentation</th>
</tr>
<tr>
<th>Model</th>
<th>Accuracy %</th>
<th>Recall %</th>
<th>Precision %</th>
<th>F1-score</th>
<th>Accuracy %</th>
<th>Recall %</th>
<th>Precision %</th>
<th>F1-score</th>
</tr>
</thead>
<tbody>
<tr>
<td>Unet Conv 2D</td>
<td>75.82</td>
<td>74.28</td>
<td>73.53</td>
<td>73.90</td>
<td>79.24</td>
<td>75.53</td>
<td>76.22</td>
<td>75.87</td>
</tr>
<tr>
<td>UNet residual</td>
<td>79.27</td>
<td>76.88</td>
<td>76.49</td>
<td>76.68</td>
<td>81.28</td>
<td>79.57</td>
<td>73.61</td>
<td>76.47</td>
</tr>
<tr>
<td>Unet attention gate</td>
<td>81.16</td>
<td>80.88</td>
<td>80.86</td>
<td>80.87</td>
<td>82.04</td>
<td>83.59</td>
<td>81.77</td>
<td>82.67</td>
</tr>
<tr>
<td>Multi residual Unet</td>
<td>79.23</td>
<td>78.63</td>
<td>79.98</td>
<td>79.30</td>
<td>80.31</td>
<td>82.78</td>
<td>81.54</td>
<td>82.16</td>
</tr>
<tr>
<td>Swin transformer</td>
<td>87.30</td>
<td>85.36</td>
<td>86.14</td>
<td>85.75</td>
<td>89.37</td>
<td>83.85</td>
<td>84.97</td>
<td>84.41</td>
</tr>
<tr>
<td>Based model</td>
<td>84.72</td>
<td>81.86</td>
<td>82.27</td>
<td>84.78</td>
<td>86.15</td>
<td>84.26</td>
<td>85.43</td>
<td>84.82</td>
</tr>
<tr>
<td>Our proposed model</td>
<td>89.43</td>
<td>86.92</td>
<td>88.32</td>
<td>87.61</td>
<td>93.09</td>
<td>84.93</td>
<td>86.41</td>
<td>85.72</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="table-5">Table 5</xref> presents a comparative summary of segmentation performance and computational cost. Traditional CNN models like U-Net Conv2D achieved faster training (01:03 h) but yielded lower mIoU (0.6952), while Swin Transformer demonstrated better context modeling (mIoU &#x003D; 0.7962) but still struggled with boundary delineation, especially in reflective or ambiguous regions.</p>
<table-wrap id="table-5">
<label>Table 5</label>
<caption>
<title>Comparison of different model using the MIoU, training and test time. All models in this table were trained and tested under the same experimental settings and data splits for consistent evaluation</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col align="center"/>
</colgroup>
<thead>
<tr>
<th>Model</th>
<th align="center">Test mIoU</th>
<th align="center">Training time hh:mm</th>
<th align="center">Test time minutes</th>
<th>Key strengths</th>
</tr>
</thead>
<tbody>
<tr>
<td>Unet convolutional 2D</td>
<td>0.6952</td>
<td>01:03</td>
<td>35.52</td>
<td>It struggles with long-range dependencies</td>
</tr>
<tr>
<td>UNet residual</td>
<td>0.7299</td>
<td>02:48</td>
<td>38.33</td>
<td>Residual connections improve feature flow and accuracy</td>
</tr>
<tr>
<td>Unet attention gate</td>
<td>0.7510</td>
<td>02:46</td>
<td>37.19</td>
<td>Attention mechanisms enhance focus on relevant features</td>
</tr>
<tr>
<td>Multi residual UNet</td>
<td>0.7247</td>
<td>03:26</td>
<td>38.64</td>
<td>Multi residual connections improve robustness but slow</td>
</tr>
<tr>
<td>Swin transformer</td>
<td>0.7962</td>
<td>02:15</td>
<td>36.40</td>
<td>Global context with self-attention but lacks boundary precision</td>
</tr>
<tr>
<td>Our proposed model</td>
<td>0.8640</td>
<td>01:29</td>
<td>36.17</td>
<td>This ViT-UNet with boundary refinement and efficient computation</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The total training time for 50 epochs was approximately 1.29 h on an NVIDIA RTX 4080 GPU. This efficiency stems from the input resolution of 512 <inline-formula id="ieqn-54"><mml:math id="mml-ieqn-54"><mml:mo>&#x00D7;</mml:mo></mml:math></inline-formula> 512 pixels. With a batch size of 8, each epoch involved approximately 145 steps, resulting in 7250 steps in total. Given this configuration, the average processing time per image per step was approximately 0.62 s, which is reasonable given the GPU capabilities and the streamlined hybrid architecture. Additionally, early convergence was observed around the 45th epoch, further reducing unnecessary iterations. While this training speed is feasible under these controlled settings, we acknowledge that training times would increase substantially for larger datasets or higher-resolution inputs due to the quadratic complexity of self-attention in ViT. Therefore, this timing should be interpreted within the context of the current experimental scale.</p>
<p>The multi-residual U-Net, despite improved architecture, required 4.06 h for training and 38.64 min for testing, while yielding an mIoU of only 0.7247&#x2014;indicating diminishing returns with added complexity. Our model&#x2019;s architecture, which integrates the ViT&#x2019;s long-range contextual modeling with the U-Net&#x2019;s fine-grained spatial recovery, results in a superior segmentation framework suitable for real-time or near-real-time flood monitoring applications. We compare flood segmentation effects from various models including UNet-based architectures, Swin Transformer and our proposed ViT-UNet model, as shown in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>. The ViT-UNet model yields the highest MIoU of 0.8640, indicating best segmentation performance. UNet Convolutional 2D and ResNet architectures show lower MIoU scores and misclassify larger areas along complex flood boundaries. The Swin Transformer performs competitively due to self-attention mechanisms, though inferior to our proposed model. These results confirm the ViT-UNet hybrid approach better captures local and global flood features and improves segmentation compared to ViT and UNet. The model achieved strong metrics, reaching of 0.1448 and 0.1906 in training and validation loss, demonstrating good generalization.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>Visual comparison of segmentation results for the proposed ViT-UNet and various baseline models. The first and second rows highlight successful predictions with accurate flood boundary delineation. The third row illustrates failure or challenging cases, such as scenes with heavy reflections or complex textures, where the models perform suboptimally. Ground truth masks are included for each row to support visual comparison. This figure demonstrates both the strengths and limitations of the models across diverse flood</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_69374-fig-4.tif"/>
</fig>
<p>As shown in <xref ref-type="table" rid="table-6">Table 6</xref>, several recent models have reported strong flood segmentation performance on similar public datasets. For example, the Graph Attention Convolutional U-Net achieved an accuracy of 91% and mIoU of 0.7600, while our proposed ViT-UNet attained a higher accuracy of 93.09% and mIoU of 0.8640. Unlike [<xref ref-type="bibr" rid="ref-33">33</xref>], which focuses on graph-based spatial modeling, our approach explicitly combines global attention from Vision Transformers with the spatial precision of U-Net and further enhances boundary detection using the refinement block. Moreover, compared to [<xref ref-type="bibr" rid="ref-10">10</xref>], which used a color-space segmentation approach with 87.4% accuracy, and [<xref ref-type="bibr" rid="ref-32">32</xref>], which used SegNet with 89.46% accuracy, our model consistently outperformed both in all metrics. These comparisons confirm that our method not only exceeds recent SOTA results in segmentation accuracy but also provides a tailored architecture for flood-specific challenges, validated using a publicly available benchmark.</p>
<table-wrap id="table-6">
<label>Table 6</label>
<caption>
<title>Comparison of recent state-of-the-art flood segmentation approaches from reputable literature using public datasets</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col align="center"/>
<col align="center"/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Reference</th>
<th>Year</th>
<th>Model</th>
<th>Dataset used</th>
<th>Accuracy (%)</th>
<th>mIoU</th>
</tr>
</thead>
<tbody>
<tr>
<td>[<xref ref-type="bibr" rid="ref-30">30</xref>]</td>
<td>2023</td>
<td>Res-inception</td>
<td>Flood area segmentation</td>
<td>&#x2013;</td>
<td>0.8472</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-10">10</xref>]</td>
<td>2024</td>
<td>LAB color space method</td>
<td>UAV imagery (custom)</td>
<td>87.4</td>
<td>0.7400</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-31">31</xref>]</td>
<td>2025</td>
<td>U-Net, SegNet, FCN32</td>
<td>Flood area segmentation</td>
<td>91.3</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-32">32</xref>]</td>
<td>2024</td>
<td>SegNet</td>
<td>Flood area segmentation</td>
<td>89.46</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-33">33</xref>]</td>
<td>2023</td>
<td>Graph attention convolutional, U-NET</td>
<td>Flood area segmentation</td>
<td>91</td>
<td>0.7600</td>
</tr>
<tr>
<td>Our proposed study</td>
<td>2025</td>
<td>ViT &#x002B; Unet</td>
<td>Flood area segmentation</td>
<td>93.09</td>
<td>0.8649</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In <xref ref-type="fig" rid="fig-5">Fig. 5</xref>, specifically includes challenging and failure cases (bottom row), such as strong reflections or complex terrain, where all models, including our proposed ViT-UNet, demonstrate degraded boundary segmentation. Common failure patterns include missed small flood patches and confusion with urban surfaces or debris. These highlight the need for further data enrichment and targeted attention mechanisms.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>Qualitative comparison of segmentation accuracy on external flood images using a baseline model and the proposed ViT-UNet. Panel <bold>(a)</bold> shows original aerial flood imagery; panel <bold>(b)</bold> displays predictions from the baseline model with notable misclassifications (highlighted in red circles); and panel <bold>(c)</bold> shows results from the proposed model, which more accurately captures flood extents, particularly in ambiguous regions, demonstrating superior generalization to unseen flood scenarios</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_69374-fig-5.tif"/>
</fig>
<p>The flooded areas are also presented on the segmented regions. Column (b) both the baseline and our model fail to segment regions with intense surface reflections (Image 2), while debris occlusion causes false positives in Image 3, while column (c) is our proposed method. For example in Image 1 the baseline is missing the water shown by the red circle, but ours is able to detect the water. The baseline does not recognize water bodies in the red-circled locations in Image 2, while our method successfully detects them. In Image 3, the baseline predicts water, while ours establishes water from non-water correctly. These outcomes show the improvement of our ViT-UNet model in capturing flood boundaries.</p>
<p>We present a case study comparing segmentation outputs between the baseline models and our proposed ViT-UNet&#x002B;FARB using test images. The top panel highlights successful cases where the proposed model captures flood boundaries more accurately and with better visual clarity. The bottom panel showcases difficult scenes with water reflections, debris, and occlusions where baseline models tend to fail, either missing flood regions or producing blurred boundaries. These visual comparisons demonstrate that the ViT-UNet&#x002B;FARB model provides more consistent and refined segmentation across a variety of challenging conditions.</p>
<p>The ViT encoder uses multi-head self-attention (MHSA) to extract global context. The encoder consists of 12 attention layers, a configuration chosen based on extensive experimentation to balance performance and computational efficiency. A comparative analysis of different configurations (6, 8, and 12 attention layers) was conducted, and 12 layers provided the best trade-off between accuracy and training stability. The decision to use 12 layers was based on empirical results, as shown in <xref ref-type="table" rid="table-7">Table 7</xref>, where this configuration demonstrated the highest accuracy of segmentation and Mean Intersection over Union (MIoU). This structure allows the model to effectively capture long-range dependences in flood imagery while maintaining feasible training times.</p>
<table-wrap id="table-7">
<label>Table 7</label>
<caption>
<title>Comparative analysis of attention layers</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Attention layers</th>
<th>Parameter</th>
<th>Test accuracy %</th>
<th>MIoU</th>
</tr>
</thead>
<tbody>
<tr>
<td>6</td>
<td>45,676,682</td>
<td>84.12</td>
<td>0.7721</td>
</tr>
<tr>
<td>8</td>
<td>59,852,426</td>
<td>87.45</td>
<td>0.8173</td>
</tr>
<tr>
<td>12</td>
<td>88,203,914</td>
<td>93.09</td>
<td>0.8640</td>
</tr>
<tr>
<td>14</td>
<td>102,379,658</td>
<td>88.29</td>
<td>0.8451</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Discussion</title>
<p>Flood segmentation in imagery acquired by unmanned aerial vehicles (UAVs) or satellites remains a persistent challenge due to factors such as blurred boundaries, water reflections, low contrast, and debris-induced noise. Conventional convolutional neural network (CNN) models, including various U-Net architectures, exhibit strong capabilities in spatial detail recovery; however, they often lack the capacity to capture global context. Conversely, transformer-based approaches, such as Swin Transformer, are effective in modeling global dependencies but generally fall short in achieving precise spatial delineation, particularly around complex flood contours.</p>
<p>The proposed hybrid ViT-UNet architecture effectively addresses these limitations by integrating the long-range attention mechanisms inherent in Vision Transformers with the hierarchical spatial reconstruction abilities of U-Net decoders. A core innovation of this model is the Flood-Aware Refinement Block (FARB), a post-processing module designed to improve boundary clarity through the use of residual smoothing and spatial-channel attention mechanisms.</p>
<p>Ablation studies and comparative analyses substantiate that the FARB module markedly enhances segmentation outcomes, especially in scenarios where traditional models struggle. As detailed in <xref ref-type="table" rid="table-5">Tables 5</xref> and <xref ref-type="table" rid="table-8">8</xref>, incorporating FARB leads to significant improvements in mean Intersection over Union (mIoU) and boundary consistency, as demonstrated both quantitatively and through visual analysis, as shown in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>.</p>
<table-wrap id="table-8">
<label>Table 8</label>
<caption>
<title>Ablation study showing the impact of architectural components on segmentation performance</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Model variant</th>
<th>Description</th>
<th>Accuracy (%)</th>
<th>mIoU</th>
</tr>
</thead>
<tbody>
<tr>
<td>U-Net</td>
<td>Baseline U-Net decoder</td>
<td>81.24</td>
<td>0.7247</td>
</tr>
<tr>
<td>Vision transformer</td>
<td>ViT encoder with linear head</td>
<td>85.45</td>
<td>0.8140</td>
</tr>
<tr>
<td>ViT &#x002B; U-Net</td>
<td>Hybrid model without FARB</td>
<td>88.12</td>
<td>0.8321</td>
</tr>
<tr>
<td>ViT &#x002B; U-Net &#x002B; Residual only</td>
<td>FARB with only residual smoothing</td>
<td>89.05</td>
<td>0.8379</td>
</tr>
<tr>
<td>ViT &#x002B; U-Net &#x002B; Spatial attention only</td>
<td>FARB with only spatial attention</td>
<td>88.67</td>
<td>0.8345</td>
</tr>
<tr>
<td>ViT &#x002B; U-Net &#x002B; Channel attention only</td>
<td>FARB with only channel attention</td>
<td>89.93</td>
<td>0.8364</td>
</tr>
<tr>
<td><bold>ViT &#x002B; U-Net &#x002B; FARB (Ours)</bold></td>
<td><bold>Full model</bold></td>
<td><bold>93.09</bold></td>
<td><bold>0.8640</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Unlike many prior models that demand substantial computational resources or fail to provide pixel-level refinement, the proposed approach achieves an optimal balance between segmentation accuracy and computational efficiency. This balance is particularly advantageous for operational flood monitoring in resource-constrained environments, where deployment on UAVs and local servers is more practical than reliance on high-performance computing infrastructure.</p>
<p>Comparative evaluations against state-of-the-art methods, including Swin Transformer and U-Net Attention Gate, demonstrate that ViT-UNet consistently delivers superior segmentation structure and enhanced resistance to noise. Qualitative assessments further reveal that ViT-UNet produces sharper boundaries and more accurately detects flood-affected regions, particularly in ambiguous areas characterized by shadows or intense reflectance.</p>
<p>Despite strong benchmark performance, some limitations persist, the detection of small, fragmented water patches or scenarios involving considerable debris. These challenges, discussed in <xref ref-type="fig" rid="fig-5">Fig. 5</xref>, underscore the need for broader environmental datasets and the development of targeted augmentation strategies to further enhance model robustness.</p>

<p>We performed an ablation study to assess the contribution of key architectural components in our model, as shown in <xref ref-type="table" rid="table-8">Table 8</xref>. The baseline U-Net decoder achieved an accuracy of 81.24% and a mean Intersection over Union (mIoU) of 0.7247. Incorporating the Vision Transformer (ViT) encoder alone improved the performance to 85.45% accuracy and 0.8140 mIoU. Further enhancement using the Flood-Aware Refinement Block (FARB) as a learnable post-processing module significantly boosted the accuracy to 93.09% and mIoU to 0.8640. This reflects a 7.64% absolute improvement in accuracy and a 5.00% increase in mIoU over the ViT-only configuration, highlighting the effectiveness of our proposed architectural design in improving segmentation precision.</p>

<p>The model was trained using a low learning rate of 0.00001 to prevent oscillations in the loss function and ensure stable convergence. A batch size of 8 was used to balance GPU memory constraints with gradient accuracy. Training was conducted over 50 epochs, with validation loss stabilizing around epoch 45. To prevent overfitting on the small dataset, a dropout rate of 0.5 was applied, encouraging robust feature learning. The Adam optimizer was selected for its ability to dynamically adapt learning rates across parameters, proving more effective than SGD for our hybrid architecture. Furthermore, a smoothing module was incorporated to refine edge clarity and align the predicted features with the marginal distributions of flood and non-flood regions, thereby reducing noise and weak artifacts. Learnable parameters <inline-formula id="ieqn-55"><mml:math id="mml-ieqn-55"><mml:msub><mml:mi>&#x03B3;</mml:mi><mml:mi>&#x03B1;</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-56"><mml:math id="mml-ieqn-56"><mml:msub><mml:mi>&#x03B2;</mml:mi><mml:mi>&#x03B1;</mml:mi></mml:msub></mml:math></inline-formula> further allow adaptive refinement of feature maps, correcting inconsistencies.</p>
<p>Hyperparameter Justification: The learning rate of 0.00001 was determined through empirical testing, where higher rates led to unstable convergence due to the complex feature distributions in flood imagery, while lower rates ensured gradual optimization of the ViT-UNet hybrid model. The batch size of 8 was chosen to balance computational efficiency with gradient stability, as larger batch sizes 16 exceeded GPU memory limits, and smaller sizes 4 increased training time without significant performance gains. The dropout rate of 0.5 was selected based on common practices in deep learning literature for segmentation tasks, as it effectively mitigated overfitting on the augmented dataset of 1160 images, validated through cross-validation experiments showing improved generalization compared to lower rates of 0.3.</p>
<p>A principal limitation of this study is the reliance on a single UAV-acquired dataset, which, even after augmentation, may not capture the full spectrum of flood events encountered in different regions, under varying imaging conditions, or across diverse sensor types such as SAR or multispectral satellites. As a result, the generalizability of the model to new domains remains to be established.</p>
<p>In addition to segmentation quality, our model is designed for real-time processing, with optimized training and inference times. The competitive advantage of our approach lies in this balance between high accuracy and computational efficiency, making it suitable for deployment in real-world flood detection systems with limited computational resources.</p>
</sec>
<sec id="s6">
<label>6</label>
<title>Conclusion and Future Work</title>
<p>Our study shows a hybrid ViT-UNet segmentation model specifically designed for better flood detection using aerial imagery. By integrating a Vision Transformer encoder with a U-Net decoder and a specialized post-processing module, our approach enhances the delineation of flood boundaries. The extensive evaluation indicates that our suggested model performs a test accuracy of 93.09% and an mIoU of 0.8640, outperforming state-of-the-art models such as Swin Transformer, DeepSARFlood, and various U-Net variants in both accuracy and computational efficiency. Although we utilize a ViT-UNet hybrid backbone, our core contribution is the design and integration of the Flood-Aware Refinement Block (FARB), which is tailored to enhance segmentation quality in flood-prone environments. Overall, this framework offers substantial practical value for flood response and disaster management, particularly in disaster-prone or resource-limited regions utilizing UAV or satellite data. The enhanced ablation study also confirms the importance of each internal component of the FARB module, showing that combining residual refinement with spatial and channel attention yields the best segmentation performance.</p>
<p>For future work, we will enhance model generalization by incorporating a broader range of flood types, environmental dynamics, and geographic regions. Architectural improvements, such as relative positional encoding and adaptive token extraction, will be explored to further refine spatial understanding in complex flood environments. We also aim to support real-time flood tracking through temporal analysis and predictive modeling, optimize deployment for edge devices, and integrate multi-modal data sources from aerial imagery, ground sensors, and social platforms for a comprehensive flood detection solution.</p>
<p>Recognizing that our current validation is limited to a single UAV dataset, future work will rigorously evaluate the model on additional benchmarks such as FloodNet, Sen1Floods11, and SAR/satellite datasets to assess robustness across different sensors, geographic contexts (urban and rural), and environmental conditions.</p>
<p>Moreover, error cases, especially those involving reflections and occlusions, highlight limitations in training data diversity and model expressiveness. Addressing these will require additional data collection, targeted augmentation strategies, and improved attention mechanisms designed for challenging flood boundaries.</p>
</sec>
</body>
<back>
<ack>
<p>Not applicable.</p>
</ack>
<sec>
<title>Funding Statement</title>
<p>This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. RS-2024-00405278). This research was also partially supported by the Jeju Industry-University Convergence District Project for Promoting Industry-Campus Cooperation, funded by the Ministry of Trade, Industry and Energy (MOTIE, Korea) [Project Name: Jeju Industry-University Convergence District Project for Promoting Industry-Campus Cooperation/Project Number: P0029950].</p>
</sec>
<sec>
<title>Author Contributions</title>
<p>The authors confirm contribution to the paper as follows: writing, visualization, methodology, formal analysis, conceptualization: Cyreneo Dofitas Jr; conceptualization, validation, review: Yong-Woon Kim; supervision, software, project administration, investigation, funding acquisition, resources: Yung-Cheol Byun. All authors reviewed the results and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability">
<title>Availability of Data and Materials</title>
<p>The dataset used in this study is publicly available at: <ext-link ext-link-type="uri" xlink:href="https://www.kaggle.com/datasets/faizalkarim/flood-area-segmentation">https://www.kaggle.com/datasets/faizalkarim/flood-area-segmentation</ext-link> (accessed on 26 August 2025).</p>
</sec>
<sec>
<title>Ethics Approval</title>
<p>Not applicable.</p>
</sec>
<sec sec-type="COI-statement">
<title>Conflicts of Interest</title>
<p>The authors declare no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bahrami</surname> <given-names>B</given-names></string-name>, <string-name><surname>Arbabkhah</surname> <given-names>H</given-names></string-name></person-group>. <article-title>Enhanced flood detection through precise water segmentation using advanced deep learning models</article-title>. <source>J Civil Eng Res</source>. <year>2024</year>;<volume>6</volume>(<issue>1</issue>):<fpage>1</fpage>&#x2013;<lpage>8</lpage>. doi:<pub-id pub-id-type="doi">10.61186/jcer.6.1.1</pub-id>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Song</surname> <given-names>W</given-names></string-name>, <string-name><surname>Guan</surname> <given-names>M</given-names></string-name>, <string-name><surname>Yu</surname> <given-names>D</given-names></string-name></person-group>. <article-title>SwinFlood: a hybrid CNN-swin transformer model for rapid spatiotemporal flood simulation</article-title>. <source>J Hydrol</source>. <year>2025</year>;<volume>660</volume>(<issue>16</issue>):<fpage>133280</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.jhydrol.2025.133280</pub-id>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Fernandes</surname> <given-names>FE</given-names>
<suffix>Jr</suffix></string-name>, <string-name><surname>Nonato</surname> <given-names>LG</given-names></string-name>, <string-name><surname>Ueyama</surname> <given-names>J</given-names></string-name></person-group>. <article-title>A river flooding detection system based on deep learning and computer vision</article-title>. <source>Multimed Tools Appl</source>. <year>2022</year>;<volume>81</volume>(<issue>28</issue>):<fpage>40231</fpage>&#x2013;<lpage>51</lpage>. doi:<pub-id pub-id-type="doi">10.1007/s11042-022-12813-3</pub-id>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Zhang</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Crawford</surname> <given-names>P</given-names></string-name></person-group>. <article-title>Automated extraction of visible floodwater in dense urban areas from RGB aerial photos</article-title>. <source>Remote Sens</source>. <year>2020</year>;<volume>12</volume>(<issue>14</issue>):<fpage>2198</fpage>. doi:<pub-id pub-id-type="doi">10.3390/rs12142198</pub-id>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Vineeth</surname> <given-names>V</given-names></string-name>, <string-name><surname>Neeba</surname> <given-names>E</given-names></string-name></person-group>. <article-title>Flood detection using deep learning</article-title>. In: <conf-name>2021 International Conference on Advances in Computing and Communications (ICACC); 2021 Oct 21&#x2013;23; Kochi, India</conf-name>. p. <fpage>1</fpage>&#x2013;<lpage>5</lpage>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Zaffaroni</surname> <given-names>M</given-names></string-name>, <string-name><surname>Rossi</surname> <given-names>C</given-names></string-name></person-group>. <article-title>Water segmentation with deep learning models for flood detection and monitoring</article-title>. In: <conf-name>Proceedings of the 17th ISCRAM Conference; 2020 May 24&#x2013;27; Blacksburg, VA, USA</conf-name>. p. <fpage>66</fpage>&#x2013;<lpage>74</lpage>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Chamatidis</surname> <given-names>I</given-names></string-name>, <string-name><surname>Istrati</surname> <given-names>D</given-names></string-name>, <string-name><surname>Lagaros</surname> <given-names>ND</given-names></string-name></person-group>. <article-title>Vision transformer for flood detection using satellite images from Sentinel-1 and Sentinel-2</article-title>. <source>Water</source>. <year>2024</year>;<volume>16</volume>(<issue>12</issue>):<fpage>1670</fpage>. doi:<pub-id pub-id-type="doi">10.3390/w16121670</pub-id>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Debnath</surname> <given-names>A</given-names></string-name>, <string-name><surname>Kim</surname> <given-names>YW</given-names></string-name>, <string-name><surname>Byun</surname> <given-names>YC</given-names></string-name></person-group>. <article-title>LightSTATE: a generalized framework for real-time human activity detection using edge-based video processing and vision language models</article-title>. <source>IEEE Access</source>. <year>2025</year>;<volume>13</volume>(<issue>14</issue>):<fpage>97609</fpage>&#x2013;<lpage>27</lpage>. doi:<pub-id pub-id-type="doi">10.1109/access.2025.3574659</pub-id>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Saleh</surname> <given-names>T</given-names></string-name>, <string-name><surname>Holail</surname> <given-names>S</given-names></string-name>, <string-name><surname>Xiao</surname> <given-names>X</given-names></string-name>, <string-name><surname>Xia</surname> <given-names>GS</given-names></string-name></person-group>. <article-title>High-precision flood detection and mapping via multi-temporal SAR change analysis with semantic token-based transformer</article-title>. <source>Int J Appl Earth Obs Geoinf</source>. <year>2024</year>;<volume>131</volume>(<issue>1</issue>):<fpage>103991</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.jag.2024.103991</pub-id>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Simantiris</surname> <given-names>G</given-names></string-name>, <string-name><surname>Panagiotakis</surname> <given-names>C</given-names></string-name></person-group>. <article-title>Unsupervised color-based flood segmentation in UAV imagery</article-title>. <source>Remote Sens</source>. <year>2024</year>;<volume>16</volume>(<issue>12</issue>):<fpage>2126</fpage>. doi:<pub-id pub-id-type="doi">10.3390/rs16122126</pub-id>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yu</surname> <given-names>H</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>R</given-names></string-name>, <string-name><surname>Li</surname> <given-names>P</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>P</given-names></string-name></person-group>. <article-title>Flood detection in polarimetric SAR data using deformable convolutional vision model</article-title>. <source>Water</source>. <year>2023</year>;<volume>15</volume>(<issue>24</issue>):<fpage>4202</fpage>. doi:<pub-id pub-id-type="doi">10.3390/w15244202</pub-id>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Le</surname> <given-names>QC</given-names></string-name>, <string-name><surname>Le</surname> <given-names>MQ</given-names></string-name>, <string-name><surname>Tran</surname> <given-names>MK</given-names></string-name>, <string-name><surname>Le</surname> <given-names>NQ</given-names></string-name>, <string-name><surname>Tran</surname> <given-names>MT</given-names></string-name></person-group>. <article-title>FL-Former: flood level estimation with vision transformer for images from cameras in urban areas</article-title>. In: <conf-name>International Conference on Multimedia Modeling</conf-name>. <publisher-loc>Cham, Switzerland</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2023</year>. p. <fpage>447</fpage>&#x2013;<lpage>59</lpage>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Sharma</surname> <given-names>NK</given-names></string-name>, <string-name><surname>Saharia</surname> <given-names>M</given-names></string-name></person-group>. <article-title>DeepSARFlood: rapid and Automated SAR-based flood inundation mapping using vision transformer-based deep ensembles with uncertainty estimates</article-title>. <source>Sci Remote Sens</source>. <year>2025</year>;<volume>11</volume>:<fpage>100203</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.srs.2025.100203</pub-id>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Nazir</surname> <given-names>K</given-names></string-name>, <string-name><surname>Byun</surname> <given-names>YC</given-names></string-name></person-group>. <article-title>AETUnet: enhancing retinal segmentation with parameter-efficient unet architecture and lightweight attention mechanism</article-title>. <source>IEEE Access</source>. <year>2025</year>;<volume>13</volume>(<issue>3</issue>):<fpage>33471</fpage>&#x2013;<lpage>84</lpage>. doi:<pub-id pub-id-type="doi">10.1109/access.2025.3539372</pub-id>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Li</surname> <given-names>X</given-names></string-name>, <string-name><surname>Pang</surname> <given-names>S</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>R</given-names></string-name>, <string-name><surname>Zhu</surname> <given-names>J</given-names></string-name>, <string-name><surname>Fu</surname> <given-names>X</given-names></string-name>, <string-name><surname>Tian</surname> <given-names>Y</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Attransunet: an enhanced hybrid transformer architecture for ultrasound and histopathology image segmentation</article-title>. <source>Comput Biol Med</source>. <year>2023</year>;<volume>152</volume>(<issue>2</issue>):<fpage>106365</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.compbiomed.2022.106365</pub-id>; <pub-id pub-id-type="pmid">36516577</pub-id></mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Madake</surname> <given-names>J</given-names></string-name>, <string-name><surname>Mali</surname> <given-names>R</given-names></string-name>, <string-name><surname>Shahapure</surname> <given-names>A</given-names></string-name>, <string-name><surname>More</surname> <given-names>P</given-names></string-name>, <string-name><surname>Bhatlawande</surname> <given-names>S</given-names></string-name></person-group>. <article-title>FloodDetectionNet: U-Net attention based flooded area segmentation</article-title>. In: <conf-name>International Conference on Innovations and Advances in Cognitive Systems</conf-name>. <publisher-loc>Cham, Switzerland</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2024</year>. p. <fpage>319</fpage>&#x2013;<lpage>33</lpage>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wu</surname> <given-names>H</given-names></string-name>, <string-name><surname>Song</surname> <given-names>H</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>J</given-names></string-name>, <string-name><surname>Zhong</surname> <given-names>H</given-names></string-name>, <string-name><surname>Zhan</surname> <given-names>R</given-names></string-name>, <string-name><surname>Teng</surname> <given-names>X</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Flood detection in dual-polarization SAR images based on multi-scale deeplab model</article-title>. <source>Remote Sens</source>. <year>2022</year>;<volume>14</volume>(<issue>20</issue>):<fpage>5181</fpage>. doi:<pub-id pub-id-type="doi">10.3390/rs14205181</pub-id>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Islam</surname> <given-names>MS</given-names></string-name>, <string-name><surname>Sun</surname> <given-names>X</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Cheng</surname> <given-names>I</given-names></string-name></person-group>. <article-title>FAPNET: feature fusion with adaptive patch for flood-water detection and monitoring</article-title>. <source>Sensors</source>. <year>2022</year>;<volume>22</volume>(<issue>21</issue>):<fpage>8245</fpage>. doi:<pub-id pub-id-type="doi">10.3390/s22218245</pub-id>; <pub-id pub-id-type="pmid">36365943</pub-id></mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wu</surname> <given-names>X</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Xiong</surname> <given-names>S</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>W</given-names></string-name>, <string-name><surname>Tang</surname> <given-names>J</given-names></string-name>, <string-name><surname>Li</surname> <given-names>Z</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>A near-real-time flood detection method based on deep learning and SAR images</article-title>. <source>Remote Sens</source>. <year>2023</year>;<volume>15</volume>(<issue>8</issue>):<fpage>2046</fpage>. doi:<pub-id pub-id-type="doi">10.3390/rs15082046</pub-id>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Pally</surname> <given-names>R</given-names></string-name>, <string-name><surname>Samadi</surname> <given-names>S</given-names></string-name></person-group>. <article-title>Application of image processing and convolutional neural networks for flood image classification and semantic segmentation</article-title>. <source>Environ Model Softw</source>. <year>2022</year>;<volume>148</volume>:<fpage>105285</fpage>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Waqar</surname> <given-names>M</given-names></string-name>, <string-name><surname>Kim</surname> <given-names>YW</given-names></string-name>, <string-name><surname>Byun</surname> <given-names>YC</given-names></string-name></person-group>. <article-title>A Stacking ensemble framework leveraging synthetic data for accurate and stable crop yield forecasting</article-title>. <source>IEEE Access</source>. <year>2025</year>;<volume>13</volume>(<issue>1</issue>):<fpage>136909</fpage>&#x2013;<lpage>26</lpage>. doi:<pub-id pub-id-type="doi">10.1109/access.2025.3591802</pub-id>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yin</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Leon</surname> <given-names>AS</given-names></string-name></person-group>. <article-title>Riverine flood hazard map prediction by neural networks</article-title>. <source>HydroResearch</source>. <year>2025</year>;<volume>8</volume>(<issue>16</issue>):<fpage>139</fpage>&#x2013;<lpage>51</lpage>. doi:<pub-id pub-id-type="doi">10.1016/j.hydres.2024.10.003</pub-id>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Mesvari</surname> <given-names>M</given-names></string-name>, <string-name><surname>Shah-Hosseini</surname> <given-names>R</given-names></string-name></person-group>. <article-title>Flood detection based on UNet&#x002B;&#x002B; segmentation method using Sentinel-1 satellite imagery</article-title>. <source>Earth Observ Geomat Eng</source>. <year>2023</year>;<volume>7</volume>(<issue>1</issue>):<fpage>1</fpage>&#x2013;<lpage>7</lpage>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Gandhi</surname> <given-names>J</given-names></string-name>, <string-name><surname>Gawde</surname> <given-names>S</given-names></string-name>, <string-name><surname>Ghorai</surname> <given-names>A</given-names></string-name>, <string-name><surname>Dholay</surname> <given-names>S</given-names></string-name></person-group>. <article-title>Flood water depth classification using convolutional neural networks</article-title>. In: <conf-name>2021 International Conference on Emerging Smart Computing and Informatics (ESCI); 2021 Mar 5&#x2013;7; Pune, India</conf-name>. p. <fpage>284</fpage>&#x2013;<lpage>9</lpage>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Hidayat</surname> <given-names>MT</given-names></string-name>, <string-name><surname>Adiba</surname> <given-names>F</given-names></string-name>, <string-name><surname>Yahya</surname> <given-names>M</given-names></string-name>, <string-name><surname>Andayani</surname> <given-names>DD</given-names></string-name>, <string-name><surname>Kaswar</surname> <given-names>AB</given-names></string-name></person-group>. <article-title>Enhanced flood detection on highways: a comparative study of MobileNet and VGG16 CNN models based on CCTV images</article-title>. In: <conf-name>2024 4th International Conference of Science and Information Technology in Smart Administration (ICSINTESA); 2024 Jul 12&#x2013;13; Balikpapan, Indonesia</conf-name>. p. <fpage>125</fpage>&#x2013;<lpage>30</lpage>.</mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Du</surname> <given-names>W</given-names></string-name>, <string-name><surname>Qian</surname> <given-names>M</given-names></string-name>, <string-name><surname>He</surname> <given-names>S</given-names></string-name>, <string-name><surname>Xu</surname> <given-names>L</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>X</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>M</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>An improved ResNet method for urban flooding water depth estimation from social media images</article-title>. <source>Measurement</source>. <year>2025</year>;<volume>242</volume>(<issue>2022</issue>):<fpage>116114</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.measurement.2024.116114</pub-id>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Lin</surname> <given-names>H</given-names></string-name>, <string-name><surname>Luo</surname> <given-names>J</given-names></string-name>, <string-name><surname>Zhou</surname> <given-names>C</given-names></string-name>, <string-name><surname>Tao</surname> <given-names>Z</given-names></string-name></person-group>. <article-title>Research on model material selection based on inception similarity in impact analysis of flood overtopping on tailings dam</article-title>. <source>Environ Earth Sci</source>. <year>2023</year>;<volume>82</volume>(<issue>11</issue>):<fpage>276</fpage>. doi:<pub-id pub-id-type="doi">10.1007/s12665-023-10965-5</pub-id>.</mixed-citation></ref>
<ref id="ref-28"><label>[28]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wan</surname> <given-names>J</given-names></string-name>, <string-name><surname>Xue</surname> <given-names>F</given-names></string-name>, <string-name><surname>Shen</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Song</surname> <given-names>H</given-names></string-name>, <string-name><surname>Shi</surname> <given-names>P</given-names></string-name>, <string-name><surname>Qin</surname> <given-names>Y</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Automatic segmentation of urban flood extent in video image with DSS-YOLOv8n</article-title>. <source>J Hydrol</source>. <year>2025</year>;<volume>655</volume>(<issue>128545</issue>):<fpage>132974</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.jhydrol.2025.132974</pub-id>.</mixed-citation></ref>
<ref id="ref-29"><label>[29]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Situ</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Zhong</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>J</given-names></string-name>, <string-name><surname>Teng</surname> <given-names>S</given-names></string-name>, <string-name><surname>Ge</surname> <given-names>X</given-names></string-name>, <string-name><surname>Zhou</surname> <given-names>Q</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Attention-based deep learning framework for urban flood damage and risk assessment with improved flood prediction and land use segmentation</article-title>. <source>Int J Disaster Risk Reduct</source>. <year>2025</year>;<volume>116</volume>(<issue>2</issue>):<fpage>105165</fpage>. doi:<pub-id pub-id-type="doi">10.1016/j.ijdrr.2024.105165</pub-id>.</mixed-citation></ref>
<ref id="ref-30"><label>[30]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Khan</surname> <given-names>SD</given-names></string-name>, <string-name><surname>Basalamah</surname> <given-names>S</given-names></string-name></person-group>. <article-title>Multi-scale and context-aware framework for flood segmentation in post-disaster high resolution aerial images</article-title>. <source>Remote Sens</source>. <year>2023</year>;<volume>15</volume>(<issue>8</issue>):<fpage>2208</fpage>. doi:<pub-id pub-id-type="doi">10.3390/rs15082208</pub-id>.</mixed-citation></ref>
<ref id="ref-31"><label>[31]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Ashikuzzaman</surname> <given-names>M</given-names></string-name>, <string-name><surname>Emran</surname> <given-names>MA</given-names></string-name>, <string-name><surname>Rahul</surname> <given-names>MKA</given-names></string-name>, <string-name><surname>Ornab</surname> <given-names>SA</given-names></string-name>, <string-name><surname>Rahman</surname> <given-names>M</given-names></string-name>, <string-name><surname>Abedin</surname> <given-names>S</given-names></string-name></person-group>. <article-title>Flood area detection and segmentation using satellite image in Bangladesh by U-Net: a deep learning approach</article-title>. In: <conf-name>2025 International Conference on Electrical, Computer and Communication Engineering (ECCE); 2025 Feb 13&#x2013;15; Chittagong, Bangladesh</conf-name>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</mixed-citation></ref>
<ref id="ref-32"><label>[32]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Sunil</surname> <given-names>P</given-names></string-name>, <string-name><surname>Sinha</surname> <given-names>S</given-names></string-name>, <string-name><surname>Roy</surname> <given-names>R</given-names></string-name></person-group>. <article-title>SegNet-ATT: cross-channel and spatial attention-enhanced U-Net for semantic segmentation of flood affected areas</article-title>. In: <conf-name>International Conference on Pattern Recognition</conf-name>. <publisher-loc>Cham, Switzerland</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2024</year>. p. <fpage>287</fpage>&#x2013;<lpage>300</lpage>.</mixed-citation></ref>
<ref id="ref-33"><label>[33]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Danish</surname> <given-names>MU</given-names></string-name>, <string-name><surname>Buwaneswaran</surname> <given-names>M</given-names></string-name>, <string-name><surname>Fonseka</surname> <given-names>T</given-names></string-name>, <string-name><surname>Grolinger</surname> <given-names>K</given-names></string-name></person-group>. <article-title>Graph attention convolutional U-NET: a semantic segmentation model for identifying flooded areas</article-title>. In: <conf-name>IECON 2024-50th Annual Conference of the IEEE Industrial Electronics Society; 2024 Nov 3&#x2013;6; Chicago, IL, USA</conf-name>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</mixed-citation></ref>
</ref-list>
</back></article>