The Change You Want to See

Ragav Sachdeva, Andrew Zisserman · DOI

Abstract

Detecting object-level changes between image pairs is a classic computer vision challenge, often complicated by variations in viewpoint and lighting. This paper presents a robust deep learning approach that utilizes a Siamese neural network with co-attention to implicitly align images and detect changes as bounding boxes. By leveraging a massive synthetic dataset generated through image inpainting, the model demonstrates significant zero-shot generalization across diverse real-world scenarios.

Introduction

Change detection is a cornerstone of many computer vision applications, from monitoring urban development via satellite to medical diagnostic imaging. Despite its importance, the field faces two primary obstacles: nuisance variables and data scarcity. Real-world image pairs are rarely perfectly aligned; differences in camera angles and lighting conditions create noise that renders simple pixel-wise subtraction ineffective. Furthermore, manually annotating changes is labor-intensive, often requiring hours of human effort for a single pair.

To address these issues, this research shifts the focus from pixel-level segmentation to object-level detection. By framing change detection as predicting bounding boxes around altered objects, the task becomes more practical and robust for real-world applications where semantic changes are the primary concern.

Methodology

The Architecture

The proposed model architecture is a Siamese U-Net that employs a weight-sharing encoder (ResNet-50) to extract features from both the "before" and "after" images. The core innovation is the Co-Attention Module (COAM).

The proposed Siamese architecture featuring the Co-Attention Module (COAM) for implicit image alignment.

Rather than explicitly warping one image to match another, the COAM allows feature maps from both images to attend to each other. This mechanism implicitly handles image registration, enabling the network to find correspondences even under significant viewpoint shifts. The resulting refined features are then processed by a CenterNet detection head to predict bounding boxes for the identified changes.

The Training Strategy

To overcome the lack of labeled data, the authors developed a clever synthetic data generation engine using the COCO dataset.

The synthetic data generation pipeline using image inpainting to create "before and after" training pairs.

By applying a state-of-the-art inpainting model (LaMa) to remove objects from COCO images, they create realistic "before and after" pairs. To prevent the model from simply detecting inpainting artifacts, a strategy is employed where both images in a training pair may contain different inpainted regions. This forces the network to focus on actual semantic differences rather than technical noise or textures.

Evaluation and Results

The model was trained on 60,000 synthetic pairs and evaluated across four distinct datasets to test its robustness: COCO-Inpainted, Synthtext-Change (3D-aware text changes), VIRAT-STD (real-world surveillance), and Kubric-Change (3D synthetic data with camera motion).

Key findings include:

  • Zero-Shot Generalization: Despite being trained exclusively on synthetic data, the model achieved a 0.54 Average Precision (AP) on the real-world VIRAT-STD dataset.
  • Robustness to 3D Motion: On the Kubric dataset, which features complex parallax and depth, the model reached 0.76 AP, significantly outperforming traditional 2D alignment methods.
  • Impact of Co-Attention: Ablation studies confirmed the necessity of the COAM, which improved performance from 0.21 AP to 0.58 AP on affine-transformed test sets compared to models without attention.

Conclusion

This work demonstrates that combining co-attention with synthetic data generation via inpainting provides a powerful framework for object-level change detection. By moving away from explicit registration and pixel-level labels, the model achieves impressive results in complex, zero-shot environments. Future work may explore extending this approach to "stuff" (e.g., textures, vegetation) and improving the handling of dense, overlapping changes.

Summary updated

BibTeX
@inproceedings{sachdeva2023change,
  author = {Ragav Sachdeva and Andrew Zisserman},
  title = {{The Change You Want to See}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00398},
}
Figure