Visual Genome

On this page 7

Visual Genome is a large-scale image dataset annotated with dense scene graphs: for each photo it records the objects present, their attributes and the relationships between them, together with region descriptions and question-answer pairs. Released in 2016 by researchers at Stanford University, it became one of the standard sources of training data for models that must connect images with structured language.

Where classification datasets such as ImageNet assign one label per image and detection datasets such as COCO draw boxes around objects, Visual Genome aims to describe how the parts of a scene interact. That ambition made it central to research on scene graph generation, visual question answering and grounded captioning in artificial intelligence.

What the Visual Genome annotations contain

The dataset describes each image through several linked annotation layers, all tied to bounding boxes. Objects carry names and attributes, relationships connect a subject object to a target object through a predicate, and free-text region descriptions summarize local parts of the image.

The table lists the main annotation layers with approximate counts from the published version 1.4 release.

LayerApproximate countWhat it records
ImagesAbout 108,000Everyday photos, partly overlapping COCO
Region descriptionsAbout 5.4 millionShort phrases for local image regions
Object instancesAbout 3.8 millionBoxed objects with names
AttributesAbout 2.8 millionColor, material, state and size of objects
RelationshipsAbout 2.3 millionSubject, predicate and object triples
Question-answer pairsAbout 1.7 millionFree-form and region-based visual questions
Annotation layers in Visual Genome

On average an image carries roughly 35 objects, 26 attributes and 21 relationships, which is far denser than most earlier vision datasets. Object, attribute and relationship names were also canonicalized to WordNet synsets, so that “man”, “guy” and “male person” can be mapped to one concept.

How the dataset was built

Visual Genome was produced through crowdsourced labeling on Amazon Mechanical Turk, with tens of thousands of workers contributing over several months. Images were drawn from the intersection of the YFCC100M collection and MS COCO, which gave a broad mix of indoor, outdoor and street scenes.

Annotation followed a staged pipeline: workers first wrote region descriptions, then extracted objects, attributes and relationships from those descriptions, then drew boxes and answered verification tasks. Automatic merging and WordNet canonicalization reduced duplicates, but they could not remove all inconsistency between workers.

  • Region descriptions came first and served as the source for structured triples.
  • Verification rounds checked a sample of annotations for accuracy.
  • Coreference merging joined boxes that described the same object.
  • Question-answer collection ran as a separate task with its own guidelines.

Because the structured triples were extracted from free text, the same visual fact can appear in several surface forms, such as “man wearing hat” and “hat on man”. Practitioners therefore apply their own cleaning and alias mapping before training. Typical steps include lowercasing, lemmatization, merging synonyms, dropping rare classes and removing boxes that are too small or that cover almost the entire image.

Visual Genome compared with other image datasets

Visual Genome is best understood as a relationship-centric complement to object-centric benchmarks. Its strength is breadth of structure, while its main weakness is label consistency, since free-form crowd text produces a long tail of rare names.

The following comparison places it next to neighboring datasets in the same field.

DatasetMain annotationTypical taskLabel vocabulary
Visual GenomeScene graphs and regionsScene graph generation, VQAOpen, tens of thousands of names
ImageNetOne class per imageImage classificationFixed, about 1,000 classes
COCOBoxes, masks, captionsDetection, segmentationFixed, 80 object classes
Open ImagesBoxes and some relationshipsLarge-scale detectionFixed, about 600 box classes
Flickr30kCaptions and phrase linksCaptioning, groundingOpen text captions
Visual Genome and related datasets

How researchers use Visual Genome in practice

Most work does not use the raw annotations directly but relies on curated subsets with a fixed vocabulary. The most widely used is the VG150 split, which keeps the 150 most frequent object classes and 50 predicates to make scene graph generation benchmarks comparable.

Visual Genome also shaped vision-language pretraining. A detector trained on its 1,600 object classes and 400 attribute classes produced the widely reused bottom-up attention features that powered many captioning and VQA systems before end-to-end transformers became standard.

The table summarizes typical uses and the subset or setup each one usually requires.

UseTypical subset or setupWhat the model learns
Scene graph generationVG150 splitPredicting subject, predicate and object triples
Region-level detection features1,600 objects and 400 attributesRich object and attribute embeddings
Visual question answeringQuestion-answer pairsAnswering questions about image content
Dense captioningRegion descriptionsDescribing many regions in one image
Grounding and referring expressionsRegions with phrasesLinking text spans to boxes
Common uses of Visual Genome

Limitations, biases and licensing

The dataset carries significant label noise and predicate imbalance. Generic predicates such as “on”, “has” and “wearing” dominate the relationships, so models can score well by predicting frequent relations, a bias that led to research on unbiased scene graph generation and frequency-aware evaluation.

Annotations are also incomplete by design: workers labeled what they noticed, not every possible relationship, which means a missing triple does not prove the relation is absent. This missing-label problem penalizes correct predictions under standard recall metrics. The images reflect mainly Western everyday scenes, adding a geographic and cultural dataset bias.

Another practical concern is overlap with COCO. Roughly half of the images also appear in COCO, so a model pretrained on Visual Genome and evaluated on COCO test images may have seen those images before. Careful studies remove overlapping images from training to avoid inflated scores.

Visual Genome annotations are distributed under a Creative Commons Attribution 4.0 license, while the underlying images keep the terms of their original sources. Teams that build commercial products should therefore review training data licensing for the images separately.

In plain words

Visual Genome is a huge set of photos with very detailed notes. People looked at each picture and wrote down what they saw. They listed the objects, such as a dog or a bench. They described them, such as brown or wooden. They also wrote how things connect, such as “dog sitting on bench”.

This turns each photo into a small map of who does what to whom. Computers learn from these maps. They learn not only to spot objects but also to understand the scene as a whole.

A real-world example

A research team at a university builds an assistive app that describes photos to blind and low-vision users. A plain object detector would say “person, dog, leash, street”. The team wants richer sentences, so it trains a scene graph model on the VG150 split of Visual Genome.

The model learns to predict triples such as “person holding leash” and “dog on sidewalk”. A small language model then turns the triples into a sentence: “A person is walking a dog on the sidewalk.” In user testing, participants rate the relationship-based descriptions as clearly more useful than lists of object names.

The team also notices a weakness. The model often defaults to “on” or “has” when it is unsure, because those predicates dominate the training data. To fix this, the team reweights rare predicates during training, which improves the variety of descriptions.