4.1. Datasets and Evaluation Metrics
To systematically evaluate the generalization and robustness of BCNet across different resolutions, land cover types, and dataset scales, we conduct experiments on four representative remote sensing change detection benchmark datasets: LEVIR-CD [
30], WHU-CD [
31], NJDS [
32], and MSRS-CD [
33]. To meet network input requirements and increase sample diversity, all images are cropped into non-overlapping
patches and randomly split into training, validation, and test sets with a ratio of 7:1:2. The detailed characteristics of each dataset are as follows:
LEVIR-CD [
30]: These dataset focuses on long-term building change detection. It contains 637 pairs of bi-temporal images with a spatial resolution of 0.5 m, spanning 16 years (2002–2018). The images cover various complex building instances in Texas, USA, such as high-rise apartments, villas, and garages. The main challenges include differences in illumination conditions and diverse building textures.
WHU-CD [
31]: Derived from post-disaster reconstruction scenes in Christchurch, New Zealand, these dataset consists of ultra-large images with a resolution of 0.2 m (32,207 × 15,354 pixels). It contains changes for over 12,000 buildings, providing extremely high spatial resolution and clear boundary textures, making it an ideal benchmark for evaluating model boundary segmentation accuracy.
NJDS [
32]: These dataset records urban updates in Nanjing from 2014 to 2018. As a typical small-to-medium scale dataset, NJDS contains diverse examples of high-, mid-, and low-rise building changes. Due to its limited sample size, it is particularly suitable for assessing a model’s feature learning capability and generalization potential under small-sample scenarios.
MSRS-CD [
33]: As a recently released large-scale dataset, MSRS-CD comprises 841 image pairs collected from multiple cities in southern China. The scenes are highly complex, including newly constructed and demolished buildings, suburban expansion, vegetation succession, and road construction. It provides a comprehensive testbed for evaluating model performance in real-world, multi-scale, and multi-category change detection tasks.
To quantitatively evaluate model performance, five mainstream evaluation metrics are adopted in this work, including Precision (P), Recall (R), Intersection over Union (IoU), Overall Accuracy (OA), and F1-score. The corresponding mathematical formulations are illustrated in Equations (15)–(19), where TP, TN, FP, and FN represent the quantities of true positive, true negative, false positive, and false negative samples, respectively.
4.3. Comparison with State-of-the-Art Methods
To objectively evaluate the performance of BCNet, we compare it against 13 current state-of-the-art (SOTA) methods. According to their technical paradigms, these methods are categorized into three groups: CNN-based methods, Transformer-based methods, and VFM-based methods.
CNN-based Methods: These methods primarily enhance performance by improving feature fusion strategies and introducing attention mechanisms.
FCCDN [
34]: Introduces non-local feature pyramids and self-supervised constraints to enhance feature space discriminability.
SGSLN [
35]: Proposes an interactive dual encoder-decoder architecture, using semantic guidance and spatial localization strategies to address intra-class variation.
AANet [
36]: Utilizes a fuzzy refinement module to locate hard-to-classify samples and incorporates weight rearrangement to improve adaptation to multi-scale targets.
SEIFNet [
37]: Constructs spatio-temporal difference enhancement modules and inter-layer fusion mechanisms to address pseudo-change interference and scale inconsistency.
Transformer-based Methods: These methods leverage self-attention mechanisms to address the challenge of modeling long-range dependencies.
BiT [
15]: Pioneering work introducing Transformer into change detection, modeling bi-temporal spatio-temporal context via semantic tokens.
ChangeFormer [
14]: Employs a pure Transformer Siamese architecture with hierarchical encoding to capture multi-level long-range semantic dependencies.
VcT [
16]: Introduces Graph Neural Networks (GNNs) on top of visual Transformers to exploit contextual topological relations, enhancing detection accuracy.
EATDer [
38]: Combines adaptive Transformer blocks with an edge-aware decoder to jointly optimize spatio-temporal modeling and boundary detail recovery.
MDIPNet [
39]: Designs a multi-scale dual-space interaction mechanism to balance computational cost and semantic information utilization.
VFM-based Methods: These methods explore how to transfer general knowledge from large-scale pre-trained models to remote sensing tasks.
SAM-CD [
22]: Applies FastSAM to change detection and introduces convolutional adapters to aggregate task-specific change features.
BAN [
21]: Uses bi-temporal adaptation branches and bridging modules to effectively transfer frozen CLIP knowledge to the change detection domain.
TTP [
6]: Employs the Time-Traveling Pixels strategy to introduce SAM’s latent knowledge into temporal evolution modeling.
SFCD [
23]: A fine-tuning framework specifically designed for remote sensing, combining feature interaction and boundary loss to enhance SAM’s perception of fine-grained changes.
Table 1 presents the quantitative comparison of BCNet with multiple state-of-the-art methods on the LEVIR-CD dataset. The experimental results demonstrate that BCNet achieves the best performance across three core metrics: F1-score (F1), Intersection over Union (IoU), and Overall Accuracy (OA), with values of 92.54%, 86.11%, and 99.25%, respectively. Compared to the current best-performing VFM-based method, SFCD, BCNet improves F1 and IoU by 0.21% and 0.36%, indicating superior discrimination of change regions and better spatial overlap consistency. Benefiting from comprehensive multi-scale change feature modeling and the effective introduction of edge feature constraints, BCNet maintains a high Precision (93.40%) while achieving a stable Recall (91.69%), effectively reducing both false positives and false negatives. These results fully validate the robustness and superiority of the proposed method in high-resolution building change detection tasks. Furthermore,
Figure 6 shows the qualitative inference results of different algorithms on the LEVIR-CD dataset. As illustrated in
Figure 6a,b, in complex scenarios with densely distributed buildings, BCNet significantly reduces false positives and false negatives while maintaining clearer and more continuous change boundaries, demonstrating strong scene robustness. Thanks to the MEEM that preserves low-level spatial contours, BCNet effectively reduces missing detections for minute changes while maintaining structural integrity for large-scale targets.
Figure 6c,d further shows that for single, small-scale building changes, BCNet not only accurately identifies change regions but also finely depicts boundary details, highlighting its advantage in fine-grained change detection. In
Figure 6e, BCNet demonstrates superior performance in large-scale change boundaries, producing more complete and clear change contours. Overall, BCNet exhibits excellent robustness, boundary fidelity, and detail perception in high-resolution remote sensing change detection.
Table 2 reports the quantitative comparison on the WHU-CD dataset. BCNet achieves the best performance across all five evaluation metrics, with F1-score and IoU reaching 92.07% and 85.31%, respectively, improving 0.71% and 1.21% over the second-best VFM-based method, TTP. Notably, BCNet maintains a high Precision of 97.29% while significantly improving Recall to 87.39%, effectively addressing the challenge of internal voids in large buildings present in high-resolution imagery. As shown in
Figure 7a, the generated change maps are uniformly filled, ensuring high boundary closure.
Figure 7b,c demonstrates that in densely distributed building areas, BCNet clearly separates adjacent objects and accurately delineates building clusters.
Figure 7d highlights its high sensitivity to small individual buildings, while
Figure 7e shows that BCNet effectively avoids misclassifying non-building changes such as containers or vehicles, demonstrating strong class discrimination and scene adaptability.
Table 3 presents the performance comparison on the NJDS dataset, which features a small sample size, diverse building types, and uneven change distributions, imposing higher requirements on model generalization and change sensitivity under limited data. BCNet achieves overall optimal performance on these datasets, significantly outperforming comparison methods in F1-score, IoU, and OA. Specifically, BCNet attains an F1-score of 79.75%, an IoU of 65.87%, and OA of 98.12%, improving 6.33% and 5.38% in F1 and IoU over the second-best VFM-based method, SAMCD.
Figure 8 further visualizes the detection results, showing that even under limited training data, BCNet consistently identifies changes of varying building sizes with clear boundaries and intact structures, validating the effectiveness of the proposed DDEM and edge feature constraint mechanisms in enhancing model generalization.
The SOTA comparison results on the MSRS-CD dataset are summarized in
Table 4. BCNet achieves the best overall performance, with F1-score, IoU, and OA reaching 79.60%, 65.75%, and 94.67%, respectively, significantly outperforming other methods. Compared to the current top-performing VFM-based method TTP, BCNet improves F1 and IoU by 0.63% and 0.50%, with OA increasing by 0.97%, indicating stronger overall prediction accuracy and spatial consistency in change regions. The qualitative results in
Figure 9a–d further confirm BCNet’s boundary delineation capability in complex scenes, accurately and continuously depicting change boundaries while reducing missed detections, especially for slender or irregular targets.
Figure 9e highlights BCNet’s advantage in detecting large-scale change regions, demonstrating its robustness and generalization capability in complex multi-scale change scenarios. It is worth noting that while benchmark datasets such as LEVIR-CD and WHU-CD primarily evaluate building change detection, the MSRS-CD dataset contains diverse change classes including roads, vegetation, and land cover. BCNet’s consistent superiority across all four datasets highlights that the proposed edge-constrained mechanism is not restricted to rigid building boundaries but generalizes effectively to arbitrary multi-class change targets with complex geometric contours.
4.4. Model Complexity Analysis
To comprehensively evaluate the efficiency and practicality of the proposed method,
Table 5 presents a detailed comparison of complexity and performance for different change detection methods on the LEVIR-CD dataset in terms of F1 score, IoU, FLOPs, Parameters (Params), and Inference time. It is worth noting that this paper consistently uses the Torch-OpCounter library to evaluate the models’ FLOPs and parameters. To ensure fairness in the comparative experiments, ‘input size’ is set to [(3, 256, 256), (3, 256, 256)], ‘batch size’ is set to 1, and ‘device’ is set to ‘cpu’.
The results show that BCNet achieves an F1 score of 92.54% and an IoU of 86.11% while maintaining a favorable balance between computational cost and model size. Specifically, BCNet requires 44.79 G FLOPs and contains 48.65 M parameters. Compared with other VFM-based methods, its parameter count is significantly lower than BAN’s 80.30 M, and its computational overhead is substantially lower than TTP’s 51.06 G FLOPs and SFCD’s 52.14 G FLOPs. Although BCNet’s computational cost is higher than lightweight models such as BIT (8.75 G FLOPs and 3.04 M parameters), the performance gain far outweighs the increase in complexity. For example, compared to BIT’s F1 score of 89.94%, BCNet improves by 2.6%, demonstrating a high efficiency-to-performance ratio. Notably, some high-parameter models, such as SEIFNet and MDIPNet, do not achieve corresponding performance gains, with their F1 and IoU scores falling behind BCNet. This indicates that simply increasing model capacity is not an effective strategy for improving detection accuracy.
In contrast, BCNet leverages parameter-efficient boundary-aware module designs and edge feature constraint strategies, fully exploiting SAM’s semantic priors while avoiding redundancy introduced by full-parameter fine-tuning. This achieves a superior balance between performance improvement and complexity control.
In summary, BCNet demonstrates leading accuracy and efficiency trade-offs among VFMs-based methods. It not only surpasses existing SOTA performance but also offers practical feasibility for deployment, making it particularly suitable for remote sensing change detection applications with strict accuracy and efficiency requirements.
4.5. Ablation Study
4.5.1. Ablation of Different Modules
To systematically verify the contribution of each core module to the overall performance, we conducted ablation experiments on two representative datasets, LEVIR-CD and MSRS-CD. As shown in
Table 6, we evaluated the individual and joint effects of the Difference-Detail Enhancement Module (DDEM), Multi-scale Edge Enhancement Module (MEEM), and Edge Feature Aggregation Module (EFAM).
Under the baseline setting without any additional modules, where change features are computed using only the conventional absolute difference, the model achieves limited performance on both datasets. The F1 scores on LEVIR-CD and MSRS-CD are 85.37% and 72.46%, respectively, and the IoU scores are 76.65% and 56.26%. This indicates that relying solely on basic semantic features is insufficient for complex change scenarios, especially in MSRS-CD, which contains multi-class and multi-scale changes.
Introducing DDEM alone significantly improves performance. On LEVIR-CD, F1 increases to 90.65% and IoU to 82.86%, while on MSRS-CD, F1 and IoU reach 74.54% and 59.66%, respectively. These results demonstrate that explicit difference modeling effectively enhances the model’s discriminability for changes across two temporal images, particularly in suppressing interference from temporally consistent regions.
When MEEM was introduced on its own, the model also achieved significant improvements. Compared to the baseline model, the F1 score and IoU on the LEVIR-CD dataset increased to 91.02% and 83.55%, respectively, while the F1 score and IoU on the MSRS-CD dataset reached 75.65% and 60.73%. This indicates that multi-scale edge modeling plays a crucial role in enhancing boundary representation and improving detection accuracy in areas with complex structures.
Similarly, introducing EFAM alone results in clear performance improvements over the baseline. On LEVIR-CD, F1 and IoU are 90.66% and 82.94%, and on MSRS-CD, 75.44% and 60.58%. This indicates that the feedback of edge information into the change features effectively strengthens spatial constraints, improving boundary consistency in predictions.
When DDEM, MEEM, and EFAM are simultaneously incorporated, the model achieves optimal performance on both datasets. LEVIR-CD F1 and IoU reach 92.54% and 86.11%, while MSRS-CD F1 and IoU increase to 79.60% and 65.75%. Compared with single-module configurations, the multi-module synergy produces more significant performance gains, confirming the functional complementarity of each module: DDEM highlights change-specific features, MEEM reinforces multi-scale boundary information, and EFAM effectively feeds edge features back into the change prediction process. Their combined effect comprehensively enhances both change discriminability and boundary delineation.
In summary, the ablation study fully demonstrates the necessity and synergistic benefit of each module, which are key factors for improving performance in complex remote sensing change detection scenarios.
To validate the effectiveness of the VFM, we replace the SAM-Large backbone with a ResNet-50 pretrained on ImageNet-1k. As shown in
Table 7, the model utilizing the SAM-Large backbone outperforms the ResNet-50 baseline, achieving a 3.12% higher F1-score and a 5.25% higher IoU. These results demonstrate the superior feature representation capability of VFMs pretrained on large-scale datasets like SA-1B.
4.5.2. Ablation Study of Edge Feature Constraint Strategy
To systematically verify the effectiveness of the Edge Feature Constraint Strategy (EFCS) for boosting boundary positioning precision and detection performance, an ablation baseline is established by removing the EFCS module, namely discarding the edge detection branch and its corresponding loss terms. Comparative experiments between this baseline and the complete BCNet are conducted on the LEVIR-CD and MSRS-CD datasets, and quantitative results are listed in
Table 8. As indicated by the experimental data, the exclusion of EFCS brings evident performance degeneration. On the LEVIR-CD dataset, the F1-score and IoU decline by 1.22% and 2.00%, respectively. More pronouncedly, on the complex MSRS-CD dataset, the absence of edge feature constraints causes the F1 score and IoU to drop sharply by 4.02% and 5.05%. This substantial performance degradation clearly demonstrates that relying solely on semantic features is insufficient for precise change localization in complex scenarios. In contrast, EFCS introduces explicit geometric supervision, forcing the model to focus on the edge structures of change regions, effectively suppressing boundary blurring and adhesion, and thus plays a key role in improving model robustness.
Furthermore, to analyze the impact of different edge generation strategies within EFCS on overall performance, we conducted comparative experiments using various Edge Generators, including Canny [
27], Sobel [
40], Laplacian [
41], and the method proposed in this work. The results are reported in
Table 9. The experiments show that edge generation based on traditional operators can improve performance to some extent, but the overall effect remains slightly lower than our proposed method. Among traditional operators, Canny and Laplacian achieve relatively better results on both LEVIR-CD and MSRS-CD, whereas Sobel provides limited improvement. In contrast, our method employs Gaussian smoothing to suppress noise and incorporates dilation to enhance edge continuity and width, constructing robust labels with a tolerance margin. This enables the model to achieve the optimal IoU scores of 86.11% and 65.75% on LEVIR-CD and MSRS-CD, respectively.
These results indicate that the proposed edge generation strategy better aligns with the requirements of change detection tasks, producing edge features that are more continuous, complete, and consistent with true change boundaries.
Figure 10 provides a visual comparison of different edge generators. It can be observed that edges generated by Sobel and Laplacian contain many discontinuities and background noise. The standard Canny operator produces accurately located but discontinuous edges. In contrast, the edges generated by our method are structurally complete and continuous, effectively eliminating artifacts and providing the most accurate and stable boundary supervision signals for the model.
To further investigate the influence of the balancing factor
in EFCS, we conducted a parameter sensitivity analysis by assigning different values to
. The experiments were performed on the LEVIR-CD and MSRS-CD datasets, and the results are reported in
Table 10. The model performance first improves and then declines as
increases. Specifically, when
is set to 0.3, the proposed method achieves the best performance on both datasets, obtaining an F1 score of 92.54% and an IoU of 86.11% on LEVIR-CD, as well as an F1 score of 79.60% and an IoU of 65.75% on MSRS-CD. When
is smaller (e.g., 0.1 or 0.2), the enhancement effect of EFCS is insufficient, leading to suboptimal feature representation. Conversely, when
exceeds 0.3, excessive emphasis on EFCS gradually weakens the balance between semantic and boundary information, resulting in a decline in detection performance, particularly on the more challenging MSRS-CD dataset. These results demonstrate that
provides the best trade-off between feature enhancement and information preservation and is therefore adopted in all subsequent experiments.