Abstract
Weakly-supervised change detection (WSCD) addresses the high cost of pixel-level annotations by training models using only binary image-level labels. However, current WSCD approaches often struggle with consistency issues, namely "change fabricating" in unchanged regions and "change missing" in changed regions. We present TransWCD-DL, a novel transformer-based framework that integrates logical priors into the architecture and loss functions. By employing a Dilated Prior (DP) decoder for global-scale consistency and a Label Gated (LG) constraint for local-scale verification, TransWCD-DL achieves state-of-the-art results on major benchmarks, significantly narrowing the gap with—and in some cases surpassing—fully-supervised models.
Introduction
Change detection (CD) is a critical task in remote sensing, involving the identification of pixel-level differences between multi-temporal images. While fully-supervised methods have reached high accuracy, they rely on labor-intensive pixel-level masks. Weakly-supervised change detection (WSCD) offers a more scalable alternative by utilizing image-level labels (e.g., "Changed" vs. "Unchanged").
Despite its promise, WSCD faces two primary challenges:
- Change Fabricating: Predicting changes in regions where the image-level label indicates no change.
- Change Missing: Failing to detect changes when the image-level label indicates a change has occurred.
Methodology: TransWCD-DL
The proposed TransWCD-DL framework introduces three core components designed to enforce logical consistency between image-level labels and pixel-level predictions.
1. TransWCD Backbone
The architecture utilizes a hierarchical transformer encoder (MiT-B1) to capture multi-scale context efficiently. Unlike traditional convolutional networks, this transformer-based approach achieves superior performance with lower computational overhead. Initial change masks are generated using multi-scale Class Activation Maps (CAMs), which are particularly effective for binary change detection tasks as they tend to cover entire objects more reliably than in multi-class segmentation.
2. Dilated Prior (DP) Decoder
The DP decoder incorporates a global-scale prior. When an image pair is labeled "Unchanged," the decoder bypasses complex feature processing to output an all-zero mask, directly eliminating "change fabricating" errors. For "Changed" pairs, it employs dilated convolutions to aggregate broader spatial context, ensuring the detected changes are spatially coherent.
3. Label Gated (LG) Constraint
The LG constraint serves as a local-scale prior implemented within the loss function. It acts as a "sanity check" by penalizing the model if its pixel-level predictions contradict the image-level label. For instance, if the label is "Changed" but the model predicts no changed pixels, the LG constraint triggers a heavy penalty, forcing the model to identify the missing changes.
Experiments and Results
The model was evaluated on three benchmark datasets: WHU-CD, LEVIR-CD, and DSIFN-CD. To adapt these for WSCD, image-level labels were derived from the original pixel-level masks.
Performance Gains
TransWCD-DL established new state-of-the-art benchmarks:
- WHU-CD: Achieved an F1 score of 71.95%, representing a +9.55% improvement over the previous best method (BGMix).
- Competitive with Full Supervision: On the WHU-CD dataset, TransWCD-DL outperformed several fully-supervised baselines, such as FC-Siam-Di and FC-EF, demonstrating the effectiveness of its logical priors.
Efficiency and Qualitative Impact
Visual analysis confirms that the DP decoder and LG constraint effectively suppress noise in unchanged regions and fill in gaps within changed objects. Furthermore, the use of a hierarchical transformer allows the model to maintain high performance with fewer parameters and lower FLOPs compared to standard ConvNet-based WSCD methods.
Conclusion
TransWCD-DL demonstrates that explicitly encoding logical priors into deep learning architectures can significantly enhance weakly-supervised tasks. By addressing "change fabricating" and "change missing" through global and local scale constraints, the model achieves performance levels previously reserved for fully-supervised systems. Future work will focus on improving boundary precision and the detection of very small-scale changes.
Summary updated