Catalog / Vision
VQA v2 (2017)
1.1 million questions about COCO photos, each answered by ten people.
Why it matters
The first VQA dataset (2015) asked people to write questions about a photo that a smart robot could not answer without seeing it. Models soon did well anyway, partly without looking: "what color is the banana?" is usually yellow, and "is there a…?" is usually yes. Version 2 fixed this by pairing each question with a similar image that has a different answer, so language priors alone stop working. It became the standard test of vision-language models for years, from bottom-up attention and ViLBERT to Flamingo and the first multimodal LLMs.
Get the data
# pip install -U huggingface_hub
hf download lmms-lab-encoder/VQAv2 --repo-type dataset \
--local-dir vqa-v2from datasets import load_dataset # pip install datasets
ds = load_dataset("lmms-lab-encoder/VQAv2")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/lmms-lab-encoder/VQAv2@~parquet/default/validation/*.parquet")
print(df.shape)A Parquet copy of the validation and test questions with their COCO images; validation has all ten answers, while test answers were never released. Training questions and annotations are on visualqa.org.
- Year
- 2017
- Creators
- Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, Devi Parikh (Virginia Tech, Army Research Laboratory, Georgia Tech)
- Task
- Visual question answering
- Size
- 204,721 images, 1.1 million questions, 11 million answers
- Splits
- train 443,757 · validation 214,354 · test 447,793
- Input
- A COCO photo and an open-ended question about it
- Labels
- Ten free-form answers per question, typed as yes/no, number or other
- License
- CC BY 4.0 (annotations); images under COCO's Flickr terms
- Paper
- Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answering
Samples

Is a forehand or backhand stroke shown in the scene?
Show the 10 answers
- forehand10×100%

What color is the bike wheels rims?
Show the 10 answers
- orange5×100%
- yellow4×100%
- silver1×33%

Is this a Middle Eastern town?
Show the 10 answers
- yes9×100%
- maybe1×33%

What color are the mans socks?
Show the 10 answers
- purple4×100%
- black3×100%
- blue2×67%
- blue and black1×33%

Where was this taken?
Show the 10 answers
- ocean5×100%
- in summer1×33%
- on lake1×33%
- 19981×33%
- on sea1×33%
- water1×33%

What does the corner of the picture say?
Show the 10 answers
- unknown2×67%
- photo by2×67%
- irfca delhi1×33%
- photo by nin bhardoni1×33%
- irfca-delhi1×33%
- photo by: nhim bharduaf1×33%
- hrfca1×33%
- photo by njan burberry1×33%

What is the speed limit?
Show the 10 answers
- 158×100%
- 15 mph2×67%

What color is the table?
Show the 10 answers
- brown7×100%
- tan3×100%

Was the suitcase zipper open or closed as the photo was being taken?
Show the 10 answers
- open8×100%
- zipped open2×67%

What is brightly colored in the kitchen?
Show the 10 answers
- stove2×67%
- cabinets2×67%
- wall2×67%
- floor and walls1×33%
- floor1×33%
- nothing1×33%
- pot on stove1×33%

Does this look like a natural habitat?
Show the 10 answers
- yes10×100%

What type of animals are shown?
Show the 10 answers
- cows7×100%
- 11×33%
- cows/calves1×33%
- cow1×33%

Is the man right handed or left handed?
Show the 10 answers
- left9×100%
- right1×33%

Is this a private bathroom?
Show the 10 answers
- no9×100%
- yes1×33%

Is the boy standing on brick?
Show the 10 answers
- yes10×100%

Is the fruit ripe?
Show the 10 answers
- no10×100%

Is this the ocean?
Show the 10 answers
- yes10×100%

Is it winter?
Show the 10 answers
- yes10×100%
The percentage is the credit a model gets for each answer: full credit if at least 3 of the 10 people gave it.
What one record actually looks like (raw JSON, row 147216)
{
"answer_type": "other",
"answers": [
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 1
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 2
},
{
"answer": "forehand",
"answer_confidence": "maybe",
"answer_id": 3
},
{
"answer": "forehand",
"answer_confidence": "maybe",
"answer_id": 4
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 5
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 6
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 7
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 8
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 9
},
{
"answer": "forehand",
"answer_confidence": "yes",
"answer_id": 10
}
],
"image": {
"height": 640,
"src": "samples/vqa-v2/147216-image.jpg",
"width": 480
},
"image_id": 86988,
"multiple_choice_answer": "forehand",
"question": "Is a forehand or backhand stroke shown in the scene?",
"question_id": 86988003,
"question_type": "is"
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-08 from lmms-lab-encoder/VQAv2 at revision 32665d3
Worth knowing
- A model's answer earns a third of the credit per person who gave it, up to full credit at three of ten; that is the percentage shown with each answer. The official scorer averages over leave-one-out subsets, so three matches score 0.90.
- About 38% of questions are yes/no, 12% are about numbers, and the rest are "other".
- Many questions have no single right answer. Ten people often disagree on counting, colors and how much detail to give.
- The images are COCO's, so VQA, COCO captions and Visual Genome often describe the same photos.
Related datasets
- DAQUAR: 2014, 12,000 questions about indoor scenes from NYU Depth V2mpi-inf.mpg.de ↗
- VQA v1: 2015, the first version, with the language-prior problemvisualqa.org ↗
- Visual Genome: 2016, 1.7 million questions plus scene graphsHugging Face ↗Visual Genome on this site →
- VizWiz: 2018, photos and spoken questions from blind peoplevizwiz.org ↗
- GQA: 2019, compositional questions generated from Visual Genome's scene graphscs.stanford.edu ↗
- TextVQA: 2019, questions that require reading text inside photosHugging Face ↗TextVQA on this site →
- DocVQA: 2020, reading scanned forms, tables and documentsHugging Face ↗DocVQA on this site →
- MMMU: 2023, college-level questions about imagesHugging Face ↗MMMU on this site →
- MS COCO: 2014, the source of its imagesHugging Face ↗MS COCO on this site →
Landmark papers
- Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering (2018)
- ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Tasks (2019)
- Flamingo: a Visual Language Model for Few-Shot Learning (2022)Flamingo on this site →
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models (BLIP-2) (2023)BLIP-2 on this site →
- Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Models (Molmo) (2024)Molmo on this site →
- PaliGemma: A versatile 3B VLM for transfer (PaliGemma) (2024)PaliGemma on this site →