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.
| Layer | Approximate count | What it records |
|---|---|---|
| Images | About 108,000 | Everyday photos, partly overlapping COCO |
| Region descriptions | About 5.4 million | Short phrases for local image regions |
| Object instances | About 3.8 million | Boxed objects with names |
| Attributes | About 2.8 million | Color, material, state and size of objects |
| Relationships | About 2.3 million | Subject, predicate and object triples |
| Question-answer pairs | About 1.7 million | Free-form and region-based visual questions |
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.
| Dataset | Main annotation | Typical task | Label vocabulary |
|---|---|---|---|
| Visual Genome | Scene graphs and regions | Scene graph generation, VQA | Open, tens of thousands of names |
| ImageNet | One class per image | Image classification | Fixed, about 1,000 classes |
| COCO | Boxes, masks, captions | Detection, segmentation | Fixed, 80 object classes |
| Open Images | Boxes and some relationships | Large-scale detection | Fixed, about 600 box classes |
| Flickr30k | Captions and phrase links | Captioning, grounding | Open text captions |
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.
| Use | Typical subset or setup | What the model learns |
|---|---|---|
| Scene graph generation | VG150 split | Predicting subject, predicate and object triples |
| Region-level detection features | 1,600 objects and 400 attributes | Rich object and attribute embeddings |
| Visual question answering | Question-answer pairs | Answering questions about image content |
| Dense captioning | Region descriptions | Describing many regions in one image |
| Grounding and referring expressions | Regions with phrases | Linking text spans to boxes |
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.