Skip to main content
QUICK REVIEW

[Paper Review] Transformer-based Flood Scene Segmentation for Developing Countries

M R Ahan, Roshan Roy|arXiv (Cornell University)|Oct 9, 2022
Flood Risk Assessment and ManagementEnvironmental Science5 citations
TL;DR

This paper proposes FloodTransformer, a hybrid CNN-Transformer model for semantic segmentation of flood-affected areas in aerial and drone imagery, achieving state-of-the-art performance with 0.93 mIoU on the WSOC dataset. It introduces Flood Capacity (FC), a novel metric to quantify water coverage, enhancing both flood forecasting and post-disaster needs assessment in resource-constrained developing countries.

ABSTRACT

Floods are large-scale natural disasters that often induce a massive number of deaths, extensive material damage, and economic turmoil. The effects are more extensive and longer-lasting in high-population and low-resource developing countries. Early Warning Systems (EWS) constantly assess water levels and other factors to forecast floods, to help minimize damage. Post-disaster, disaster response teams undertake a Post Disaster Needs Assessment (PDSA) to assess structural damage and determine optimal strategies to respond to highly affected neighbourhoods. However, even today in developing countries, EWS and PDSA analysis of large volumes of image and video data is largely a manual process undertaken by first responders and volunteers. We propose FloodTransformer, which to the best of our knowledge, is the first visual transformer-based model to detect and segment flooded areas from aerial images at disaster sites. We also propose a custom metric, Flood Capacity (FC) to measure the spatial extent of water coverage and quantify the segmented flooded area for EWS and PDSA analyses. We use the SWOC Flood segmentation dataset and achieve 0.93 mIoU, outperforming all other methods. We further show the robustness of this approach by validating across unseen flood images from other flood data sources.

Motivation & Objective

  • Address the critical need for automated, scalable flood damage assessment in developing countries with limited resources and high flood vulnerability.
  • Overcome the limitations of manual Post-Disaster Needs Assessment (PDSA) and Early Warning System (EWS) data processing, which are slow and error-prone.
  • Develop a deep learning model that generalizes well across diverse visual data sources, including social media, UAVs, and surveillance cameras.
  • Introduce a new metric, Flood Capacity (FC), to quantitatively measure the spatial extent of flooding for improved disaster response and forecasting.
  • Demonstrate the robustness of a vision transformer-based architecture in flood segmentation, surpassing traditional CNN-based models in accuracy and generalization.

Proposed method

  • Propose a hybrid FloodTransformer architecture combining a vision transformer encoder with a CNN-based decoder to leverage global attention and local feature learning.
  • Use patch-based self-attention mechanisms in the transformer encoder to model long-range spatial dependencies across heterogeneous flood scenes.
  • Fusion of CNN-learned embeddings and transformer-learned representations via Hadamard bilinear operations to enhance feature representation.
  • Train the model end-to-end on the Water Segmentation Open Collection (WSOC) dataset using binary cross-entropy and dice loss for pixel-wise segmentation.
  • Introduce Flood Capacity (FC) as a custom metric defined as the ratio of segmented water pixels to total image pixels, enabling quantification of flood extent.
  • Perform zero-shot inference on out-of-distribution aerial images to evaluate generalization, with fine-tuning possible for local calibration.

Experimental results

Research questions

  • RQ1Can a vision transformer-based model achieve state-of-the-art performance in flood water segmentation on diverse, real-world imagery from developing countries?
  • RQ2How does FloodTransformer generalize to unseen flood images from different data sources and imaging conditions?
  • RQ3To what extent does the proposed Flood Capacity (FC) metric improve the quantification of flood extent compared to standard segmentation metrics?
  • RQ4Can a hybrid CNN-Transformer architecture outperform pure CNN-based models like U-Net and PSPNet in flood segmentation tasks?
  • RQ5How effective is the model in reducing manual analysis burden for PDSA and EWS in low-resource disaster response settings?

Key findings

  • FloodTransformer achieves a mean Intersection over Union (mIoU) of 0.93 on the WSOC dataset, outperforming all prior methods including U-Net, PSPNet, and FCN32.
  • The model achieves 96% Pixel Accuracy (PA) with a low standard deviation of 0.02, indicating high consistency and robustness in segmentation performance.
  • On out-of-dataset aerial images, FloodTransformer maintains strong generalization, with FC values of 0.18 and 0.26, demonstrating effectiveness on unseen, real-world flood scenes.
  • The model's performance is stable across diverse image sources, including low-resolution social media images and high-resolution UAV imagery.
  • The introduction of Flood Capacity (FC) enables quantitative assessment of flood extent, supporting both EWS and PDSA by measuring spatial water coverage.
  • The hybrid architecture reduces reliance on inductive biases of CNNs, improving generalization and robustness in complex, heterogeneous flood scenes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.