Skip to content
Book Open access

Prompt Contamination in Realistic Universal Cross-Domain Retrieval: Diagnosis and Text-Guided Rectification

Nov 2026 · Proceedings of the 35th ACM International Conference on Information and Knowledge Management · 0 citations · 42 references

Abstract

Universal Cross-Domain Retrieval (UCDR) requires models to generalize to unseen domains and unseen categories at inference time. Recent prompt-learning methods for vision--language models have achieved strong performance on object-centric benchmarks, yet their behavior under cluttered multi-object scenes remains under-explored. In such scenes, co-occurring objects can act as contextual distractors and induce prompt contamination: visually salient distractors may dominate the candidate tokens used for instance-adaptive prompt generation, causing retrieval representations to drift away from the designated primary target. To diagnose this gap, we construct DomainCOCO, a Realistic UCDR benchmark with 180,000 images across six domains, where each sample contains a designated primary category and contextual distractors. DomainCOCO is intended as a controlled diagnostic benchmark for studying target-aware retrieval under multi-object clutter and stylized domain shifts. We further provide Text-Guided Rectification Network (TGR-Net), a practical rectification baseline that uses text embeddings as semantic guidance to re-weight patch-level visual evidence before prompt generation. Its Candidate Prompt Purification (CPP) module reduces distractor-dominated prompt synthesis, while a teacher--student strategy with a learnable null token enables label-free inference. Multi-scale feature fusion and gallery-side refinement are used as optional inference components for accuracy-oriented deployment. Experiments on DomainNet and DomainCOCO show that TGR-Net provides consistent gains over strong CLIP-based baselines, with larger gains in the more cluttered DomainCOCO setting. Code is available at https://github.com/YUEcjy13/TGR-Net.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.