Semi-Supervised Semantic Segmentation for Remote Sensing Images via Multiscale Uncertainty Consistency and Cross-Teacher-Student Attention

Shanwen Wang, Xin Sun, Changrui Chen, Danfeng Hong, Jungong Han

TL;DR

This paper introduces MUCA, a novel semi-supervised learning framework for remote sensing image segmentation. MUCA tackles the challenges of multi-scale features and high inter-class similarity in remote sensing data by employing a multi-scale uncertainty consistency mechanism and a cross-teacher-student attention module, leading to improved segmentation accuracy.

What Problem Does This Paper Address?

Accurate semantic segmentation of remote sensing (RS) images is crucial for various applications like disaster prevention, land-use surveillance, and urban planning. However, manually labeling RS data is extremely labor-intensive, making semi-supervised learning (SSL) an attractive alternative. Traditional SSL methods, often developed for natural images, struggle with the unique characteristics of RS imagery. These include:

  • Rich Multi-scale Information: Objects in RS images can vary drastically in size, from large buildings to small cars, and even objects of the same class can appear at different scales due to varying resolutions.
  • High Inter-class Similarity: Objects from different categories can look visually very similar, making them difficult to distinguish.

Existing SSL approaches for RS images often focus on one of these challenges or lack the ability to integrate diverse data augmentations effectively. This paper aims to address both challenges simultaneously with a novel, non-intrusive framework.

Methods

The proposed MUCA model builds upon a teacher-student consistency framework and introduces two key novel modules:

  • Multi-Scale Uncertainty Consistency (MSUC) Module: This module addresses the multi-scale challenge. Instead of only enforcing consistency at the final output layer (as in traditional methods), MSUC constrains consistency among feature maps at different layers of the network. It uses Monte-Carlo Dropout to estimate pixel-wise uncertainty. Features with high uncertainty are then filtered out, allowing the student network to learn from more reliable targets across various scales. This helps in capturing both fine-grained details and global context.
  • Cross-Teacher-Student Attention (CTSA) Module: This module tackles the high inter-class similarity problem. It employs an attention mechanism where the student network's encoder features (from a strongly augmented image) are used as queries, and the teacher network's encoder features (from a weakly augmented image) are used as keys and values. This allows the teacher network to guide the student in reconstructing more discriminative feature representations by leveraging complementary information from both networks. This integration of diverse augmentations (WA and SA) is crucial for boosting performance.

The overall loss function combines supervised loss on labeled data ($L_s$) with unsupervised loss on unlabeled data ($L_u$), where $L_u$ comprises a basic teacher-student consistency loss ($L_c$), the MSUC loss ($L_{MSUC}$), and the CTSA loss ($L_{CTSA}$).

Datasets

The proposed MUCA model was evaluated on two widely used remote sensing datasets:

  • ISPRS-Potsdam: Contains 38 high-resolution (0.05m) satellite images with six classes: Impervious surfaces, Building, Low vegetation, Tree, Car, and Background. Images were cropped to 512x512 for training.
  • LoveDA: Consists of 5987 images (1024x1024, 0.3m resolution) from three cities, with seven classes: Building, Road, Water, Barren, Forest, Agriculture, and Background. Images were resized and cropped to 512x512.

Both datasets were split into training, validation, and testing sets with a 6:2:2 ratio. Experiments were conducted using 1%, 5%, and 10% of labeled data.

Key Insights and Ideas

  • Uncertainty as a Filter: Using uncertainty estimation (via Monte-Carlo Dropout) to filter out unreliable pseudo-labels is a powerful technique for improving semi-supervised learning in complex RS data. It allows the model to focus on more trustworthy information.
  • Multi-Scale Consistency is Key: Enforcing consistency not just at the output but across multiple feature extraction stages is crucial for capturing the diverse scales present in RS imagery.
  • Teacher-Student Synergy: The cross-attention mechanism effectively bridges the gap between features learned from weak and strong augmentations, allowing the teacher to guide the student towards more robust and discriminative representations, especially for visually similar classes.
  • Non-Intrusive Design: The proposed modules are designed to be easily integrated into existing semantic segmentation architectures without requiring significant modifications to their backbone, making them broadly applicable.

Key Results

  • MUCA significantly outperforms state-of-the-art (SOTA) semi-supervised methods on both the ISPRS-Potsdam and LoveDA datasets across various labeled data ratios (1%, 5%, 10%).
  • On the ISPRS-Potsdam dataset with 5% labeled data, MUCA achieved an mIoU of 74.62%, outperforming the next best method (AllSpark) by over 1.7%.
  • On the LoveDA dataset with 5% labeled data, MUCA achieved an mIoU of 50.97%, also showing a notable improvement.
  • Qualitative results (confusion matrices and visual comparisons) demonstrate MUCA's superior ability to distinguish between visually similar classes and accurately segment objects with varying scales.
  • The model also showed good generalizability, improving the performance of various backbone networks (U-Net, PSPNet, DeepLabv3+, SegFormer-B2) when integrated.

Limitations and Future Work

  • Long-Tailed Distribution: The paper acknowledges that the current approach does not explicitly address the long-tailed distribution of classes, which can still be a challenge.
  • Suboptimal IoU for Some Classes: While MUCA achieves the best overall performance, it doesn't always achieve the best IoU for every single class, which is understandable given that different models may have different focuses.
  • Mixed Land Cover and Boundaries: For the LoveDA dataset, visualization shows that segmentation accuracy for some classes (e.g., Forest, Road) and fine architectural details can still be suboptimal.
  • Future Directions: The authors suggest future work focusing on cross-modal alignment and developing semi-supervised models that integrate multi-source data, such as multispectral imagery, SAR, and LiDAR. They also aim to inspire further research by providing MUCA as a baseline.

Summary updated

BibTeX
@article{wang2025semi,
  author = {Shanwen Wang and Xin Sun and Changrui Chen and Danfeng Hong and Jungong Han},
  title = {{Semi-Supervised Semantic Segmentation for Remote Sensing Images via Multiscale Uncertainty Consistency and Cross-Teacher-Student Attention}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2025},
  doi = {10.1109/tgrs.2025.3585489},
}
Figure