TL;DR
This paper introduces a new task, Referring Expression Instance Retrieval (REIR), which combines image retrieval and object localization from natural language descriptions. They propose a novel dataset, REIRCOCO, and a strong end-to-end baseline model called CLARE, which achieves state-of-the-art performance on REIR and generalizes well to existing vision-language tasks.
What Problem Does This Paper Address?
Current vision-language tasks like Text-Image Retrieval (TIR) and Referring Expression Comprehension (REC) have limitations. TIR can find relevant images but not specific objects within them, while REC excels at localizing objects in a single image but struggles with large galleries. Real-world applications often require both: finding a specific object instance across a large collection of images and pinpointing its exact location. This gap necessitates a task that unifies instance-level retrieval and localization.
Methods
The authors introduce CLARE (Contrastive Language-Instance Alignment with Relation Experts), an end-to-end dual-stream model.
- Textual Branch: A text encoder processes the referring expression, and a novel Mix of Relation Experts (MORE) module refines the embedding to better capture semantic, spatial, and inter-object relationships.
- Visual Branch: An object extractor generates candidate object proposals and extracts their instance-level visual features.
- Alignment: A Contrastive Language-Instance Alignment (CLIA) module uses a contrastive learning objective (SigLIP loss) to align textual queries with object candidates across images, enabling simultaneous retrieval and localization.
- Training: CLARE is trained in two phases: initial grounding pretraining on detection and REC datasets, followed by REIR-specific finetuning on their new dataset.
Datasets
- REIRCOCO: A newly constructed large-scale dataset for REIR. It's built by prompting advanced vision-language models (GPT-4o) to generate high-quality, fine-grained referring expressions for instances in MSCOCO and RefCOCO datasets. A filtering stage (DeepSeek R1) ensures expression quality. It contains over 30,000 images and 200,000 annotated object instances.
- MSCOCO [29, 30]: Used for object detection supervision during pretraining.
- RefCOCO [20, 53], RefCOCO+, RefCOCOg [35, 47, 48]: Used for referring expression comprehension supervision during pretraining.
Key Insights and Ideas
- Unified Task for Real-World Needs: REIR is a more practical task than TIR or REC alone, directly addressing the need to find and locate specific objects in large visual collections.
- Importance of Relational Reasoning: The MORE module highlights that understanding spatial and inter-object relationships is crucial for disambiguating fine-grained referring expressions.
- Cross-Image Contrastive Learning: CLIA's effectiveness in aligning instances across different images is key to achieving robust gallery-wide retrieval and localization.
- End-to-End Advantage: CLARE's unified approach avoids the cascading failures and computational inefficiencies of two-stage TIR+REC methods.
Key Results
- State-of-the-Art on REIR: CLARE significantly outperforms existing two-stage baselines (combinations of TIR and REC models) on the REIRCOCO benchmark across various IoU thresholds and recall levels. For instance, CLARE-ViT-L achieves 36.40% R@1 on TIR performance adapted for REIR, a substantial improvement over the best baseline (SigLIP at 23.25%).
- Strong Generalization: CLARE performs competitively on traditional REC benchmarks (RefCOCO, RefCOCO+, RefCOCOg), achieving state-of-the-art or near state-of-the-art results. It also shows strong performance on TIR tasks.
- Ablation Studies: Experiments confirm the effectiveness of the two-phase training strategy, the MORE module (especially with multiple routed experts), and the CLIA objective.
Limitations and Future Work
- Relational Complexity: CLARE's performance slightly dips on expressions involving very complex relations or ambiguous linguistic constructs, suggesting room for improvement in reasoning over intricate spatial layouts and subtle relational keywords.
- Rare Configurations: The model may struggle with rare object configurations not well-represented in training, such as overlapping small objects.
- Future Directions: The authors suggest enhancing reasoning over multi-object contexts and rare cases to further improve performance.
Summary updated