LOGCAN++: Local-global class-aware network for semantic segmentation of remote sensing images

Xiaowen Ma, Rongrong Lian, Zhenkai Wu, Hongbo Guo, Mengting Ma, Sensen Wu, Zhenhong Du, Siyang Song, Wei Zhang · OpenReview

Abstract

Remote sensing images are characterized by complex backgrounds, scale and orientation variations, and large intra-class variance. General semantic segmentation methods often fail to fully address these issues, limiting their performance. We propose LOGCAN++, a semantic segmentation model customized for remote sensing images, consisting of a Global Class Awareness (GCA) module and several Local Class Awareness (LCA) modules. The GCA module captures global representations for class-level context modeling to reduce background noise interference. The LCA module generates local class representations as intermediate perceptual elements to associate pixels with global class representations, addressing large intra-class variance. Specifically, we introduce affine transformations in the LCA module for adaptive extraction of local class representations to tolerate scale and orientation variations. Extensive experiments on three benchmark datasets show that LOGCAN++ outperforms current mainstream methods, achieving a superior trade-off between speed and accuracy. Code is available at https://github.com/xwmaxwma/rssegmentation.

Introduction: The Challenges of Remote Sensing

Semantic segmentation—assigning a category label to every pixel—is significantly more difficult in remote sensing than in standard photography. The authors identify three primary "pain points" that hinder traditional models:

  1. Complex Backgrounds: Satellite and aerial images are cluttered with "noise" (e.g., shadows, varied vegetation) that can lead to false positives.
  2. Large Intra-class Variance: Objects of the same class (e.g., buildings) can appear vastly different due to varying materials, lighting, or architectural styles.
  3. Scale and Orientation Variations: Unlike natural images with a consistent "up" direction, overhead shots feature objects at any angle and varying sizes.
Overview of the three primary challenges in remote sensing imagery: large intra-class variance (red), scale and orientation variation (yellow), and complex backgrounds (blue).

Existing models often utilize fixed-shape processing windows, which struggle with diagonal roads or unusually large structures. LOGCAN++ aims to bridge the gap between local pixel details and global category knowledge while remaining flexible enough to handle these geometric shifts.

Methodology: Local-Global Class Awareness

The LOGCAN++ architecture addresses the semantic gap between local pixel features and global category definitions through a hierarchical approach built upon a standard backbone (e.g., ResNet-50).

Global Class Awareness (GCA) Module

The GCA module is designed to model class-level context globally. By calculating "global class centers"—representative feature vectors for each category across the entire image—the module provides a reference that helps the network distinguish objects from complex, noisy backgrounds.

Local Class Awareness (LCA) Module

To address large intra-class variance, the LCA module generates local class representations. These serve as "intermediate perceptual elements," providing a more granular context than the global centers. This allows the model to associate pixels with their respective classes even when local appearances vary significantly due to lighting or shadows.

Affine Transformation Block (ATB)

The ATB is the primary mechanism for handling scale and orientation variations. Traditional convolution operations use fixed, axis-aligned kernels. In contrast, the ATB learns to predict an affine transformation—comprising scaling ($\Psi$), rotation ($\Theta$), and offset ($\Delta$)—for the local feature extraction process. This enables the model to adaptively "reshape" its focus to match the geometry of the target objects.

Examples of scale and orientation variation in urban and industrial remote sensing scenes, which the Affine Transformation Block is designed to handle.

Experimental Evaluation

The model was evaluated on three major benchmarks: ISPRS Vaihingen, ISPRS Potsdam, and LoveDA. The latter is particularly challenging, containing both urban and rural scenes with highly complex backgrounds.

Key Results

LOGCAN++ consistently outperformed state-of-the-art (SOTA) models across all datasets:

  • Accuracy: On the Vaihingen dataset, it achieved a 74.72% mIoU (mean Intersection over Union), surpassing popular models like FarSeg and UnetFormer.
  • Small Object Recognition: The model showed a notable improvement in detecting small objects like cars (a 1.82% mIoU boost over the DDP model), proving the effectiveness of the adaptive ATB.
  • Efficiency: Compared to the diffusion-based DDP model, LOGCAN++ uses only 78% of the parameters and 21% of the FLOPs while delivering superior segmentation.

Conclusion

LOGCAN++ demonstrates that a well-designed, class-aware CNN can achieve superior results in remote sensing by explicitly modeling geometric variations and class-level context. Future work may involve integrating these local-global strategies into large-scale foundation models like the Segment Anything Model (SAM) to combine broad generalization with fine-grained, geometry-specific strengths.

Summary updated

Abstract

Remote sensing images usually characterized by complex backgrounds, scale and orientation variations, and large intra-class variance. General semantic segmentation methods usually fail to fully investigate the above issues, and thus their performances on remote sensing image segmentation are limited. In this paper, we propose our LOGCAN++, a semantic segmentation model customized for remote sensing images, which is made up of a Global Class Awareness (GCA) module and several Local Class Awareness (LCA) modules. The GCA module captures global representations for class-level context modeling to reduce the interference of background noise. The LCA module generates local class representations as intermediate perceptual elements to indirectly associate pixels with the global class representations, targeting at dealing with the large intra-class variance problem. In particular, we introduce affine transformations in the LCA module for adaptive extraction of local class representations to effectively tolerate scale and orientation variations in remotely sensed images. Extensive experiments on three benchmark datasets show that our LOGCAN++ outperforms current mainstream general and remote sensing semantic segmentation methods and achieves a better trade-off between speed and accuracy. Code is available at https://github.com/xwmaxwma/rssegmentation.
BibTeX
@article{ma2025logcan,
  author = {Xiaowen Ma and Rongrong Lian and Zhenkai Wu and Hongbo Guo and Mengting Ma and Sensen Wu and Zhenhong Du and Siyang Song and Wei Zhang},
  title = {{LOGCAN++: Local-global class-aware network for semantic segmentation of remote sensing images}},
  journal = {IEEE Transactions on Geoscience and Remote Sensing},
  year = {2025},
  url = {https://openreview.net/forum?id=DY4DjomTSv},
}
Figure