Advancing Weakly-Supervised Change Detection in Satellite Images via Adversarial Class Prompting

Zhenghui Zhao, Chen Wu, Di Wang, Hongruixuan Chen, Cuiqun Chen, Zhuo Zheng, Bo Du, Liangpei Zhang · DOI

TL;DR

This paper introduces Adversarial Class Prompting (AdvCP), a novel method to improve Weakly-Supervised Change Detection (WSCD) in satellite imagery. AdvCP tackles the challenge of distinguishing actual object changes from background variations by using adversarial prompts on "unchanged" scenes to expose and then rectify these noisy samples, leading to significant performance gains.

What Problem Does This Paper Address?

Change Detection (CD) in satellite imagery is crucial for applications like urban planning and disaster monitoring. However, obtaining pixel-level annotations for training CD models is extremely labor-intensive. Weakly-Supervised Change Detection (WSCD) aims to reduce this burden by using only image-level labels (e.g., "changed" or "unchanged" for the entire image). The core problem addressed here is that image-level supervision is often insufficient to distinguish genuine object changes from natural background variations (like lighting, weather, or seasonal shifts) that also occur within a "changed" scene. These background variations can be mistakenly identified as object changes, leading to inaccurate predictions. Existing WSCD methods, even those leveraging powerful models like SAM, struggle with this "co-occurring noise."

Methods

The proposed AdvCP method has two main phases:

  1. Adversarial Prompt Mining: After each training iteration, AdvCP introduces adversarial perturbations. It takes images labeled as "unchanged" and temporarily assigns them a "changed" label. This "incorrect" label prompts the model to generate "adversarial-activated localizations," which effectively highlight the background variations that are easily confused with actual changes. This process essentially "teaches" the model to recognize these noisy samples.
  2. Adversarial Sample Rectification: The adversarially identified "noisy" pixels are then used to improve the model's robustness. An "online global prototype" is constructed using an exponentially weighted moving average of features from the current batch and all historical training data. This prototype acts as an unbiased anchor. The AdvCP loss function then guides the adversarial pixels (identified as background noise) to cluster around this global "unchanged" prototype, pushing them away from the "changed" class and improving the model's ability to differentiate true changes. AdvCP is designed to be a plug-and-play module, requiring no changes to the underlying network architecture and adding no inference cost.

Datasets

The paper evaluates AdvCP on three widely used remote sensing change detection datasets:

  • WHU-CD: High-resolution aerial images.
  • LEVIR-CD: Large-scale building change detection dataset with high-resolution images.
  • DSIFN-CD: A cross-domain benchmark with diverse land-cover objects.

The paper also mentions experiments on COCO and PASCAL VOC datasets for extending AdvCP to multi-class scenarios.

Key Insights and Ideas

  • Leveraging "Unchanged" Scenes for Noise Mining: The core insight is that "unchanged" scenes, by definition, contain only background variations. By adversarially prompting these scenes, one can effectively isolate and learn from these difficult-to-distinguish noise samples.
  • Online Global Prototype as an Unbiased Anchor: Using an exponentially weighted moving average to create a global prototype provides a stable and representative "unchanged" feature center, crucial for rectifying noisy samples without being overly influenced by individual batch variations.
  • Plug-and-Play Robustness: The AdvCP method's ability to integrate seamlessly with various existing WSCD architectures (ConvNet, Transformer, SAM-based) without architectural modifications or inference overhead is a significant practical advantage.
  • Bridging the Gap Between Weak Supervision and Dense Prediction: AdvCP effectively bridges the gap by using image-level labels to guide pixel-level rectification, a common challenge in weakly supervised dense prediction tasks.

Key Results

AdvCP significantly enhances the performance of six baseline methods across the WHU-CD, LEVIR-CD, and DSIFN-CD datasets.

  • Quantitative Improvements: Notable improvements in F1 score, Overall Accuracy (OA), and Intersection over Union (IoU) are reported. For example, when combined with the SAM-based S2C baseline, AdvCP achieved up to +3.52% F1 score improvement on WHU-CD, +2.12% on LEVIR-CD, and +2.49% on DSIFN-CD. When applied to TransWCD, AdvCP yielded improvements of up to +5.72% F1 on WHU-CD, +5.95% on LEVIR-CD, and +5.26% on DSIFN-CD.
  • Qualitative Improvements: Visualizations (Figs. 7-11) demonstrate that AdvCP effectively reduces false positives (erroneous changed pixels) and false negatives (erroneous unchanged pixels), leading to cleaner and more accurate change localization maps. It also improves the discriminative boundary between changed and unchanged features in the latent space.
  • Generalizability: AdvCP shows effectiveness not only in WSCD but also when extended to fully-supervised change detection and multi-class weakly-supervised dense prediction tasks.

Limitations and Future Work

  • Computational Overhead: While AdvCP adds minimal overhead during training, it does increase training time slightly (e.g., 0.03-0.04 minutes per 100 iterations for TransWCD) and GPU memory.
  • Impact Factor Tuning: The optimal impact factor ($\alpha$) for the AdvCP loss needs to be tuned for different datasets and baselines, though the paper provides recommended values.
  • Future Work: The paper suggests further evaluations for broader applicability and explores extending the framework to other multi-class weakly-supervised dense prediction scenarios. The authors also highlight the potential of their method for applications demanding high accuracy in change detection.

Summary updated

BibTeX
@article{zhao2025advancing,
  author = {Zhenghui Zhao and Chen Wu and Di Wang and Hongruixuan Chen and Cuiqun Chen and Zhuo Zheng and Bo Du and Liangpei Zhang},
  title = {{Advancing Weakly-Supervised Change Detection in Satellite Images via Adversarial Class Prompting}},
  journal = {IEEE Trans. Image Process.},
  year = {2025},
  url = {https://openreview.net/forum?id=6XMkibJl18},
}
Figure