Self-guided Semantic Inspection for Zero-Shot Composed Image Retrieval

Jing-Jing Zhang, Lei Zhang, Zheren Fu, Bo Hu, Zhen-Dong Mao
1/1/2026

No official code found. Best implementation: Orange1999/DiffComp (3 stars, MIT, last commit 2026-03-08).

Abstract

Zero-Shot Composed Image Retrieval (ZS-CIR) aims to retrieve target images using a composed query of a reference image and a textual modification, without relying on triplet-based supervision. As the two inputs describe related but semantically unaligned information, the key challenge lies in interpreting their cross-modal discrepancy to infer the user's intended semantic modification.

Show full abstract

Existing ZS-CIR methods mainly adopt a consistency-driven paradigm, training on semantically aligned image-text pairs with alignment or reconstruction objectives. This paradigm enforces cross-modal agreement but overlooks the semantic discrepancies between modalities that naturally arise during inference. To address this issue, we propose DiffComp (Differentiate-then-Compose), a difference-driven self-supervised framework that actively induces and exploits cross-modal discrepancies during training. It stimulates the model to perceive and reconcile semantic differences across visual and textual modalities, thereby improving consistency between training and inference. The framework consists of three components: Contextual Semantic Super-patches that provide localized and coherent visual representations for downstream perception and composition; Phrase-guided Masking that selectively removes text-aligned visual cues to induce controlled cross-modal discrepancies; and Difference-aware Composition that adaptively integrates visual and textual features according to their degree of semantic difference. Extensive experiments on four ZS-CIR benchmarks show that DiffComp achieves state-of-the-art performance and strong generalization. Our code will be released at https://github.com/Orange1999/DiffComp.

Semantic Scholar

Code Implementations(1)

MIT

Official code for "Self-guided Semantic Inspection for Zero-Shot Composed Image Retrieval" (CVPR 2026).

30Mar 8, 20268 months agoMIT

Similar Papers

Cite this paper

@article{zhang2026selfguided,
  title  = {Self-guided Semantic Inspection for Zero-Shot Composed Image Retrieval},
  author = {Jing-Jing Zhang and Lei Zhang and Zheren Fu and Bo Hu and Zhen-Dong Mao},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:3dc31e31134bef59037ab24d1d7af73f0b9be5d0},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/3dc31e31134bef59037ab24d1d7af73f0b9be5d0.svg)](https://codeofpaper.com/paper/3dc31e31134bef59037ab24d1d7af73f0b9be5d0)

Discussion