Abstract
Traditional Text-to-Image Retrieval (T2IR) models often struggle to identify small, non-salient objects within complex scenes, as global image embeddings tend to prioritize dominant subjects. We introduce SORCE, a new subfield of T2IR focused on finding these "needles in a visual haystack." Alongside a novel benchmark, SORCE-1K, we propose a multi-embedding approach leveraging Multimodal Large Language Models (MLLMs) and "Regional Prompts" (ReP). This method significantly outperforms standard retrieval models like CLIP by capturing fine-grained local details without sacrificing global context.
The Challenge of Small Object Retrieval
Existing T2IR benchmarks, such as MSCOCO and Flickr30K, primarily focus on the most salient subjects of an image—for instance, a bride in a dress or a group of people. However, real-world applications like video surveillance, smart city monitoring, and infrastructure inspection often require retrieving images based on tiny, inconspicuous details.
Current models typically compress an entire image into a single global vector. This process often washes out the fine-grained information necessary to identify a specific small object buried in a cluttered environment. The SORCE framework addresses this gap by shifting from single-embedding representations to multiple feature representations.
Methodology: Regional Prompts and MLLM Extraction
The proposed approach utilizes the instruction-following capabilities of MLLMs to extract diverse facets of an image through Regional Prompts (ReP). Instead of a single summary, the model generates five distinct embeddings per image: one for the global view and one for each quadrant (top-left, top-right, bottom-left, and bottom-right).
By leveraging models like E5-V, the system can "zoom in" semantically on specific regions based on text instructions. To enhance discriminative power, the model underwent contrastive finetuning on a recaptioned version of COCO-118K. During training, a "Random Choice" strategy was employed to align specific regional image embeddings with their corresponding regional text descriptions. At inference, a query is compared against all five embeddings, with the highest similarity score determining the final ranking.
The SORCE-1K Benchmark
To evaluate this new task, we developed SORCE-1K, a benchmark consisting of 1,023 high-resolution images sourced from the SA-1B dataset. These images are characterized by extreme scene complexity, where target objects occupy less than 10% of the total area.
SORCE-1K includes three difficulty tiers—Full Resolution, Zoom-2x, and Zoom-3x—to analyze how object scale impacts retrieval performance. Unlike standard datasets, SORCE-1K descriptions are localized and highly detailed, preventing models from relying on broader environmental context to "cheat" during retrieval.
Key Results and Insights
The multi-embedding approach demonstrated substantial improvements over baseline models:
- Superior Retrieval: On the most challenging Full Resolution setting, the fine-tuned model achieved a Recall@1 (R@1) of 31.5%, nearly doubling the performance of standard CLIP ViT-B (17.9%).
- Scaling with Salience: Performance scaled effectively with object size, reaching 68.0% R@1 on the Zoom-3x setting.
- Generalization: The model maintained high performance on standard benchmarks like Flickr30K (81.0% R@1), proving that specialized focus on small objects does not degrade general scene understanding.
Analysis confirmed that the gains stem from the spatial focus of regional prompts rather than simple ensembling. While the current multi-embedding approach introduces storage and computational overhead, it establishes a robust baseline for future research into unified features that can capture both "the forest and the trees."
Conclusion
SORCE highlights a critical limitation in current T2IR systems and provides the tools—both a benchmark and a methodology—to address it. By utilizing MLLMs as flexible, instruction-aware feature extractors, we can move closer to reliable retrieval in the complex, cluttered environments typical of real-world visual data.
Summary updated