BDANet: Multiscale Convolutional Neural Network with Cross-directional Attention for Building Damage Assessment from Satellite Images

Yu Shen, Sijie Zhu, Taojiannan Yang, Chen Chen, Delu Pan, Liang Xiao, Qian Du · DOI

Abstract

Fast and effective responses are required when a natural disaster strikes. Building damage assessment from satellite imagery is critical before relief effort is deployed. With a pair of pre- and post-disaster satellite images, building damage assessment aims at predicting the extent of damage to buildings. With the powerful ability of feature representation, deep neural networks have been successfully applied to building damage assessment. Most existing works simply concatenate pre- and post-disaster images as input of a deep neural network without considering their correlations. In this paper, we propose a novel two-stage convolutional neural network for Building Damage Assessment, called BDANet. In the first stage, a U-Net is used to extract the locations of buildings. Then the network weights from the first stage are shared in the second stage for building damage assessment. In the second stage, a two-branch multi-scale U-Net is employed as backbone, where pre- and post-disaster images are fed into the network separately. A cross-directional attention module is proposed to explore the correlations between pre- and post-disaster images. Moreover, CutMix data augmentation is exploited to tackle the challenge of difficult classes. The proposed method achieves state-of-the-art performance on a large-scale dataset -- xBD.

Introduction

In the wake of natural disasters like earthquakes or hurricanes, rapid Humanitarian Assistance and Disaster Response (HADR) is vital. Satellite imagery provides a bird's-eye view for damage assessment, but automating this process is notoriously difficult due to scale variance in building sizes, visual similarity between damage levels, and the complex temporal correlations between pre- and post-event imagery.

Building damage assessment task: comparing pre- and post-disaster imagery to classify damage levels across four categories: no damage, minor, major, and destroyed.

Most existing models simply stack pre- and post-disaster images together, failing to explicitly model the relationship between how a building looked before and how it looks now. BDANet addresses these challenges through a specialized two-stage architecture designed to capture both fine-grained detail and temporal context.

Methodology: The BDANet Framework

BDANet operates in two distinct stages to ensure both precise localization and accurate classification of building damage.

The BDANet framework consisting of building segmentation (Stage 1) and damage assessment (Stage 2) featuring Multi-scale Feature Fusion (MFF) and Cross-directional Attention (CDA) modules.

Stage 1: Building Segmentation

A U-Net architecture is trained solely on pre-disaster images to locate buildings. This creates a binary mask that guides the subsequent assessment stage. The authors found that initializing Stage 2 weights with those learned in Stage 1 significantly boosted training efficiency, saving at least 5 epochs and leading to higher final accuracy.

Stage 2: Damage Assessment

This stage utilizes a two-branch U-Net (one for pre-disaster, one for post-disaster) and introduces two key innovations:

  • Multi-scale Feature Fusion (MFF): The encoder processes images at three resolutions (1×, 0.5×, and 0.25×). This allows the network to capture fine-grained textures, such as roof cracks, alongside global context like surrounding debris. Ablation studies showed that adding the 0.5× and 0.25× streams provided a consistent 0.5% gain in the overall F1 score.
  • Cross-directional Attention (CDA): Inspired by Squeeze-and-Excitation (SE) blocks, CDA explores the correlations between the two time-steps. It uses features from the pre-disaster image to recalibrate the post-disaster features and vice versa. By aggregating channel and spatial information across the two branches, the model focuses on actual damage rather than seasonal lighting changes.

Targeted CutMix Data Augmentation

To handle class imbalance, the authors employed a Targeted CutMix strategy. By specifically augmenting "difficult" classes (minor and major damage), the network is forced to learn more robust representations for these rare but critical cases.

Experimental Results

BDANet was evaluated on the xBD Dataset, the largest building damage assessment dataset to date, containing over 800,000 building polygons across 19 disaster types.

  • State-of-the-Art Performance: BDANet achieved an overall F1 score ($F1_s$) of 0.806.
  • Improvement in Difficult Classes: Compared to previous leading models like RescueNet, BDANet improved the F1 score for "minor damage" from 0.493 to 0.616—a significant jump for the most visually subtle category.
  • Generalizability: On the LEVIR-CD building change detection task, BDANet outperformed specialized networks like WNet and U-Net++, achieving an F1 score of 0.942.
  • Efficiency: Despite the added complexity of MFF and CDA, the model only adds approximately 2M parameters and 60G FLOPs compared to a vanilla baseline, maintaining a negligible increase in inference time (0.016s per image).

Conclusion

BDANet demonstrates that explicitly modeling temporal correlations through cross-directional attention and addressing scale variance through multi-scale fusion are key to accurate disaster assessment. While the model excels at distinguishing "no damage" and "destroyed" classes, future work will focus on further closing the performance gap for the intermediate "minor" and "major" damage categories and optimizing the architecture for real-time deployment on edge devices.

Summary updated

BibTeX
@article{shen2021bdanet,
  author = {Yu Shen and Sijie Zhu and Taojiannan Yang and Chen Chen and Delu Pan and Jianyu Chen and Liang Xiao and Qian Du},
  title = {{BDANet: Multiscale Convolutional Neural Network with Cross-directional Attention for Building Damage Assessment from Satellite Images}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2021},
  doi = {10.1109/tgrs.2021.3080580},
}
Figure