Abstract
Scene Change Detection (SCD) is a critical task in computer vision, yet existing models often struggle with generalization to unseen environments and lack temporal consistency. This paper presents GeSCF, a zero-shot framework that utilizes the internal feature facets of the Segment Anything Model (SAM) to achieve robust SCD without task-specific training. By correlating intermediate layer features and employing an adaptive skewness-based thresholding mechanism, GeSCF significantly outperforms state-of-the-art supervised models in cross-domain scenarios while ensuring perfect temporal consistency.
Introduction
Scene Change Detection (SCD) involves identifying meaningful semantic changes between two images of the same scene captured at different times. Despite high performance on specific benchmarks, current deep-learning models face two major hurdles: poor generalization and temporal inconsistency. When deployed in environments differing from their training data, performance often drops drastically. Furthermore, most models fail to produce identical change masks when the input order of the image pair is reversed. GeSCF addresses these issues by leveraging the zero-shot capabilities of the Segment Anything Model (SAM) to create a framework for "anything" SCD.
Methodology
The Generalizable Scene Change Detection Framework (GeSCF) extracts "internal knowledge" from a pre-trained SAM without additional fine-tuning. The framework consists of two primary stages: initial pseudo-mask generation and geometric-semantic mask matching.
Initial Pseudo-mask Generation
Researchers identified that the "Key" (K) facets within SAM’s intermediate Vision Transformer (ViT) layers are sensitive to semantic changes while remaining robust against lighting or seasonal variations. By correlating these features between image pairs, the system generates a raw similarity map. To binarize this map, GeSCF employs an adaptive thresholding algorithm based on the skewness of the similarity distribution, allowing the model to adjust its sensitivity to the specific context of the scene.
Geometric-Semantic Mask Matching
To refine the initial detection, GeSCF uses SAM’s mask decoder to propose object-level candidates. These candidates undergo two validation steps: Geometric Intersection Matching (GIM), which checks for overlap with the pseudo-mask, and Semantic Similarity Matching (SSM), which verifies if the semantic embedding of the object has truly changed between the two timeframes. Because the core correlation operation is commutative, the model is mathematically guaranteed to be temporally consistent.
Evaluation and Results
GeSCF was evaluated using the new GeSCD Benchmark protocol, which specifically measures cross-domain generalization and temporal consistency across standard datasets (VL-CMU-CD, TSUNAMI, ChangeSim) and a new, diverse dataset called ChangeVPR.
Key findings from the evaluation include:
- Zero-Shot Superiority: GeSCF outperformed supervised models by an average of 19.2% across all tested datasets, despite having no SCD-specific training.
- Unseen Domain Performance: On the ChangeVPR dataset, GeSCF achieved a 30.0% performance gain over previous state-of-the-art methods, effectively doubling the F1-score in many cross-domain scenarios.
- Perfect Temporal Consistency: Unlike existing models, GeSCF achieved a Temporal Consistency (TC) score of 1.0, ensuring stable results regardless of input order.
Conclusion
GeSCF demonstrates that large-scale pre-trained models like SAM contain rich internal representations that can be repurposed for specialized tasks like scene change detection. By prioritizing generalization and mathematical consistency, GeSCF provides a robust framework for real-world applications across urban, rural, and industrial landscapes. Future research will focus on improving computational efficiency for real-time use and exploring minimal user-prompt integration for complex environments.
Summary updated