Domain Adaptive Transfer Attack (DATA)-based Segmentation Networks for Building Extraction from Aerial Images

Younghwan Na, Jun Hee Kim, Kyungsu Lee, Juhum Park, Jae Youn Hwang, Jihwan P. Choi · DOI

Abstract

Semantic segmentation models based on convolutional neural networks (CNNs) have gained much attention in relation to remote sensing and have achieved remarkable performance for the extraction of buildings from high-resolution aerial images. However, the issue of limited generalization for unseen images remains. When there is a domain gap between the training and test datasets, CNN-based segmentation models trained by a training dataset fail to segment buildings for the test dataset. In this paper, we propose segmentation networks based on a domain adaptive transfer attack (DATA) scheme for building extraction from aerial images. The proposed system combines the domain transfer and adversarial attack concepts. Based on the DATA scheme, the distribution of the input images can be shifted to that of the target images while turning images into adversarial examples against a target network. Defending adversarial examples adapted to the target domain can overcome the performance degradation due to the domain gap and increase the robustness of the segmentation model. Cross-dataset experiments and the ablation study are conducted for the three different datasets: the Inria aerial image labeling dataset, the Massachusetts building dataset, and the WHU East Asia dataset. Compared to the performance of the segmentation network without the DATA scheme, the proposed method shows improvements in the overall IoU. Moreover, it is verified that the proposed method outperforms even when compared to feature adaptation (FA) and output space adaptation (OSA).

Introduction

Deep learning models, specifically Convolutional Neural Networks (CNNs), have set new benchmarks in identifying buildings from high-resolution aerial imagery. Despite their success, these models often suffer from a significant "domain gap." For example, a model trained on datasets from one geographic region often fails when deployed in a different region due to variations in lighting, sensor resolution, and architectural styles. Standard domain adaptation techniques, such as Feature Adaptation (FA) and Output Space Adaptation (OSA), attempt to bridge this gap but can be difficult to train and prone to model collapse.

This paper presents the Domain Adaptive Transfer Attack (DATA) scheme, a novel approach that combines the style-switching capabilities of domain transfer with the robustness-enhancing nature of adversarial training. By transforming source training images to resemble target test images while simultaneously converting them into adversarial examples, the DATA scheme forces segmentation networks to learn more generalized and robust features.

Methodology

The RD-SE Base Network

The authors developed a Residual DenseNet with Squeeze-and-Excitation (SE) blocks (RD-SE) as the core segmentation backbone. Residual Dense Blocks facilitate superior feature flow and help recover spatial information, such as crisp building edges, which are often lost during standard downsampling. SE blocks adaptively recalibrate channel-wise features, enabling the network to prioritize the most informative visual cues for building extraction.

Architecture of the RD-SE network and its components: (a) Residual Dense Block, (b) SE block, and (c) the full RD-SE segmentation network.

The Domain Adaptive Transfer Attack (DATA) Scheme

The DATA scheme is the central innovation of this work, consisting of three interacting modules:

  • Generator ($G$): A U-Net-based "attacker" that introduces subtle perturbations to source images. Its objective is twofold: to make the image distribution match the target domain and to create adversarial examples that challenge the segmentation network.
  • Discriminator ($D$): A binary classifier that attempts to distinguish between real target images and the converted images produced by $G$.
  • Segmentation Network ($S$): The RD-SE model being trained to extract buildings.

The generator is optimized using a composite loss function that balances Invariance Loss (preserving semantic content), Attack Loss (maximizing segmentation error to create "hard" examples), and Domain Transfer Loss (fooling the discriminator).

The proposed DATA scheme, illustrating the interaction between the generator, discriminator, and segmentation model.

Experimental Evaluation

The study utilized three major benchmarks: the Inria Aerial Image Labeling Dataset (0.3m resolution), the Massachusetts Building Dataset (1.0m resolution), and the WHU East Asia Dataset (2.7m resolution). t-SNE visualization confirmed that these datasets occupy distinct clusters in feature space, highlighting the substantial domain gap that the DATA scheme aims to bridge.

Results and Discussion

Cross-dataset experiments demonstrated the superior performance of the DATA scheme over standard training and existing adaptation methods (FA and OSA).

  • Quantitative Improvements: In the Inria → Massachusetts task, the Intersection over Union (IoU) improved from 48.46% (baseline) to 56.29% with DATA.
  • Ablation Study: Results showed that combining adversarial attack and domain transfer yielded better performance than using either technique in isolation, providing an average IoU improvement of 8.32% over the baseline.

The success of the DATA scheme lies in its ability to treat adversarial examples as "hard" training data. By training on these challenging, domain-adapted images, the model becomes significantly more robust to geographic and sensor-based variations.

Conclusion

The DATA scheme effectively addresses the domain gap in aerial imagery by integrating adversarial training with domain transfer. While currently focused on single-class building extraction, future work will explore multi-class environments and aim to reduce the computational overhead associated with the adversarial training process.

Summary updated

BibTeX
@article{na2021domain,
  author = {Younghwan Na and Jun Hee Kim and Kyungsu Lee and Juhum Park and Jae Youn Hwang and Jihwan P. Choi},
  title = {{Domain Adaptive Transfer Attack (DATA)-based Segmentation Networks for Building Extraction from Aerial Images}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2021},
  url = {https://openreview.net/forum?id=NO-okQqFWha},
}
Figure