AI Ops Glossary

Visual Grounding

Visual grounding is the task of locating the region of an image that a piece of text refers to, usually by returning a bounding box for a phrase or a referring expression such as "the giraffe with lowered head." The literature also calls it referring expression comprehension (REC) and phrase grounding. Its data comes in triplets: an image, a referring expression and the referred box.

ReferItGame (2014) was the first large-scale real-world dataset for the task, and RefCOCO, RefCOCO+ and RefCOCOg (2016), built on MS COCO images, became the standard benchmarks. Since 2023, grounding multimodal large language models have proliferated, and the most common way they output a box is as relative coordinates written in plain text. Referring expressions are now part of the training mix of nearly all large vision-language models.

Visual Grounding at a Glance

Also calledReferring expression comprehension (REC); phrase grounding; phrase localization; generalized REC or described object detection for the multi-target form
What it doesTakes an image and a text expression and returns the region or regions the text describes, usually as bounding boxes
Where it's used in model developmentTraining objectives for vision-language models (referring expressions, grounded captioning) and benchmarks such as RefCOCO/+/g, Flickr30k Entities and gRefCOCO
The human roleWriting unambiguous expressions, drawing boxes, verifying that another person can find the target, and building multi-target and no-target cases
LimitsClassic benchmarks assume exactly one target; boxes are labor-intensive; grounding objectives alone showed little to no effect on hallucination in open captioning

How Visual Grounding Works

Visual grounding works by reading an image and a text expression together and predicting where in the image the expression points. From 2014 to 2020, models encoded language with LSTMs and images with CNNs, in two-stage or one-stage pipelines. From 2021, transformers and pre-training then fine-tuning took over, and one approach recast grounding as modulated detection. From 2023, grounding multimodal large language models proliferated.

How vision-language models output a region

The most common format writes the box as relative coordinates in plain text, such as [0.10, 0.05, 0.64, 1.00], tokenized like any other text. The alternative is learned embeddings tied to a fixed-size grid over the image. Kosmos-2, for example, writes a grounded phrase as a Markdown link, [text span](bounding boxes), where the box is a sequence of location tokens.

Variants of the task

  • Referring expression comprehension: one expression, one target box. RefCOCO, RefCOCO+ and RefCOCOg are the standard test sets.
  • Phrase grounding: localize every entity mentioned in a phrase or caption. Flickr30k Entities links 244k coreference chains from 158k captions to 276k manually annotated boxes.
  • Generalized grounding: an expression can refer to one object, several objects or none. The gRefCOCO dataset extends RefCOCO with multi-target expressions such as "everyone except the kid in white" and with no-target expressions.
  • 3D grounding: the input is a point cloud of a scanned scene and the output is a 3D box. ScanRefer contains 51,583 descriptions of 11,046 objects from 800 ScanNet scenes.
  • Video segment localization: NIST's TRECVID 2023 Medical Video Question Answering (MedVidQA) task asks systems to retrieve instructional medical videos and localize the segment of interest.

Where Visual Grounding Is Used in Model Development

Visual grounding shows up in model development as a training objective and as an evaluation, and in applications such as vision-language navigation, human-machine dialogue, visual question answering and robotics.

As a training objective

The referring expression objective asks a model to produce the box for a description, and usually the inverse as well: a description for a given box. Grounded captioning asks the model to write a caption with the box coordinates of the objects it mentions interleaved in the text. Kosmos-2 was trained on a large set of grounded image-text pairs that its authors built, called GrIT.

As an evaluation

Classic REC is scored with Precision@0.5, also called top-1 accuracy: a predicted box counts as correct when its intersection over union (IoU) with the ground-truth box is greater than 0.5. A prediction that overlaps the true box at IoU 0.62 passes; one at 0.45 is a miss. Generalized grounding needs other metrics, since a sample can have zero or many correct boxes. The gRefCOCO authors propose Precision@(F1=1, IoU≥0.5), which counts a sample as correct only when every target is matched and no extra box is predicted, plus no-target accuracy (N-acc.) for expressions that refer to nothing.

The standard benchmarks are aging. RefCOCO/+/g have served as core evaluation sets for nearly ten years, and a 2025 survey in IEEE TPAMI reports that performance gains on them are becoming increasingly limited.

