Abstract
Change detection (CD) in remote sensing traditionally relies on Siamese networks that process image pairs independently before final fusion. This paper introduces MASNet, which incorporates a mutual-attention plug-in to allow feature extraction branches to exchange information throughout the encoding process. By enabling the network to "peek" at the second image while processing the first, MASNet achieves state-of-the-art (SOTA) results on major benchmarks using both CNN and Transformer backbones.
Introduction
The standard approach to change detection involves identifying pixel-level differences between two images of the same geographical area taken at different times. Vanilla Siamese networks utilize two identical, independent branches for feature extraction. However, this independent processing is fundamentally limited; unlike humans, who look back and forth between images to identify relevant changes, these networks extract features in a vacuum. This often leads to the inclusion of irrelevant noise and less discriminative feature maps.
Methodology
The MASNet Architecture
The core innovation of MASNet is the integration of Mutual-Attention Blocks as plug-and-play modules inserted after every feature extraction stage in a backbone. This architecture bridges the gap between "Early-Fusion" (which lacks context in shallow layers) and standard "Siamese" approaches (which lack communication).
Mutual-Attention Mechanism
Inspired by the cross-attention mechanism in Transformers, the mutual-attention block reweights the features of one branch using information from the other. As shown in the detailed diagram below, the Query from one branch is multiplied by the Key of the opposite branch to determine feature relevance. This process is symmetric, occurring in both directions simultaneously to ensure mutual information exchange.
To maintain computational efficiency, the authors utilize individual-level mutual attention, focusing on pixel-to-pixel exchange between co-registered locations rather than global spatial attention. This design allows the module to function as a versatile plug-in for various architectures, including HRNet-OCR (CNN) and Segformer (Transformer).
Experimental Results
Datasets
The model was evaluated on two primary remote sensing benchmarks:
- LEVIR-CD: A large-scale building change dataset containing 637 high-resolution image pairs.
- SECOND: A dataset covering 4,662 image pairs, converted into a binary change detection task for this study.
Performance Metrics
MASNet consistently outperformed vanilla Siamese counterparts and previous SOTA models:
- LEVIR-CD: Using an HRNet-OCR backbone, MASNet achieved a 92.62% F1 score and 86.26% IoU, surpassing models like FCCDN and ChangeStar.
- SECOND: For the Segformer backbone, the mean IoU (mIoU) increased from 51.73% to 55.27%, representing a significant 3.54% gain attributed solely to the mutual-attention plug-in.
Key Insights and Discussion
- Feature Filtering: Mutual-attention maps act as a filter, highlighting high-priority changes (e.g., new buildings) while helping the network ignore "pseudo-changes" such as shadows or seasonal lighting variations.
- Backbone Agnostic: Performance gains were consistent across different architectural types, suggesting that inter-branch communication is a fundamental requirement for effective change detection.
- Robustness: The authors observed high architectural stability, noting that even the lowest-performing MASNet configuration outperformed the best vanilla Siamese models.
Limitations and Future Work
While MASNet demonstrates clear advantages, adding multiple attention blocks increases parameter counts by approximately 1.82% to 2.38%. Future research may explore more efficient communication structures to achieve similar gains with zero additional parameters. Additionally, while the current model relies on co-registered pixels, future iterations could better handle spatial misalignments between image pairs.
Summary updated