uc-benchmark: yes/no questions about images
The evaluation suite of the universal-classifier project: given an image and a yes/no question about it ("Is the earring silver?", "Is the cat left of the dog?"), predict a calibrated P(yes). We report AUROC and ECE per benchmark.
584,901 questions on 24,483 images (3.7 GiB) from 11 benchmarks. All of them were converted from existing human-labelled datasets into a common binary format.
Loading
from datasets import load_dataset
questions = load_dataset("LGirrbach/uc-benchmark", "questions", split="test") # image_id, benchmark, question, answer
images = load_dataset("LGirrbach/uc-benchmark", "images", split="test") # image_id, image (PIL)
idx = {iid: i for i, iid in enumerate(images["image_id"])}
q = questions[0]
img = images[idx[q["image_id"]]]["image"]
Hugging Face splits of one config must share their columns, so the two tables are two configs, questions and
images, each with a single test split.
| config | column | content |
|---|---|---|
questions |
image_id |
key into images |
benchmark |
benchmark name (table below) | |
question |
the question, or for VSR and VALSE the statement / caption to verify | |
answer |
yes or no |
|
images |
image_id |
<image source>/<path in that source>, e.g. coco2017/val2017/000000000139.jpg |
image |
the image (original file bytes) |
An image used by several benchmarks is stored once. The image ids match the image_source/image_path columns of
LGirrbach/uc-dataset (training data); none of these images appears in its train or validation split.
Benchmarks
Core
| benchmark | images | questions | yes |
|---|---|---|---|
coco_exist |
4,929 | 393,879 | 3.5% |
vqav2 |
4,004 | 9,129 | 48.3% |
gqa |
1,496 | 7,581 | 50.9% |
vsr |
1,874 | 2,195 | 53.8% |
ovad |
500 | 15,023 | 50.7% |
vaw |
1,714 | 15,008 | 39.6% |
paco_part |
2,537 | 11,788 | 66.3% |
paco_attr |
629 | 15,010 | 50.0% |
valse |
6,069 | 15,404 | 50.0% |
| benchmark | what it evaluates | source paper |
|---|---|---|
coco_exist |
Object presence: "Is there a {category} in the image?" for all 80 COCO categories on 4.9k held-out COCO train2017 images, labelled by the COCO instance annotations. Only 3.5% yes (calibration under a skewed share of yes answers). | COCO |
vqav2 |
Open-ended human questions about everyday scenes (objects, activities, attributes, counting, common sense). Kept: at least 8 of 10 human answers are yes/no and at least 70% agree. | VQAv2 |
gqa |
Compositional, multi-step questions generated from human scene graphs (objects, relations, attributes, comparisons); balanced split. | GQA |
vsr |
True/false statements about the spatial relation of two objects (66 relation types: left/right, front/behind, on, touching, facing, ...); official random-split test set. | VSR |
ovad |
117 human-annotated attributes of uniquely referable objects on COCO val2017 (colour, material, pattern, texture, cleanliness, maturity, expression, colour quantity, position, ...). | OVAD |
vaw |
"Is the {object} {attribute}?" on Visual Genome / COCO images: colour, material, shape, size, texture, state, activity. | VAW |
paco_part |
Part presence on everyday objects: "Does the {object} have a {part}?" for optional parts. | PACO |
paco_attr |
Colour, pattern/marking, material and transparency of objects and their parts (no same-hue colour negatives). | PACO |
valse |
Caption vs. minimally changed foil over 11 linguistic phenomena: existence, plurals, counting (3), relations, action replacement, actant swap, coreference (2), FOIL-it. Only validated samples. | VALSE, FOIL it! |
Additional existence benchmarks
| benchmark | images | questions | yes |
|---|---|---|---|
lvis |
5,447 | 66,579 | 26.7% |
openimages_test |
5,000 | 33,305 | 60.8% |
| benchmark | what it evaluates | source paper |
|---|---|---|
lvis |
Existence over the 1,203 LVIS categories (long tail, including rare classes). LVIS is federated: per image, only the annotated categories (yes) and the verified-absent categories (no) are asked. Images: all COCO val2017 images in LVIS v1 val plus those of the held-out COCO train2017 shard (the other LVIS val images are COCO train2017 images used for training). | LVIS |
openimages_test |
Existence over the 600 boxable OpenImages classes on 5,000 randomly sampled OpenImages V7 test images (seed 0, upright images only), using the human-verified image-level labels. Verified-absent labels were proposed by a classifier and rejected by annotators, so the negatives are hard. Images are downscaled to a maximum side of 1024 px. | Open Images |
Notes
- Order: questions keep the benchmark file order. For
valse, each caption (yes) is immediately followed by its foil (no) on the same image, so pairwise accuracy can be computed from consecutive rows. - Not exported: question types (e.g. VSR relation, OVAD attribute type, VALSE subset), soft labels, grounding boxes.
- Shared images:
coco_exist,vqav2andgqashare most images (one held-out COCO shard);paco_partandpaco_attrshare 415 images;lvisshares images withovadandcoco_exist. - Image sources: coco2017 (17,245), openimages_v7 (5,000), swig (1,102), visual_genome (1,032), visdial_v1.0_val2018 (104). Images and annotations keep the licences and terms of their original datasets (see the linked papers / dataset pages). This collection is for research evaluation.
- Downloads last month
- 59
Papers for LGirrbach/uc-benchmark
Paper • 2211.12914 • Published
PACO: Parts and Attributes of Common Objects
Paper • 2301.01795 • Published
Visual Spatial Reasoning
Paper • 2205.00363 • Published
VALSE: A Task-Independent Benchmark for Vision and Language Models Centered on Linguistic Phenomena
Paper • 2112.07566 • Published
Learning to Predict Visual Attributes in the Wild
Paper • 2106.09707 • Published