Limits of Visual Grounding and the Human Role

Visual grounding's main limits come from its data, its task definition and its evaluation.

  • Ambiguous expressions. Real scenes often hold several objects of the same category. "The spotted giraffe" fails when every giraffe is spotted. An ambiguous expression confuses the model instead of teaching it.
  • The one-target assumption. Classic datasets contain only single-target expressions. When the described object is absent, the behavior of classic REC methods is undefined.
  • Hallucination. A 2024 EMNLP study across three LLM backbones found that grounding objectives had little to no effect on object hallucination in open caption generation.

What annotators do

Annotators write the expressions, which should be informative, succinct and unambiguous, a standard drawn from Grice's maxims of cooperative conversation. Obtaining the paired bounding boxes is labor-intensive. A second person can verify each expression by finding the target from the text alone. In ReferItGame, one player wrote an expression for an outlined object and a second player had to click the right object; only successful games entered the analyzed dataset. Objects too small or too ambiguous never produced a successful game.

Visual Grounding vs. Object Detection and Image Captioning

Visual grounding finds the particular object or objects a sentence describes, where object detection finds objects by category and image captioning describes the image as a whole.

AspectVisual groundingObject detectionImage captioning
InputImage plus free-form textImage plus a fixed set of object categories (MSCOCO images are annotated with 80 object classes)Image
OutputBox(es) for the described instanceBoxes for objects of the named categoriesA text description
Typical metricPrecision@0.5 (IoU > 0.5)COCO AP, averaged over IoU thresholds from 0.50 to 0.95 in steps of 0.05CIDEr (n-gram overlap) plus hallucination metrics
Where it falls shortClassic form assumes exactly one targetOpen-vocabulary detection finds "individuals" and "helmet," not "individuals without safety helmet"Hard to evaluate objectively

Visual Grounding at Hugo

Hugo builds dedicated multimodal and spatial AI annotation teams whose cross-modal alignment work links what a model sees to what it is told: captions, scene descriptions and the relationships between image, text and audio. Each team works to the client's own taxonomy, trains and tests on a written edge-case library before production data, and re-runs a calibration set whenever guidelines change. Inter-annotator agreement is tracked per class, with gold-set audits on every batch. More detail is in Multimodal AI Training Data: Visual Grounding & VLM Annotation.

Visual Grounding FAQs

What is visual grounding in AI?

Visual grounding is the task of finding the part of an image that a text expression describes and marking it, usually with a bounding box. The task is also called referring expression comprehension or phrase grounding, and its training data are triplets of image, expression and box. Referring expressions are part of the training mix of nearly all large vision-language models. When scoping a dataset, decide early whether expressions may refer to several objects or to none.

What is the difference between visual grounding and referring expression comprehension?

Visual grounding and referring expression comprehension (REC) name the same core task, and the literature uses them interchangeably. Common usage splits by dataset: the task is called REC on RefCOCO, RefCOCO+ and RefCOCOg, and phrase grounding on ReferItGame and Flickr30k Entities. Phrase grounding, or phrase localization, means localizing every entity a phrase mentions, while REC targets one described object. The broadest form, generalized visual grounding, allows zero, one or many targets. Check which definition a benchmark uses before comparing scores across papers.

How is visual grounding evaluated?

Visual grounding is usually evaluated with Precision@0.5, also called top-1 accuracy, which counts a prediction as correct when its box overlaps the ground-truth box with an IoU greater than 0.5. Standard test sets are RefCOCO, RefCOCO+ and RefCOCOg. For generalized grounding, the gRefCOCO authors recommend Precision@(F1=1, IoU≥0.5) as the main metric, plus no-target accuracy for expressions with no referent. They argue that COCO-style AP does not fully capture grounding quality because it barely penalizes redundant low-confidence boxes. Report results separately for single-target, multi-target and no-target cases.

Which datasets are used for visual grounding?

The core visual grounding datasets are ReferItGame, RefCOCO, RefCOCO+, RefCOCOg and Flickr30k Entities, with gRefCOCO for generalized grounding and ScanRefer for 3D. ReferItGame holds 130,525 expressions for 96,654 objects in 19,894 photographs. Flickr30k Entities adds 276k manually annotated boxes to 158k captions. ScanRefer contains 51,583 descriptions of 11,046 objects in 800 scanned scenes. Because MSCOCO images appear in most training mixes, evaluate on held-out, in-domain images as well as the public benchmarks.

