Spatial-Logic-Aware Weakly Supervised Learning for Flood Mapping on Earth Imagery

Zelin Xu, Tingsong Xiao, Wenchong He, Yu Wang, Zhe Jiang, Shigang Chen, Yiqun Xie, Xiaowei Jia, Da Yan, Yang Zhou

Introduction

High-resolution flood mapping is a critical component of disaster response and environmental monitoring. However, the efficacy of deep learning (DL) models in this domain is often hampered by the scarcity of high-quality, pixel-level training data. Generating such ground truth is labor-intensive and expensive. Consequently, researchers frequently resort to "weak labels"—data that is either low-resolution or contains significant noise.

The Challenge of Weak Supervision

Standard DL models trained on weak labels often fail to capture the underlying physical reality of the scene. For instance, a model might predict a flooded area on high ground while adjacent low-lying areas remain dry, a result that is physically impossible. This occurs because the model overfits to the errors in the noisy training data rather than learning the physical constraints of the environment.

The weak supervision challenge: mapping image features to hidden true labels using only noisy observed labels.

While "neural-symbolic" AI attempts to address this by integrating logical rules into deep learning, these methods often struggle with the computational complexity required to process high-resolution satellite imagery containing millions of pixels.

The SLWSL Framework

To bridge the gap between deep learning and physical common sense, the authors propose SLWSL (Spatial-Logic-aware Weakly Supervised Learning). This framework integrates symbolic spatial logic into a multi-resolution probabilistic learning process.

The SLWSL framework is built upon three core pillars:

  1. Unified Probabilistic Objective: The model optimizes a likelihood function that simultaneously accounts for a label error model (modeling the generation of noisy labels) and a spatial-logic model (constraining the behavior of true labels based on physical rules).
  2. Symbolic Spatial Logic: Domain knowledge, such as "water flows to lower elevations," is encoded as logic rules. These are converted into "potentials" using t-norm fuzzy logic, allowing them to be seamlessly integrated into the neural network's training objective.
  3. Multi-Resolution Reasoning: To overcome computational bottlenecks, SLWSL employs a hierarchical strategy called Selective Refinement (SR). The model performs logic inference at a coarse level first to identify "uncertain" regions, such as flood boundaries. Fine-grained logic reasoning is then applied only to these specific areas, significantly reducing the total computational load.

Experimental Evaluation

The framework was evaluated using real-world datasets from Hurricane Matthew (2016) in North Carolina, featuring 2-meter resolution RGB aerial imagery and Digital Elevation Models (DEM).

Key Results

  • Superior Accuracy: SLWSL achieved an accuracy of 0.95 on the primary dataset, significantly outperforming the base U-Net model (0.80) and other neural-symbolic baselines like DeepProbLog.
  • Computational Efficiency: The Selective Refinement approach proved to be approximately 6 times faster than applying logic rules to every pixel across the entire image.
  • Robustness to Noise: Sensitivity analysis demonstrated that SLWSL maintains high performance (above 90% accuracy) even when training labels are corrupted by up to 40% noise.
Qualitative result of the SLWSL framework, showing clean flood boundaries that respect local topography.

Conclusion

SLWSL demonstrates that treating spatial logic as a probabilistic prior, rather than a post-processing step, allows models to learn the relationship between image features and physical constraints more effectively. By focusing computational resources on ambiguous regions through multi-resolution reasoning, the framework achieves high-resolution results that are both accurate and physically plausible. Future work will explore the integration of temporal data and the application of this framework to other Earth science domains.

Summary updated

BibTeX
@inproceedings{xu2024spatial,
  author = {Zelin Xu and Tingsong Xiao and Wenchong He and Yu Wang and Zhe Jiang and Shigang Chen and Yiqun Xie and Xiaowei Jia and Da Yan and Yang Zhou},
  title = {{Spatial-Logic-Aware Weakly Supervised Learning for Flood Mapping on Earth Imagery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i20.30253},
}
Figure