Abstract
Referring Expression Comprehension (REF) is the task of identifying a specific object in an image based on a natural language description. While performance on existing benchmarks suggests the task is nearing maturity, these datasets often rely on simple language and lack challenging distractors. This paper introduces Cops-Ref, a large-scale dataset designed to evaluate compositional reasoning. By utilizing complex logic-based expressions and a "hard mining" test setting with visually similar distracting images, we demonstrate that current state-of-the-art models struggle significantly with true compositional reasoning.
Introduction
The goal of Referring Expression Comprehension (REF) is to locate a target object given a description like "the cat on the left sleeping on the white towel." However, existing benchmarks such as refCOCO are limited by short expressions focusing on single attributes and images containing few objects of the same category. Consequently, models can often "cheat" by identifying a unique category without performing the required spatial or relational reasoning. To address this, we propose a task requiring compositional reasoning—the ability to synthesize attributes, relations, and logic to identify a unique target.
Methodology
The Expression Engine
To generate complex, grammatically correct expressions, we developed an engine based on GQA scene graphs. It produces expressions using six distinct logic forms:
- Chain: Sequential relations (e.g., "A near B, B on C").
- And/Or: Logical combinations of multiple conditions.
- Order: Relative spatial positioning (e.g., "the second glass from the left").
- Same: Attribute sharing (e.g., "the bag the same color as the sweater").
- Not: Negative identification (identifying objects by what they lack).
Hard Distractor Mining
A key innovation of Cops-Ref is the evaluation setting. Instead of a single image, models must identify the target among a set of images containing "hard distractors." These distractors are mined to test specific reasoning failures:
- DiffCat: Objects of different categories.
- Cat: Objects of the same category as the target.
- Cat&attr: Objects of the same category sharing the same attributes.
- Cat&cat: Scenes containing all objects in the reasoning chain but in different relationships.
MattNet-Mine
We propose MattNet-Mine, an enhancement of the MattNet architecture. It incorporates a modular hard-mining strategy during training, forcing the model to distinguish between the target and visually similar "hard negatives" by comparing modular phrase embeddings.
Dataset and Results
Cops-Ref is currently the largest real-world image dataset for referring expressions, containing 148,712 expressions and over 1.3 million regions across 75,299 images.
Key Insights
- Category Bias: Performance of "image-only" models drops significantly on Cops-Ref compared to older datasets, confirming that Cops-Ref successfully forces models to process the linguistic input.
- Logic Difficulty: Models struggle most with complex
chainandand/orlogic, while performing better onorderandnotforms which provide specific anchors. - Impact of Distractors: The inclusion of hard distractors causes the accuracy of state-of-the-art models to drop from ~78% to ~26%, highlighting a massive reasoning gap.
- Transferability: Models trained on Cops-Ref show improved performance on human-annotated datasets like refCOCO, suggesting that the synthetic compositional nature of Cops-Ref fosters more robust features.
Conclusion
Cops-Ref presents a formidable challenge for the computer vision community. While MattNet-Mine achieves a new state-of-the-art accuracy of 33.8%, this remains far below human-level performance. Future work will focus on improving reasoning depth and developing architectures capable of handling high-level compositional logic.
Summary updated