Does visual grounding reduce hallucinations in vision-language models?

Visual grounding objectives have not been shown to reliably reduce hallucination in open-ended captioning. A 2024 EMNLP study across three LLM backbones found that adding referring-expression and grounded-captioning objectives to training had little to no effect on object hallucination. Forcing grounded captions at inference reduced hallucination slightly but made captions a little less detailed. The authors also argue that earlier positive results relied on question-answering tests and MSCOCO data seen in training. Measure hallucination on open generation and out-of-distribution images before crediting grounding data with a fix.

How is visual grounding training data annotated?

Visual grounding data is annotated by having people write a referring expression for a target object, draw or confirm its box, and verify that another person can find the object from the text alone. ReferItGame built this into a two-player game: one player described an outlined object and the other had to click it, and only successful games entered the analyzed dataset. Expressions should be informative, succinct and unambiguous, especially when a scene holds several objects of one class. Ask a provider how it verifies expressions and handles no-target cases.

When should you outsource visual grounding annotation?

Outsourcing visual grounding annotation fits when a team needs grounded data for its own domain and no public set covers it. The public benchmarks are built on photos from MS COCO, Flickr30k and ImageCLEF, plus ScanNet scans for 3D. Boxes are labor-intensive, and each expression must stay unambiguous among similar objects. ReferItGame screened crowd workers for approval ratings above 80% and US location for language consistency. Ask any partner how it calibrates writers, verifies expressions and builds no-target cases.

Sources

  1. National Institute of Standards and Technology (NIST). TRECVID 2023 Guidelines. Accessed November 10, 2026.
  2. Linhui Xiao, Xiaoshan Yang, Xiangyuan Lan, Yaowei Wang, Changsheng Xu. Toward Visual Grounding: A Survey. IEEE Transactions on Pattern Analysis and Machine Intelligence. Accessed November 10, 2026.
  3. Sahar Kazemzadeh, Vicente Ordonez, Mark Matten, Tamara L. Berg. ReferItGame: Referring to Objects in Photographs of Natural Scenes. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). Updated October 2014. Accessed November 10, 2026.
  4. Licheng Yu, Patrick Poirson, Shan Yang, Alexander C. Berg, Tamara L. Berg. Modeling Context in Referring Expressions. Accessed November 10, 2026.
  5. Junhua Mao, Jonathan Huang, Alexander Toshev, Oana Camburu, Alan Yuille, Kevin Murphy. Generation and Comprehension of Unambiguous Object Descriptions. Updated April 11, 2016. Accessed November 10, 2026.
  6. Bryan A. Plummer, Liwei Wang, Chris M. Cervantes, Juan C. Caicedo, Julia Hockenmaier, Svetlana Lazebnik. Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Models. Updated September 19, 2016. Accessed November 10, 2026.
  7. Shuting He, Henghui Ding, Chang Liu, Xudong Jiang. GREC: Generalized Referring Expression Comprehension. Accessed November 10, 2026.
  8. Zhiliang Peng, Wenhui Wang, Li Dong, Yaru Hao, Shaohan Huang, Shuming Ma, Furu Wei. Kosmos-2: Grounding Multimodal Large Language Models to the World. Updated July 13, 2023. Accessed November 10, 2026.
  9. Gregor Geigle, Radu Timofte, Goran Glavaš. Does Object Grounding Really Reduce Hallucination of Large Vision-Language Models?. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Updated November 2024. Accessed November 10, 2026.
  10. Dave Zhenyu Chen, Angel X. Chang, Matthias Nießner. ScanRefer: 3D Object Localization in RGB-D Scans using Natural Language. Updated November 11, 2020. Accessed November 10, 2026.

Build the Dedicated Team Behind Your AI Operations

Whether you need model evaluators, coding specialists, multilingual reviewers, or multimodal data teams, Hugo can help you build and manage the human operations layer behind better AI.

  • Dedicated Specialists

  • Quality You Can Trust

  • Built to Scale With You

  • Secure, Compliant & Reliable