Image Difference Grounding with Natural Language

Wenxuan Wang, Zijia Zhao, Yisi Zhang, Yepeng Tang, Erdong Hu, Xinlong Wang, Jing LiuarXiv 2025 · DOI

Introduction

Traditional Visual Grounding (VG) is typically a single-image task: given an image and a text query (e.g., "the red chair"), a model must locate the corresponding object. However, many real-world applications—from medical diagnostics to surveillance—require comparing two images to identify specific changes.

Existing approaches like Visual Change Detection (VCD) identify all differences but lack linguistic understanding, while Image Difference Captioning (IDC) describes changes in text but cannot provide precise spatial localization. To bridge this "critical gap," researchers have introduced Image Difference Grounding (IDG), a task requiring AI to precisely locate visual changes between two similar images based on a natural language query.

Comparison of IDG with related tasks and illustration of the three change patterns: Appearance, Replace, and Remove.

The DiffGround Dataset

To support this new task, the authors developed DiffGround, the first large-scale benchmark for IDG. The dataset consists of 61,000 image pairs and 244,000 instruction-annotation pairs, covering over 13,000 object categories.

DiffGround focuses on three primary change patterns:

  • Appearance: Subtle changes, such as an object changing color or texture.
  • Replace: Coarse changes where one object is substituted for another.
  • Remove: Presence/absence changes where an object is added or deleted.

The queries in DiffGround are often "implicit," meaning they don't always name the object directly (e.g., "Which object appears in the second image and is completely absent in the first?"). This design forces models to perform actual cross-image comparison rather than relying on standard object detection.

DiffTracker: Enhancing Differences

A significant hurdle in IDG is the "Commonality Problem": models are often distracted by the 95% of the image that remains unchanged. The authors proposed DiffTracker, a baseline architecture designed to overcome this by explicitly modeling difference enhancement.

At the heart of DiffTracker is the Difference Enhancement Module (DEM). Integrated into a differential vision backbone, the DEM uses cross-attention to calculate "Difference Maps" and "Commonality Maps." It then mathematically amplifies unique features while actively suppressing shared background features. These refined features are then fed into a Transformer-based encoder-decoder to predict the final bounding box.

Key Results and Performance

The researchers compared DiffTracker against state-of-the-art (SOTA) vision-language models like Qwen-VL and MDETR. The results highlighted the difficulty of the IDG task:

  • Zero-Shot Performance: General-purpose models struggled significantly, with Qwen2-VL achieving only a 9.5% AP@50.
  • Fine-Tuning: While fine-tuning on DiffGround improved Qwen-VL to 39.9%, it still lagged behind the specialized architecture.
  • DiffTracker Superiority: The proposed DiffTracker model achieved 65.4% AP@50, demonstrating that early-stage difference enhancement is crucial for filtering out visual noise.

Conclusion and Future Work

Image Difference Grounding introduces a new dimension to visual reasoning by combining fine-grained spatial localization with cross-image comparison. While DiffTracker sets a strong baseline, the authors note that future work should aim to bridge the gap between synthetic and real-world data and explore multi-modal outputs that both point to and explain visual changes in a conversational manner.

Summary updated

BibTeX
@misc{wang2025image,
  author = {Wenxuan Wang and Zijia Zhao and Yisi Zhang and Yepeng Tang and Erdong Hu and Xinlong Wang and Jing Liu},
  title = {{Image Difference Grounding with Natural Language}},
  year = {2025},
  eprint = {2504.01952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.01952},
}
Figure