TL;DR
InstructDET is a data-centric framework that leverages the power of foundation models—specifically Large Language Models (LLMs) and Vision-Language Models (VLMs)—to automatically generate millions of diverse, human-like instructions for Referring Object Detection (ROD). By training on the resulting InDET dataset, which is the largest of its kind with 3.6 million instructions, the authors' model significantly outperforms existing state-of-the-art methods in both standard benchmarks and complex, real-world reasoning tasks.
What Problem Does This Paper Address?
Referring Expression Comprehension (REC) is the task of localizing a specific object in an image based on a natural language description. However, current REC research faces a major bottleneck: data scarcity and a lack of diversity.
Existing datasets are typically manually annotated. This process is expensive, slow, and inherently prone to human bias. Most images in these datasets feature only one or two simple phrases (e.g., "the red car"), failing to capture the vast range of ways a human might describe an object—such as using properties, spatial relationships, or abstract logic. Furthermore, traditional models struggle when asked to detect multiple objects or groups based on a single instruction. InstructDET aims to bridge this gap by automating the creation of high-quality, highly diverse training data.
Methods
The core of the paper is the InstructDET pipeline, which uses a "global-to-local" strategy to generate comprehensive instructions:
- Global Prompt Pipeline: The system uses LLaVA to generate a detailed caption of the entire scene. This caption, along with object coordinates, is fed into LLaMA (an LLM). Using in-context learning, LLaMA generates diverse instructions that focus on object relationships and broader scene context.
- Local Prompt Pipeline: To capture fine-grained details, the authors fine-tune a version of LLaVA to focus specifically on regions within a bounding box. This produces descriptions rich in visual attributes like textures, colors, and specific parts.
- Expression Filter: To combat "hallucinations" (instances where the model describes things not actually present in the box), the authors use CLIP to verify the alignment between the generated text and the visual region. They employ a novel "visual prompting" technique combining blurs and circles to help CLIP focus strictly on the target object.
- Multi-Object Generation: The system clusters similar objects using BERT embeddings and uses LLaMA to write summary instructions for groups (e.g., "all people standing and looking at paintings").
To complement this pipeline, the authors also introduce DROD (Diversified Referring Object Detection), a DETR-based model specifically designed to handle an uncertain number of target objects per instruction.
Datasets
The authors introduce InDET, constructed by applying their pipeline to images from MSCOCO, Flickr30K, and Objects365.
- Scale: The dataset encompasses 120.6K images and an unprecedented 3.6 million instructions.
- Diversity: Instructions are categorized into six levels of complexity (G1–G6), ranging from simple category names to complex multi-object summaries and logical deductions.
- Comparison: InDET is significantly larger and features a much broader vocabulary (63k words) than traditional datasets like RefCOCO.
Key Insights and Ideas
- Foundation Models as Annotators: The paper demonstrates that modern LLMs and VLMs have reached a level of generalization where they can simulate human-like descriptive variety more effectively and efficiently than manual labeling efforts.
- Global vs. Local Context: A key insight was realizing that global descriptions are better for establishing relationships, while local crops are superior for identifying specific attributes. Combining both is essential for building a robust dataset.
- Logic over Keywords: Training on InDET forces models to move beyond simple keyword matching. Because the instructions are so diverse, the model must actually "understand" the logic of the sentence (e.g., identifying "the most helpful thing for thirsty people" as a water bottle).
- Data-Centricity: The results strongly suggest that for complex vision-language tasks, scaling and diversifying the data is currently more impactful than inventing entirely new model architectures.
Key Results
The DROD model, when trained on the InDET dataset, demonstrates massive improvements across the board:
- InDET Test Set: DROD achieved 62.24% AP, which is nearly 20 points higher than the previous state-of-the-art model, UNINEXT (43.37%).
- Standard Benchmarks: Even on classic datasets like RefCOCOg, the InDET-trained model outperformed existing methods. This proves that the synthetically generated instructions generalize exceptionally well to human-annotated data.
- Reasoning: In a specialized 2k-sample test designed for logic reasoning, models trained on InDET showed a vastly superior ability to interpret complex, multi-step instructions compared to those trained on standard datasets.
Limitations and Future Work
While the expression filter successfully mitigates many hallucinations, foundation models still occasionally produce incorrect descriptions. Additionally, the generation process is computationally intensive, requiring significant GPU resources to process millions of instructions.
The authors suggest that future work could integrate this pipeline with open-set detectors. This would allow for "in-the-wild" detection on any image from the internet, moving the field closer to a truly universal referring object detection system.
Summary updated