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

No Trade-Offs: Unified Global, Local, and Multi-Scale Context Modeling for Building Pixel-Wise Segmentation

Zhiyu Zhang, Debao Yuan, Yifei Zhou, Renxu YangRemote Sensing 2026

TL;DR

This paper introduces TriadFlow-Net, a novel deep learning architecture for building segmentation in high-resolution remote sensing imagery. It effectively balances global context, local details, and multi-scale information without performance trade-offs, achieving state-of-the-art results on benchmark datasets while remaining computationally efficient.

What Problem Does This Paper Address?

Accurately identifying buildings in high-resolution remote sensing images is crucial for urban planning, disaster assessment, and smart city initiatives. However, existing deep learning methods struggle to simultaneously capture three key aspects: understanding the overall scene (global semantic understanding), preserving fine-grained details like edges (local detail recovery), and handling buildings of vastly different sizes (multi-scale contextual awareness). This often leads to a trade-off where improving one aspect compromises another. Challenges like extreme scale variations, complex urban backgrounds, occlusions, and ambiguous boundaries further complicate this task.

Methods

TriadFlow-Net tackles these challenges with a unified framework built around three core modules:

  • Multi-scale Attention Feature Enhancement Module (MAFEM): This module addresses the issue of imbalanced receptive fields in traditional multi-scale approaches. It uses parallel attention branches with varying neighborhood sizes to adaptively capture contextual information across different scales, enhancing robustness to buildings of varying sizes.
  • Global Context Mixing Module (GCMM): To improve robustness against occlusions and complex spatial distributions, GCMM integrates a Non-Causal State Space Model (NC-SSD) with a Densely Connected Dynamic Fusion (DCDF) mechanism. NC-SSD efficiently models long-range dependencies with linear complexity, while DCDF maintains representational diversity through dynamic cross-layer fusion, preventing feature homogenization. This allows the model to understand global context even when parts of buildings are hidden.
  • Local Detail Enhancement Module (LDEM): This module focuses on refining boundary details. It uses a Multi-scale High-frequency Extractor (MHFE) and a channel-spatial attention mechanism to precisely locate and enhance high-frequency boundary information, effectively suppressing noise and improving the accuracy of building edges.

These modules are integrated into an encoder-decoder architecture, with ResNet-50 as the backbone, to jointly optimize these three crucial aspects.

Datasets

The proposed TriadFlow-Net was evaluated on three widely recognized benchmark datasets for building semantic segmentation:

  • WHU Building Dataset: Covers approximately 450 km² in New Zealand, with around 220,000 buildings and 8189 images (512x512 pixels). It offers diversity in geographic regions and architectural styles.
  • Massachusetts Buildings Dataset: Comprises 151 aerial images (1500x1500 pixels) covering about 340 km² of the Boston metropolitan area. It features high building density, complex urban environments, and variations in building scale.
  • Inria Aerial Image Labeling Dataset: Includes 360 aerial images (5000x5000 pixels) from Austria and the United States, with a high spatial resolution of 0.3 m. It presents urban and suburban areas with extreme diversity in building density and typology.

Key Insights and Ideas

  • No Trade-Offs: The core insight is that global semantic understanding, multi-scale representation, and local detail restoration are not mutually exclusive. By carefully designing modules that complement each other, TriadFlow-Net achieves improvements in all three areas simultaneously.
  • Adaptive Multi-Scale Attention: MAFEM's parallel attention branches with varying neighborhood radii offer a more flexible and effective way to capture multi-scale context compared to fixed receptive fields.
  • Non-Causal State Space Models for Global Context: The integration of NC-SSD in GCMM is a novel approach to capture long-range dependencies efficiently and non-causally, which is crucial for understanding context in occluded or complex scenes.
  • Synergistic Module Interaction: The ablation studies reveal that the modules don't just add incremental gains; they exhibit synergistic effects, meaning their combined performance is greater than the sum of their individual contributions.
  • Efficient Design for High-Resolution Imagery: The architecture is designed to be computationally efficient, making it practical for high-resolution remote sensing data, which is often very large.

Key Results

TriadFlow-Net consistently outperformed state-of-the-art methods across all three benchmark datasets.

  • WHU Building Dataset: Achieved 90.69% IoU, 95.12% F1, 95.20% Precision, and 95.03% Recall, surpassing the previous best (UANet) by significant margins in IoU and F1.
  • Massachusetts Buildings Dataset: Demonstrated the best performance in IoU, F1, and Recall, ranking second in Precision with only a slight difference. It showed significant improvements in handling extreme scenarios like dense building distributions and tiny objects.
  • Inria Aerial Image Labeling Dataset: Achieved optimal performance across all metrics, with substantial improvements over the previous best method, particularly in distinguishing buildings from similar-looking non-building regions and accurately delineating narrow gaps.

Qualitative results showed TriadFlow-Net's superior ability to reconstruct building contours, handle occlusions, and preserve fine details, even in challenging scenarios where other methods failed. The model also demonstrated a good balance between performance and computational complexity, with a reasonable inference speed.

Limitations and Future Work

  • Road vs. Building Confusion: In some cases, TriadFlow-Net still misclassifies road regions adjacent to buildings as buildings, particularly when spectral signatures are similar. This is attributed to the inherent spectral ambiguity in remote sensing imagery.
  • Small Object Detection: The model struggles with very small buildings (less than 10x10 pixels), sometimes ignoring them or merging them into the background.

Future work suggested by the authors includes:

  • Multispectral/Hyperspectral Data Fusion: Leveraging richer spectral information to better differentiate between roads and rooftops.
  • Multi-modal Data Fusion: Incorporating data from other sensors like SAR and LiDAR to gain complementary geometric and physical information for more robust building extraction.
  • Sub-pixel Level Feature Extraction: Exploring methods to enhance the visibility of very small targets for improved "pixel-level accuracy" and "object scale."

Summary updated

Abstract

Building extraction from remote sensing imagery plays a pivotal role in applications such as smart cities, urban planning, and disaster assessment. Although deep learning has significantly advanced this task, existing methods still struggle to strike an effective balance among global semantic understanding, local detail recovery, and multi-scale contextual awareness—particularly when confronted with challenges including extreme scale variations, complex spatial distributions, occlusions, and ambiguous boundaries. To address these issues, we propose TriadFlow-Net, an efficient end-to-end network architecture. First, we introduce the Multi-scale Attention Feature Enhancement Module (MAFEM), which employs parallel attention branches with varying neighborhood radii to adaptively capture multi-scale contextual information, thereby alleviating the problem of imbalanced receptive field coverage. Second, to enhance robustness under severe occlusion scenarios, we innovatively integrate a Non-Causal State Space Model (NC-SSD) with a Densely Connected Dynamic Fusion (DCDF) mechanism, enabling linear-complexity modeling of global long-range dependencies. Finally, we incorporate a Multi-scale High-Frequency Detail Extractor (MHFE) along with a channel–spatial attention mechanism to precisely refine boundary details while suppressing noise. Extensive experiments conducted on three publicly available building segmentation benchmarks demonstrate that the proposed TriadFlow-Net achieves state-of-the-art performance across multiple evaluation metrics, while maintaining computational efficiency—offering a novel and effective solution for high-resolution remote sensing building extraction.
BibTeX
@article{zhang2026no,
  author = {Zhiyu Zhang and Debao Yuan and Yifei Zhou and Renxu Yang},
  title = {{No Trade-Offs: Unified Global, Local, and Multi-Scale Context Modeling for Building Pixel-Wise Segmentation}},
  journal = {Remote Sensing},
  year = {2026},
  doi = {10.3390/rs18030472},
}
Figure