A Mamba-Based Siamese Network for Remote Sensing Change Detection

Jay N. Paranjape, Celso de Melo, Vishal M. Patel

Introduction

Change Detection (CD) in remote sensing is the process of identifying significant surface alterations between satellite images captured at different times. This task is critical for applications like urban planning, disaster monitoring, and environmental protection. However, it remains challenging due to environmental "noise" such as varying illumination, seasonal vegetation changes, and sensor registration errors.

Historically, CD architectures have relied on Convolutional Neural Networks (CNNs) or Transformers. CNNs excel at capturing local textures but have a limited receptive field. Transformers offer a global receptive field but suffer from quadratic computational complexity as image resolution increases. This paper introduces M-CD, a novel Siamese network that leverages Selective State Space Models (Mamba) to achieve global context with linear scaling efficiency.

Methods: The M-CD Architecture

The proposed Mamba-based Change Detector (M-CD) is a Siamese network designed to process temporal image pairs efficiently. It consists of three primary components: the Siamese Image Encoder, the Difference Module, and the Mask Decoder.

The M-CD architecture featuring a Siamese Image Encoder, Difference Modules, and a Mask Decoder.

Siamese Image Encoder (SIE)

The SIE uses shared weights to process "pre-change" and "post-change" images. Based on the VMamba architecture, it incorporates a 2D Selective Scan (SS2D) that processes pixels from four directions, ensuring the model captures spatial relationships across the entire image.

Difference Module (DM)

Instead of simple feature subtraction, M-CD employs a Joint Selective Scan (JSS). By concatenating features in both temporal orders ($Pre;Post$ and $Post;Pre$), the model learns complex temporal relationships while maintaining architectural symmetry, preventing bias toward either timestamp.

Mask Decoder (MD)

The decoder follows a UNet-style structure with skip connections. To address Mamba's potential "channel blindness," the authors introduced the Channel-Averaged VSS (CAVSS) block. This block integrates average and max-pooling layers to enhance the model's awareness of inter-channel dependencies, leading to more precise segmentation masks.

Experimental Evaluation

M-CD was evaluated on four high-resolution benchmarks:

  • WHU-CD: Building changes post-earthquake.
  • DSIFN-CD: Multi-city high-resolution images.
  • LEVIR-CD: Large-scale building growth.
  • CDD: Seasonal and man-made changes.

Key Results and Discussion

M-CD established new state-of-the-art performance across all tested datasets. It notably outperformed complex diffusion-based models and other concurrent Mamba-based approaches.

Comparison of mIoU across four datasets for various CD methods, showing M-CD's superior performance.

Performance and Efficiency

On the WHU-CD dataset, M-CD achieved an F1 score of 0.953. Compared to standard CNN-based methods, it showed a 7-10% improvement in IoU, and a ~5% gain over Transformer-based models.

Crucially, M-CD maintains high computational efficiency. While diffusion models like DDPM-CD require 2175 GFLOPs, M-CD operates at just 29.58 GFLOPs. This linear scaling makes it better suited for high-resolution satellite imagery than quadratic Transformers.

Receptive Field Analysis

Analysis of the Effective Receptive Field (ERF) revealed that Mamba develops a "structured" global field. Unlike the "uniform" attention of Transformers, Mamba learns to prioritize specific, relevant areas across the image pair, leading to more effective feature extraction for change detection.

Conclusion

M-CD demonstrates the potential of State Space Models in remote sensing. By combining the global context of Transformers with the efficiency of CNNs, it provides a robust solution for high-resolution change detection. Future work will focus on optimizing the selective scan operation to reduce real-world inference time, further bridging the gap between theoretical efficiency and practical deployment.

Summary updated

BibTeX
@inproceedings{paranjape2025mamba,
  author = {Jay N. Paranjape and Celso de Melo and Vishal M. Patel},
  title = {{A Mamba-Based Siamese Network for Remote Sensing Change Detection}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00123},
}
Figure