TL;DR
Referred Visual Search (RVS) allows users to retrieve an isolated product from a catalog by supplying a multi-item scene image along with a referring cue (e.g., a category label or short text description). The authors introduce LRVS-Fashion, a public benchmark comprising 272k products and a 2M-distractor gallery, and show that a lightweight, end-to-end conditional Vision Transformer (CondViT) outperforms complex detection-and-cropping pipelines without needing explicit bounding-box annotations.
What Problem Does This Paper Address?
In visual fashion search, query images rarely contain just one item. A customer might upload a photo of a fully styled outfit, but they only want to find the boots or the handbag.
Historically, industrial pipelines tackle this ambiguity with multi-stage systems: run an object detector (or rely on manual user cropping), crop the region of interest, and feed the crop into a retrieval embedding network. However, two-stage pipelines are cumbersome, computationally expensive, and brittle—if the detector crops poorly or segmentation chops off context, retrieval fails permanently.
While related fields like Composed Image Retrieval (CIR) exist, they focus on modifying an image with instructions (e.g., "change color to blue"). This paper focuses on Referred Visual Search (RVS): isolating and retrieving an existing item from a complex scene using natural instructions, evaluated against a realistic catalog scale.
Methods
The authors propose an end-to-end, weakly supervised conditional retrieval framework called CondViT:
- Early Token Conditioning: Instead of cropping the image or merging embeddings with late fusion networks, the method prepends a single conditioning token directly to the patch sequence before the first layer of a Vision Transformer (initialized with CLIP).
- Categorical Conditioning: Uses a learned lookup embedding for discrete garment categories (adding just 7.7k parameters).
- Textual Conditioning: Uses pre-computed text embeddings from a Sentence T5-XL model for free-form phrases.
- Asymmetric Retrieval Design: Queries (complex scene + instruction) are encoded conditionally $\phi(x_q, c_q)$, while the gallery consists of isolated catalog product shots encoded unconditionally $\phi(x_t)$. This prevents the model from shortcutting visual search by simply matching conditioning tokens.
- Weak Supervision via InfoNCE: Models are trained using standard contrastive learning over paired scene-and-product images without ground-truth bounding boxes, segmentation masks, or local feature crops.
Query Image + "Outwear" ──► [Cond Token] + [Image Patches] ──► CondViT ──► Query Vector
▲
Cosine Similarity
▼
Gallery Item (Unconditional) ──► [Image Patches] ─────────────► CondViT ──► Target Vector
Datasets
The authors build and release LRVS-Fashion (LRVS-F), derived from fashion retailer content delivery networks in LAION-5B:
- Size: 272,451 products across 841,718 images (over 581k simple/complex pairs).
- Metadata: Cleaned via active learning and automated captioning (BLIP-2), classifying items into 10 clothing categories.
- Benchmark Evaluation: Evaluated on 2,000 held-out test products mixed into an expansive distractor gallery scaling up to 2,000,014 distractor images.
Key Insights and Ideas
- Attention Discards Clutter Better Than Hard Crops: Grounding DINO + SAM segmentation drops performance when masks cut off boundaries. In contrast, CondViT's full self-attention allows early layers to focus dynamically on the referred item while leveraging full contextual cues.
- Early Conditioning is Essential: Ablations show inserting the conditioning token at layers 1–8 performs significantly better than late insertion (layers 10–12). Residual connections allow the network to attend to the conditioning token whenever optimal.
- Minimal Parameters, Maximum Efficiency: CondViT matches or beats a detector pipeline (Grounding DINO-B + ViT) while introducing virtually zero overhead (7.7k extra parameters vs. 233M in DINO).
Key Results
Experiments evaluate top-1 recall (R@1) against up to 2 million distractors:
| Model Type | Model Architecture | R@1 (+10K Distractors) | R@1 (+2M Distractors) | Cat@1 (+2M) |
|---|---|---|---|---|
| Zero-Shot | CLIP ViT-B/16 | 23.9% | 4.8% | 63.3% |
| Zero-Shot | MagicLens (CLIP-L) | 52.2% | 7.5% | 95.1% |
| Detection-based | Gr. DINO-B + ViT-B/16 (Category) | 89.9% | 62.9% | 92.5% |
| Detection-based | Gr. DINO-B + ViT-B/16 (Caption) | 91.6% | 67.8% | 94.3% |
| Ours (Category) | CondViT-B/16 (Category) | 93.3% | 68.4% | 98.8% |
| Ours (Textual) | CondViT-B/16 (Caption) | 94.2% | 69.3% | 98.2% |
- Massive Distractor Robustness: Existing state-of-the-art generalist models like MagicLens collapsed under scale (from 52.2% at 10K distractors to 7.5% at 2M). CondViT-B/16 maintained 69.3% R@1.
- Outperforming CIR Baselines: Standard CIR combiner models like CoSMo (52.1%) and CLIP4CIR (59.1%) fell far behind CondViT on RVS, proving that image-editing formulations do not fit referred instance search.
Limitations and Future Work
- Not for Image Modification: The model acts strictly as a visual selector. If prompted to find a "red handbag" when the model is holding a green handbag, it retrieves the green handbag and ignores the color alteration.
- Sensitivity to Object Scale: Items covering less visual area (e.g., jewelry, belts, sunglasses) suffer lower recall (<20% R@1) compared to dominant items like coats or dresses (>80% R@1).
- Dataset Bias: Scraped from US/EU commercial retailers; roughly two-thirds of images feature female-presenting models, and styles reflect Western fashion trends.
Summary updated