TL;DR
This paper introduces ObjEmbed, a novel multimodal embedding model that excels at aligning image regions with specific text descriptions, a task where previous models struggled. By representing each object with both semantic and localization-quality embeddings, ObjEmbed achieves state-of-the-art performance across a wide range of vision-language tasks, including object detection, referring expression comprehension, and local image retrieval, all while maintaining efficient encoding.
What Problem Does This Paper Address?
The core challenge this paper tackles is the fine-grained alignment between specific objects within an image and their corresponding textual descriptions. While existing multimodal embedding models are good at aligning entire images with captions, they often fall short when it comes to precisely locating and understanding individual objects based on detailed text. This limitation is critical for real-world applications like autonomous driving, robotics, and content moderation, where accurate object recognition and localization are paramount. The authors aim to bridge this gap by developing a model that can not only understand the semantics of objects but also their spatial context and localization quality.
Methods
ObjEmbed is built upon a large multimodal language model (LLM) and introduces a novel "object-oriented representation." Key to this approach are two special tokens for each detected object:
- Object Token: This token captures the fine-grained semantic content of the object.
- IoU Token: This token is specifically designed to predict the quality of the object's bounding box by regressing its IoU (Intersection over Union) score.
By combining these two embeddings, ObjEmbed can jointly consider both semantic similarity and localization confidence when matching objects to text. The model processes all detected objects and the global image in a single forward pass, making it highly efficient. For text queries, separate "local text" and "global text" tokens are used to match object embeddings and global image embeddings, respectively. The final matching score for object detection and referring expression comprehension is a product of the semantic similarity and the predicted IoU, effectively balancing accuracy and localization.
Datasets
The authors trained ObjEmbed on a large dataset comprising 1.3 million images and 8.1 million bounding boxes. This dataset was constructed by aggregating existing open-source datasets for object detection and referring expression comprehension, and further augmented with newly curated images. Specifically, they used:
- Object Detection Datasets: COCO, LVIS, V3Det.
- Referring Expression Comprehension Datasets: RefCOCO/+/g, FG-OVD, HumanRef, grefcoco, Ref-L4, DAM, FineCops-Ref, REIRCOCO.
They also evaluated ObjEmbed on numerous standard benchmarks for various tasks, including:
- Object Detection: COCO, COCO-O, ODinW13, FG-OVD, D3.
- Referring Expression Comprehension: RefCOCO, RefCOCO+, RefCOCOg.
- Local Image Retrieval: SORCE-1K, REIRCOCO, ILIAS.
- Global Image Retrieval: ShareGPT4V, Flickr30K, COCO-CN, Flickr30K-CN.
Key Insights and Ideas
- Dual-Token Representation for Objects: The most significant insight is the introduction of separate object and IoU tokens. This decoupling allows the model to learn semantic meaning and localization quality independently, preventing optimization conflicts and leading to more robust object representations.
- IoU as a Confidence Score: Using the IoU score as a direct predictor of localization quality is a clever way to integrate spatial awareness into the embedding. This allows the model to prioritize more accurately localized objects, which is crucial for tasks like retrieval.
- Unified Framework for Diverse Tasks: ObjEmbed's ability to handle both region-level (object detection, REC) and image-level (global retrieval) tasks within a single architecture is a major advantage, simplifying multimodal understanding.
- Efficiency through Single Forward Pass: Encoding all objects and the global image in one pass is a key design choice that significantly boosts inference speed, making the model practical for real-world applications.
- Robustness to Proposal Quality: The model demonstrates that while high-quality proposals are beneficial, ObjEmbed is relatively robust to variations in proposal generation, suggesting its learned representations are powerful.
Key Results
ObjEmbed achieved impressive results across 18 diverse benchmarks:
- Object Detection: 53.0% mAP on COCO, competitive with specialist models.
- Referring Expression Comprehension: 89.5% average accuracy on RefCOCO/+/g, outperforming other MLLMs.
- Local Image Retrieval: Achieved an average score of 68.5, outperforming existing global image embedding models by approximately 20 points on four standard benchmarks.
- Global Image Retrieval: Demonstrated strong performance and robust generalization across different text lengths and languages, achieving an overall score of 81.7.
Qualitatively, visualizations show ObjEmbed accurately localizing queried objects and ranking correct images higher, even for small or challenging targets, where other models struggled.
Limitations and Future Work
The authors acknowledge several limitations and suggest future research directions:
- Scaling Up Training Data: The current training dataset of 1.3 million samples is relatively small compared to some other large-scale models. Increasing the training data size could further enhance performance.
- Hard Negative Mining: While the model is robust, integrating more effective hard negative mining strategies could improve the discriminative power of the embeddings, especially in the presence of annotation incompleteness.
- Proposal Network Optimization: While ObjEmbed is robust to proposal quality, further improvements in proposal generation could lead to even better performance.
- Direct Bounding Box Regression: The paper explored using IoU embeddings for direct bounding box regression, but found it degraded performance. Future work could investigate more sophisticated methods for refining bounding boxes.
Summary updated