Adapting SAM via Cross-Entropy Masking for Class Imbalance in Remote Sensing Change Detection
Adapting SAM via Cross-Entropy Masking for Class Imbalance in Remote Sensing Change Detection
Foundational models have achieved significant success in diverse domains of computer vision. They learn general representations that are easily transferable to tasks not seen during training. One such foundational model is Segment anything model (SAM), which can accurately segment objects in images. We propose adapting the SAM encoder via fine-tuning for remote sensing change detection (RSCD) along with spatial-temporal feature enhancement (STFE) and multi-scale decoder fusion (MSDF) to detect changes robustly at multiple scales. Additionally, we propose a novel cross-entropy masking (CEM) loss to handle high class imbalance in change detection datasets. Our method outperforms state-of-the-art (SOTA) methods on four change detection datasets, Levir-CD, WHU-CD, CLCD, and S2Looking. We achieved 2.5% F1-score improvement on a large complex S2Looking dataset. The code is available at: https://github.com/humza909/SAM-CEM-CD
Humza Naveed、Xina Zeng、Mitch Bryson、Nagita Mehrseresht
遥感技术
Humza Naveed,Xina Zeng,Mitch Bryson,Nagita Mehrseresht.Adapting SAM via Cross-Entropy Masking for Class Imbalance in Remote Sensing Change Detection[EB/OL].(2025-08-14)[2025-08-24].https://arxiv.org/abs/2508.10568.点此复制
评论