Abstract
Large Multimodal Models (LMMs) often struggle to locate specific information within vast image collections, a phenomenon known as losing the "needle in the haystack." This paper introduces a novel pre-selection layer based on submodular subset selection. By filtering massive image haystacks into manageable, semantically relevant subsets, the proposed framework significantly enhances retrieval accuracy and reasoning performance for complex multi-image questions.
Introduction
While AI has achieved high proficiency in single-image description, Multi-Image Question Answering (MIQA) remains a bottleneck. Tasks such as finding a specific object across thousands of photos are hindered by "visual distractors"—images that are visually similar to the target but irrelevant to the query. Current state-of-the-art frameworks like MIRAGE utilize Retrieval-Augmented Generation (RAG), but their performance degrades sharply as the haystack size increases. This research addresses the retrieval bottleneck by introducing a mathematical filtering stage before the reasoning process.
Methods
The core of the proposed solution is a dual-strategy framework that incorporates a submodular subset selection layer. Submodular functions are used to select subsets that maximize both relevance to the query and diversity within the results, preventing redundancy.
The authors evaluated three primary submodular functions:
- GraphCut (GC): Balances query relevance with global representation.
- Facility Location (FL): Emphasizes diversity and coverage of the query space.
- Log Determinant (LogDet): Optimizes the tradeoff between relevance and redundancy.
The workflow includes query set expansion using "Anchor" images and data augmentation (e.g., random cropping, color jittering) to create a robust query representation.
Key Insights and Ideas
A significant discovery in this work is that Anchors outperform Targets as search queries. In the Visual Haystacks (VHS) benchmark, using the known context (the Anchor) to filter the haystack is far more effective than searching directly for the object of interest (the Target).
Other key findings include:
- Query Set Robustness: Expanding the query set to five images and applying visual augmentations like Gaussian blur or flipping significantly improves retriever resilience.
- Function Selection: While hybrid "mixture" functions were tested, single well-tuned functions like GraphCut often provided comparable or superior performance.
- Information Saturation: Gains from data augmentation tend to plateau, with marginal improvements observed when moving from two to four augmented images.
Results
The implementation of submodular pre-filtering effectively mitigates the performance drop associated with increasing haystack sizes. While baseline models show a steady decline in accuracy from 10 to 1,000 images, the proposed method flattens this curve. Specifically, increasing the query set size from one to five reference images improved the "success fraction"—the likelihood of the correct image being retrieved—by 25-30% in large-scale environments.
Conclusion and Future Work
The study demonstrates that submodular subset selection is a powerful tool for scaling MIQA systems. Despite its success, the system still encounters challenges such as anchor confusion (e.g., misidentifying similar objects) and target salience bias. Future research will explore the application of these techniques to "Document Haystacks," which require the integration of Optical Character Recognition (OCR) and layout analysis to reason over thousands of multi-modal document pages.
Summary updated