NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AGDF-Net: Attention-Gated and Direction-Field-Optimized Building Instance Extraction Network

Weizhi Liu, Haixin Liu, Chao Liu, Junjie Kong, Can Zhang2023

TL;DR

This paper introduces AGDF-Net, a novel deep learning architecture for accurately extracting individual building instances from high-resolution remote sensing images. By incorporating an Attention-Gated Feature Pyramid Network (AG-FPN) for better feature fusion and a Direction Field Optimization Module (DFOM) for refining building boundaries, AGDF-Net significantly improves upon existing methods in handling complex urban environments.

What Problem Does This Paper Address?

Extracting buildings from high-resolution remote sensing imagery is crucial for applications like urban planning and disaster assessment. However, these images present significant challenges: buildings exhibit high intraclass heterogeneity (varying shapes, sizes, textures) and interclass homogeneity (buildings can look similar to other objects like roads or shadows). This makes it difficult for traditional methods and even current deep learning approaches to accurately delineate individual building instances, especially in dense urban areas where buildings are close together and have complex outlines. Existing methods often struggle with maintaining precise boundaries, distinguishing adjacent buildings, and avoiding false positives from background clutter.

Methods

The proposed AGDF-Net builds upon the Mask R-CNN framework but introduces two key innovations:

  • Attention-Gated Feature Pyramid Network (AG-FPN): Standard Feature Pyramid Networks (FPNs) fuse features from different levels of a backbone network. AG-FPN enhances this by incorporating an "attention gate" mechanism. This gate learns to weigh the importance of information from different feature levels, allowing the network to selectively focus on relevant details and suppress distracting noise. This improves the flow of complementary semantic and spatial information.
  • Direction Field Optimization Module (DFOM): This module is integrated into the mask head. It predicts a "direction field" for each pixel, indicating the direction towards the nearest building boundary. This field is then used in an iterative process to refine the initial segmentation mask, effectively correcting errors and optimizing the building contours. This is particularly useful for maintaining the regular, sharp morphology of buildings.

Datasets

The authors used a large dataset named "A dataset of building instances of typical cities in China" for their experiments. This dataset contains 7260 images (5985 for training, 1275 for testing), each with a size of 500x500 pixels and a ground resolution of 0.29m. The dataset includes images from Beijing, Shanghai, Wuhan, and Shenzhen, representing diverse building scales, shapes, textures, and styles.

Key Insights and Ideas

  • Attention is key for feature fusion: Simply combining features from different levels (as in standard FPNs) isn't enough. Learning to selectively attend to important features significantly boosts performance, especially in cluttered scenes.
  • Direction fields are powerful for boundary refinement: Explicitly modeling the direction towards boundaries provides a strong signal for correcting segmentation errors and achieving sharper, more accurate building outlines.
  • Instance segmentation offers advantages over semantic segmentation for buildings: By treating each building as a distinct object, instance segmentation naturally handles the separation of adjacent buildings, a common failure mode for semantic segmentation.
  • Compatibility of AG-FPN and DFOM: The paper demonstrates that these two novel modules work well together, with DFOM's effectiveness further enhanced when AG-FPN is also applied.

Key Results

  • State-of-the-art performance: AGDF-Net achieved the highest AP (Average Precision) across various IoU thresholds compared to six other state-of-the-art instance segmentation methods (Mask R-CNN, MS R-CNN, PointRend, HTC, YOLACT, SOLOv2).
  • Significant improvements: AGDF-Net improved AP by 6.6%, AP50 by 7.3%, and AP75 by 7.6% over the baseline (Mask R-CNN). It also outperformed the second-best method by 1.1% to 1.0%.
  • Ablation study confirms module effectiveness: AG-FPN alone improved AP by 3.2%, and DFOM alone improved AP by 2.1%. Together, they achieved the full 6.6% improvement.
  • Superiority over semantic segmentation: When compared to three advanced semantic segmentation methods (UNet, DeepLabv3+, BRRNet), AGDF-Net achieved a higher IoU of 77.87%, outperforming them by 3.55% to 5.06%. Qualitatively, AGDF-Net produced more complete and independent building masks with smoother boundaries.

Limitations and Future Work

  • Limitations: While AGDF-Net shows strong performance, the paper acknowledges that challenges remain in distinguishing buildings with very similar appearances or in extremely complex backgrounds. The iterative correction process in DFOM might also be computationally intensive.
  • Future Work: The authors suggest exploring further improvements to the AG-FPN and DFOM modules. They also mention the potential for applying their method to other object extraction tasks in remote sensing.

Summary updated

BibTeX
@misc{liu2023agdf,
  author = {Weizhi Liu and Haixin Liu and Chao Liu and Junjie Kong and Can Zhang},
  title = {{AGDF-Net: Attention-Gated and Direction-Field-Optimized Building Instance Extraction Network}},
  year = {2023},
  doi = {10.3390/s23146349},
}
Figure