Semi-Supervised Building Footprint Generation With Feature and Output Consistency Training

Qingyu Li, Yilei Shi, Xiao Xiang Zhu

TL;DR

This paper introduces a novel semi-supervised learning approach for generating building footprint maps from remote sensing imagery. By enforcing consistency not only on the final output but also on intermediate feature representations between a main and an auxiliary decoder, the method significantly improves building extraction accuracy, especially when labeled data is scarce.

What Problem Does This Paper Address?

Accurate building footprint maps are crucial for urban planning, monitoring, and disaster assessment. While deep learning methods, particularly Convolutional Neural Networks (CNNs), have shown great promise, they typically require vast amounts of meticulously annotated data for training. This manual annotation process is time-consuming and expensive, creating a bottleneck for large-scale applications. Semi-supervised learning offers a solution by leveraging abundant unlabeled data, but existing methods often struggle to fully exploit the rich information within the CNN's internal representations. This paper addresses the challenge of generating accurate building footprints with limited labeled data by proposing a more effective semi-supervised learning strategy.

Methods

The core of the proposed method is a semi-supervised learning framework that builds upon the concept of consistency training. This framework consists of a shared encoder and a main decoder, trained in a supervised manner on labeled data. To leverage unlabeled data, an auxiliary decoder is introduced. The key innovation lies in enforcing consistency between the main and auxiliary decoders in two ways:

  • Output Consistency: Similar to existing methods, the predictions of the main and auxiliary decoders on perturbed versions of unlabeled data are encouraged to be consistent.
  • Feature Consistency: This is the novel contribution. The paper enforces consistency on the intermediate feature representations within the encoder. This is achieved by applying a perturbation to the feature maps at a specific depth within the encoder, and then comparing these perturbed features with those generated by the main decoder.

The paper also introduces a specific instruction for selecting the optimal depth within the encoder to apply this perturbation. This instruction considers the spatial resolution of the remote sensing imagery and the average size of buildings in the study area, aiming to place the perturbation in regions where low-density areas separating building classes are most apparent. The overall loss function combines a supervised loss for labeled data and a consistency loss for unlabeled data, incorporating both feature and output consistency.

Datasets

The proposed method was evaluated on three publicly available datasets with varying spatial resolutions:

  • Planet dataset: 3 m/pixel resolution, collected from 8 European cities.
  • Massachusetts dataset: 1 m/pixel resolution, covering the city of Boston.
  • Inria dataset: 0.3 m/pixel resolution, a standard benchmark for building extraction.

For experiments, all datasets were divided into training, validation, and testing sets. The paper also details the specific number of patches used for each set and dataset.

Key Insights and Ideas

  • Intermediate Features Hold Key Information: The paper's central observation is that for remote sensing imagery, the low-density regions that separate classes are often found in intermediate feature representations within the encoder, rather than just at the input or output. This insight is crucial for effective semi-supervised learning.
  • Feature Consistency Enhances Learning: Imposing consistency not only on the final output but also on intermediate feature maps provides stronger constraints and richer supervisory signals, leading to improved performance compared to methods that only enforce output consistency.
  • Perturbation Placement Matters: The effectiveness of consistency training is sensitive to where perturbations are applied. The paper proposes a principled way to select the optimal encoder depth for perturbation based on image resolution and building size, which is more effective than arbitrary choices.
  • Auxiliary Decoder as a Regularizer: The auxiliary decoder acts as a regularizer, preventing the main decoder from collapsing into trivial solutions and helping it generalize better by providing consistent supervisory signals from perturbed inputs.

Key Results

The proposed semi-supervised method consistently outperformed existing state-of-the-art methods across all three datasets and various ratios of labeled to unlabeled data.

  • Significant Accuracy Gains: For example, on the Massachusetts dataset with a 1:2 labeled-to-unlabeled ratio, the proposed method achieved an IoU of 54.15%, a significant improvement over the next best method (CCT at 51.30%). Similar gains were observed on the Planet and Inria datasets.
  • Robustness to Data Scarcity: The method showed remarkable performance even with very limited labeled data (e.g., 1:10 ratio), maintaining competitive results and reducing the performance gap between different data ratios.
  • Improved Building Extraction: Qualitative results demonstrated that the proposed method could extract more complete building structures and alleviate omission errors, producing visually superior building footprint maps.
  • Ablation Studies Confirm Contributions: Ablation studies confirmed that both feature consistency and the proposed perturbation strategy contribute significantly to the overall performance improvement.

Limitations and Future Work

  • Optimal Perturbation Depth Varies: While the proposed instruction for selecting the perturbation depth is effective, the optimal depth can still vary across different datasets. The paper notes that this optimal depth is related to the spatial resolution and building size.
  • Future Work: The authors suggest that their method is a robust solution for building footprint generation with scarce training samples. They also propose future work to investigate the potential of feature and output consistency training in instance segmentation of buildings.

Summary updated

Abstract

Accurate and reliable building footprint maps are vital to urban planning and monitoring, and most existing approaches fall back on convolutional neural networks (CNNs) for building footprint generation. However, one limitation of these methods is that they require strong supervisory information from massive annotated samples for network learning. State-of-the-art semi-supervised semantic segmentation networks with consistency training can help to deal with this issue by leveraging a large amount of unlabeled data, which encourages the consistency of model output on data perturbation. Considering that rich information is also encoded in feature maps, we propose to integrate the consistency of both features and outputs in the end-to-end network training of unlabeled samples, enabling to impose additional constraints. Prior semi-supervised semantic segmentation networks have established the cluster assumption, in which the decision boundary should lie in the vicinity of low sample density. In this work, we observe that for building footprint generation, the low-density regions are more apparent at the intermediate feature representations within the encoder than the encoder's input or output. Therefore, we propose an instruction to assign the perturbation to the intermediate feature representations within the encoder, which considers the spatial resolution of input remote sensing imagery and the mean size of individual buildings in the study area. The proposed method is evaluated on three datasets with different resolutions: Planet dataset (3 m/pixel), Massachusetts dataset (1 m/pixel), and Inria dataset (0.3 m/pixel). Experimental results show that the proposed approach can well extract more complete building structures and alleviate omission errors.
BibTeX
@article{li2022semi,
  author = {Qingyu Li and Yilei Shi and Xiao Xiang Zhu},
  title = {{Semi-Supervised Building Footprint Generation With Feature and Output Consistency Training}},
  journal = {IEEE TGRS},
  year = {2022},
  doi = {10.1109/tgrs.2022.3174636},
}
Figure