GREC: Generalized Referring Expression Comprehension

Shuting He, Henghui Ding, Chang Liu, Xudong Jiang · DOI

Introduction

Classic Referring Expression Comprehension (REC) is a fundamental task in computer vision where a model must "ground" a natural language description into a specific bounding box within an image. However, traditional REC benchmarks like RefCOCO suffer from a significant "single-target" bias: they assume that every text prompt refers to exactly one object that is guaranteed to exist in the image.

This paper introduces Generalized Referring Expression Comprehension (GREC), a more realistic framework designed to handle expressions that refer to multiple targets (e.g., "all the players") or no targets at all (e.g., "the person in blue" when no such person is present). To support this new task, the authors present gRefCOCO, the first large-scale dataset specifically designed for generalized grounding.

The GREC Framework

In the GREC setting, the task is redefined to output a set of bounding boxes $B = \{b_1, b_2, ..., b_n\}$. If the expression refers to multiple objects, the set contains all relevant boxes; if it refers to nothing, the set is empty ($n=0$).

Comparison of standard REC vs. Generalized REC (GREC) across single, multiple, and zero-target scenarios.

As illustrated above, standard REC models are often hard-coded to find a single "best" match. When faced with multiple valid targets or a non-existent target, these models typically hallucinate a single box or fail to capture the full scope of the request. GREC models, by contrast, must determine the correct cardinality of the target set.

Methodology and Metrics

To adapt existing state-of-the-art REC models (such as MDETR and UNINEXT) for GREC, the authors moved away from the standard "Top-1" selection strategy. Instead, they implemented a threshold-based strategy where the model dynamically selects all boxes exceeding a specific confidence threshold (e.g., 0.9).

Evaluation is conducted using two new metrics:

  1. Precision@(F1=1, IoU $\ge$ 0.5): A strict metric requiring the model to identify all ground-truth objects (and only those) with sufficient overlap.
  2. N-acc (No-target accuracy): A metric specifically measuring the model's ability to correctly identify when a prompt refers to nothing.

The gRefCOCO Dataset

Built upon the COCO dataset, gRefCOCO provides a diverse range of single-target, multi-target, and no-target samples. Unlike previous attempts like PhraseCut, which relied on machine-generated templates, gRefCOCO utilizes free-form natural language. This makes the dataset significantly more challenging and representative of real-world human-machine interaction.

Key Insights and Results

The researchers benchmarked several leading models on gRefCOCO, revealing a substantial performance gap compared to traditional REC tasks:

  • The Failure of Top-k: The authors demonstrated that standard Top-1 or Top-k approaches are mathematically limited in GREC. For example, if a prompt refers to two targets but the model only selects the top-1, the F1 score is capped at 0.67.
  • Performance Drop: Models that achieve ~85% accuracy on standard REC benchmarks saw their performance plummet on gRefCOCO. MDETR, for instance, achieved only 42.7% precision on the validation set.
  • Current State-of-the-Art: UNINEXT (using ResNet-50 and BERT) is currently the top performer, reaching 58.2% precision and 50.6% N-acc.
  • Semantic Nuance: Models still struggle with "deceptive" no-target expressions. If a prompt specifies a constraint that isn't met (e.g., "the guy on the right wearing a hat" when the person has no hat), models often ignore the missing attribute and box the person anyway.

Conclusion

The introduction of GREC and the gRefCOCO dataset highlights a critical weakness in current vision-language models: a lack of robust semantic reasoning and a bias toward over-detection. While thresholding provides a basic heuristic for handling multiple or zero targets, future work must focus on developing models that can truly understand why an object does or does not match a complex natural language description.

Summary updated

BibTeX
@misc{he2023grec,
  author = {Shuting He and Henghui Ding and Chang Liu and Xudong Jiang},
  title = {{GREC: Generalized Referring Expression Comprehension}},
  year = {2023},
  eprint = {2308.16182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.16182},
}
Figure