Datasets:
image image | query_id string | source_file string | text string | entity string | domain string | positive_gallery_ids list | hard_negative_gallery_ids list | text_perturbations list | image_perturbations list |
|---|---|---|---|---|---|---|---|---|---|
bench_0000 | 0000.jpg | What kind of homestay is this? | homestay | place | [
"gallery_08829"
] | [
"gallery_07178",
"gallery_01196",
"gallery_07894",
"gallery_03744",
"gallery_07388",
"gallery_03119",
"gallery_01375",
"gallery_08979"
] | [
{
"type": "char_add",
"text": "What kind of homestaty is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of omestay is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of uomestay is this?",
"changed": true
},
{
"type":... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0000.jpg",
"bench_images/perturbed/low_light/sev2/bench_0000.jpg",
"bench_images/pertu... | |
bench_0001 | 0001.png | What kind of weed does this belong to? | weed | nature | [
"gallery_08350"
] | [
"gallery_04269",
"gallery_02572",
"gallery_06193"
] | [
{
"type": "char_add",
"text": "What kind of weead does this belong to?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of wed does this belong to?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of wred does this belong to?",
"changed": t... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0001.jpg",
"bench_images/perturbed/low_light/sev2/bench_0001.jpg",
"bench_images/pertu... | |
bench_0002 | 0002.jpg | What kind of whisk is this? | whisk | product | [
"gallery_02360"
] | [
"gallery_02864",
"gallery_06576",
"gallery_05671",
"gallery_07859",
"gallery_05551",
"gallery_04230",
"gallery_04575",
"gallery_00214"
] | [
{
"type": "char_add",
"text": "What kind of wvhisk is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of wisk is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of wnisk is this?",
"changed": true
},
{
"type": "char_sw... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0002.jpg",
"bench_images/perturbed/low_light/sev2/bench_0002.jpg",
"bench_images/pertu... | |
bench_0003 | 0003.jpg | What fruit is this? | fruit | food | [
"gallery_02104"
] | [
"gallery_08412",
"gallery_03042",
"gallery_08215",
"gallery_06341",
"gallery_05272",
"gallery_05644"
] | [
{
"type": "char_add",
"text": "What fruqit is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What frut is this?",
"changed": true
},
{
"type": "char_change",
"text": "What fruiy is this?",
"changed": true
},
{
"type": "char_swap",
"text": "What r... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0003.jpg",
"bench_images/perturbed/low_light/sev2/bench_0003.jpg",
"bench_images/pertu... | |
bench_0004 | 0004.jpg | What place is this? | place | place | [
"gallery_02874"
] | [
"gallery_06201",
"gallery_08179",
"gallery_07231",
"gallery_01019",
"gallery_00692",
"gallery_06744"
] | [
{
"type": "char_add",
"text": "What plcace is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What pace is this?",
"changed": true
},
{
"type": "char_change",
"text": "What placs is this?",
"changed": true
},
{
"type": "char_swap",
"text": "What p... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0004.jpg",
"bench_images/perturbed/low_light/sev2/bench_0004.jpg",
"bench_images/pertu... | |
bench_0005 | 0005.jpg | What kind of fish is this? | fish | nature | [
"gallery_08437",
"gallery_07331",
"gallery_01359",
"gallery_04073",
"gallery_04245"
] | [
"gallery_00269",
"gallery_02684",
"gallery_03989",
"gallery_01136",
"gallery_05201",
"gallery_01730",
"gallery_02479",
"gallery_07094",
"gallery_07500",
"gallery_06387",
"gallery_06940",
"gallery_08188",
"gallery_01352"
] | [
{
"type": "char_add",
"text": "What kind of fisgh is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of fsh is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of fush is this?",
"changed": true
},
{
"type": "char_swap"... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0005.jpg",
"bench_images/perturbed/low_light/sev2/bench_0005.jpg",
"bench_images/pertu... | |
bench_0006 | 0006.jpg | What kind of ointment is this? | ointment | product | [
"gallery_02180"
] | [
"gallery_03306",
"gallery_07658",
"gallery_02126",
"gallery_04258",
"gallery_03304",
"gallery_06267",
"gallery_05181",
"gallery_06838"
] | [
{
"type": "char_add",
"text": "What kind of okintment is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of ointent is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of oibtment is this?",
"changed": true
},
{
"type":... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0006.jpg",
"bench_images/perturbed/low_light/sev2/bench_0006.jpg",
"bench_images/pertu... | |
bench_0007 | 0007.jpg | What plant is shown in this picture? | plant | nature | [
"gallery_04393"
] | [
"gallery_08678",
"gallery_02262",
"gallery_00459",
"gallery_04197"
] | [
{
"type": "char_add",
"text": "What plaant is shown in this picture?",
"changed": true
},
{
"type": "char_delete",
"text": "What plan is shown in this picture?",
"changed": true
},
{
"type": "char_change",
"text": "What plamt is shown in this picture?",
"changed": true
... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0007.jpg",
"bench_images/perturbed/low_light/sev2/bench_0007.jpg",
"bench_images/pertu... | |
bench_0008 | 0008.jpg | What kind of bas-relief artwork is this? | bas-relief artwork | culture | [
"gallery_00419"
] | [
"gallery_07487",
"gallery_00002",
"gallery_06352",
"gallery_00828",
"gallery_05470"
] | [
{
"type": "char_add",
"text": "What kind of bas-relifef artwork is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of ba-relief artwork is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of bas-delief artwork is this?",
"chang... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0008.jpg",
"bench_images/perturbed/low_light/sev2/bench_0008.jpg",
"bench_images/pertu... | |
bench_0009 | 0009.jpg | What brand is this battery? | battery | product | [
"gallery_03748"
] | [
"gallery_06889",
"gallery_03275",
"gallery_05821",
"gallery_07095",
"gallery_06463",
"gallery_02299",
"gallery_03806"
] | [
{
"type": "char_add",
"text": "What brand is this battdery?",
"changed": true
},
{
"type": "char_delete",
"text": "What brand is this batery?",
"changed": true
},
{
"type": "char_change",
"text": "What brand is this nattery?",
"changed": true
},
{
"type": "char_sw... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0009.jpg",
"bench_images/perturbed/low_light/sev2/bench_0009.jpg",
"bench_images/pertu... | |
bench_0010 | 0010.jpg | What plant is this? | plant | nature | [
"gallery_05313"
] | [
"gallery_00796",
"gallery_01340",
"gallery_06607",
"gallery_04187"
] | [
{
"type": "char_add",
"text": "What pzlant is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What pant is this?",
"changed": true
},
{
"type": "char_change",
"text": "What plamt is this?",
"changed": true
},
{
"type": "char_swap",
"text": "What p... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0010.jpg",
"bench_images/perturbed/low_light/sev2/bench_0010.jpg",
"bench_images/pertu... | |
bench_0011 | 0011.jpg | What model of laptop computer is this? | laptop computer | product | [
"gallery_00365",
"gallery_08526",
"gallery_08430",
"gallery_07809",
"gallery_01169",
"gallery_04562",
"gallery_01206",
"gallery_04909",
"gallery_01148"
] | [
"gallery_00150",
"gallery_04474",
"gallery_00643",
"gallery_06081"
] | [
{
"type": "char_add",
"text": "What model of lkaptop computer is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What model of lapto computer is this?",
"changed": true
},
{
"type": "char_change",
"text": "What model of laptlp computer is this?",
"changed": t... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0011.jpg",
"bench_images/perturbed/low_light/sev2/bench_0011.jpg",
"bench_images/pertu... | |
bench_0012 | 0012.jpg | What kind of dish is this? | dish | food | [
"gallery_06378"
] | [
"gallery_03249",
"gallery_05693",
"gallery_06603",
"gallery_08443",
"gallery_04178",
"gallery_01563",
"gallery_01453",
"gallery_02924",
"gallery_03241"
] | [
{
"type": "char_add",
"text": "What kind of disyh is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of ish is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of dosh is this?",
"changed": true
},
{
"type": "char_swap"... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0012.jpg",
"bench_images/perturbed/low_light/sev2/bench_0012.jpg",
"bench_images/pertu... | |
bench_0013 | 0013.jpg | What kind of device is this? | device | product | [
"gallery_06601",
"gallery_07308",
"gallery_08199",
"gallery_02213",
"gallery_06849",
"gallery_03246",
"gallery_03631",
"gallery_00501"
] | [
"gallery_06871",
"gallery_05682"
] | [
{
"type": "char_add",
"text": "What kind of devimce is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of deice is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of devive is this?",
"changed": true
},
{
"type": "char... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0013.jpg",
"bench_images/perturbed/low_light/sev2/bench_0013.jpg",
"bench_images/pertu... | |
bench_0014 | 0014.jpg | Who is this Marvel superhero? | marvel superhero | person | [
"gallery_01880"
] | [
"gallery_04771",
"gallery_05097",
"gallery_00904",
"gallery_06063",
"gallery_08488",
"gallery_08934",
"gallery_02158"
] | [
{
"type": "char_add",
"text": "Who is this Marveol superhero?",
"changed": true
},
{
"type": "char_delete",
"text": "Who is this arvel superhero?",
"changed": true
},
{
"type": "char_change",
"text": "Who is this Marvdl superhero?",
"changed": true
},
{
"type": "c... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0014.jpg",
"bench_images/perturbed/low_light/sev2/bench_0014.jpg",
"bench_images/pertu... | |
bench_0015 | 0015.jpg | What kind of cigarette is this? | cigarette | product | [
"gallery_08475"
] | [
"gallery_03514",
"gallery_05402",
"gallery_00607",
"gallery_03763",
"gallery_08650",
"gallery_01049",
"gallery_01388"
] | [
{
"type": "char_add",
"text": "What kind of cigarettde is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of cigarete is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of cigqrette is this?",
"changed": true
},
{
"typ... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0015.jpg",
"bench_images/perturbed/low_light/sev2/bench_0015.jpg",
"bench_images/pertu... | |
bench_0016 | 0016.jpg | What kind of clothing is this man wearing? | clothing | product | [
"gallery_02892"
] | [
"gallery_06373",
"gallery_07456",
"gallery_07485",
"gallery_05351",
"gallery_06392",
"gallery_03341"
] | [
{
"type": "char_add",
"text": "What kind of cmlothing is this man wearing?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of clothin is this man wearing?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of clothijg is this man wearing?",
... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0016.jpg",
"bench_images/perturbed/low_light/sev2/bench_0016.jpg",
"bench_images/pertu... | |
bench_0018 | 0018.jpg | What is this style of illustration? | illustration | culture | [
"gallery_07384"
] | [
"gallery_01533",
"gallery_01844",
"gallery_03106"
] | [
{
"type": "char_add",
"text": "What is this style of illeustration?",
"changed": true
},
{
"type": "char_delete",
"text": "What is this style of illustation?",
"changed": true
},
{
"type": "char_change",
"text": "What is this style of illustrarion?",
"changed": true
},
... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0018.jpg",
"bench_images/perturbed/low_light/sev2/bench_0018.jpg",
"bench_images/pertu... | |
bench_0019 | 0019.jpeg | What is the name of this game character? | game character | person | [
"gallery_04794",
"gallery_03476",
"gallery_07025"
] | [
"gallery_05745"
] | [
{
"type": "char_add",
"text": "What is the name of this gamse character?",
"changed": true
},
{
"type": "char_delete",
"text": "What is the name of this gam character?",
"changed": true
},
{
"type": "char_change",
"text": "What is the name of this gamd character?",
"chang... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0019.jpg",
"bench_images/perturbed/low_light/sev2/bench_0019.jpg",
"bench_images/pertu... | |
bench_0020 | 0020.png | Who are these three actors? | actor | person | [
"gallery_05464"
] | [
"gallery_06644",
"gallery_03311",
"gallery_00908",
"gallery_07176"
] | [
{
"type": "char_add",
"text": "Who are these three afctors?",
"changed": true
},
{
"type": "char_delete",
"text": "Who are these three acors?",
"changed": true
},
{
"type": "char_change",
"text": "Who are these three sctors?",
"changed": true
},
{
"type": "char_sw... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0020.jpg",
"bench_images/perturbed/low_light/sev2/bench_0020.jpg",
"bench_images/pertu... | |
bench_0021 | 0021.jpg | What is this badge? | badge | culture | [
"gallery_07070"
] | [
"gallery_03074",
"gallery_05399",
"gallery_02861",
"gallery_03461",
"gallery_05491"
] | [
{
"type": "char_add",
"text": "What is this baodge?",
"changed": true
},
{
"type": "char_delete",
"text": "What is this adge?",
"changed": true
},
{
"type": "char_change",
"text": "What is this hadge?",
"changed": true
},
{
"type": "char_swap",
"text": "What i... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0021.jpg",
"bench_images/perturbed/low_light/sev2/bench_0021.jpg",
"bench_images/pertu... | |
bench_0022 | 0022.jpg | What is this turtle? | turtle | nature | [
"gallery_05556",
"gallery_03997",
"gallery_08127",
"gallery_05574",
"gallery_06908",
"gallery_03393",
"gallery_05242",
"gallery_04006",
"gallery_03295",
"gallery_08487"
] | [
"gallery_02775",
"gallery_02597"
] | [
{
"type": "char_add",
"text": "What is this turtlme?",
"changed": true
},
{
"type": "char_delete",
"text": "What is this turle?",
"changed": true
},
{
"type": "char_change",
"text": "What is this turtld?",
"changed": true
},
{
"type": "char_swap",
"text": "Wha... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0022.jpg",
"bench_images/perturbed/low_light/sev2/bench_0022.jpg",
"bench_images/pertu... | |
bench_0024 | 0024.jpg | What are the two acne treatment gels shown in the photo? | gel | product | [
"gallery_06105"
] | [
"gallery_02258",
"gallery_08486",
"gallery_04478",
"gallery_01951",
"gallery_04308",
"gallery_01079",
"gallery_03306"
] | [
{
"type": "char_add",
"text": "What are the two acne treatment geels shown in the photo?",
"changed": true
},
{
"type": "char_delete",
"text": "What are the two acne treatment els shown in the photo?",
"changed": true
},
{
"type": "char_change",
"text": "What are the two acne... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0024.jpg",
"bench_images/perturbed/low_light/sev2/bench_0024.jpg",
"bench_images/pertu... | |
bench_0025 | 0025.jpg | What kind of kebab? | kebab | food | [
"gallery_06303",
"gallery_03525",
"gallery_01938",
"gallery_08192",
"gallery_04619",
"gallery_07105",
"gallery_04236"
] | [
"gallery_07916"
] | [
{
"type": "char_add",
"text": "What kind of kebahb?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of keab?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of kevab?",
"changed": true
},
{
"type": "char_swap",
"text": "What k... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0025.jpg",
"bench_images/perturbed/low_light/sev2/bench_0025.jpg",
"bench_images/pertu... | |
bench_0026 | 0026.jpg | What kind of fruit is this? | fruit | food | [
"gallery_03021",
"gallery_02353",
"gallery_02135",
"gallery_07454",
"gallery_05691",
"gallery_06684"
] | [
"gallery_03126",
"gallery_06782"
] | [
{
"type": "char_add",
"text": "What kind of fruqit is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of frut is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of truit is this?",
"changed": true
},
{
"type": "char_sw... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0026.jpg",
"bench_images/perturbed/low_light/sev2/bench_0026.jpg",
"bench_images/pertu... | |
bench_0028 | 0028.jpg | What is this painting? | painting | culture | [
"gallery_03819"
] | [
"gallery_00055",
"gallery_06499",
"gallery_01433",
"gallery_08969",
"gallery_05423",
"gallery_09075",
"gallery_01260",
"gallery_01544"
] | [
{
"type": "char_add",
"text": "What is this paintfing?",
"changed": true
},
{
"type": "char_delete",
"text": "What is this paintng?",
"changed": true
},
{
"type": "char_change",
"text": "What is this oainting?",
"changed": true
},
{
"type": "char_swap",
"text"... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0028.jpg",
"bench_images/perturbed/low_light/sev2/bench_0028.jpg",
"bench_images/pertu... | |
bench_0029 | 0029.jpg | What areas are marked on this map? | area | place | [
"gallery_07260"
] | [
"gallery_07896",
"gallery_01793",
"gallery_05991",
"gallery_00361",
"gallery_02094",
"gallery_06777"
] | [
{
"type": "char_add",
"text": "What apreas are marked on this map?",
"changed": true
},
{
"type": "char_delete",
"text": "What aeas are marked on this map?",
"changed": true
},
{
"type": "char_change",
"text": "What arfas are marked on this map?",
"changed": true
},
{... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0029.jpg",
"bench_images/perturbed/low_light/sev2/bench_0029.jpg",
"bench_images/pertu... | |
bench_0030 | 0030.jpg | What kind of plant is this seedling? | plant | nature | [
"gallery_07622"
] | [
"gallery_02474",
"gallery_03757",
"gallery_06785",
"gallery_01652",
"gallery_02797",
"gallery_02569",
"gallery_08496",
"gallery_06001"
] | [
{
"type": "char_add",
"text": "What kind of planlt is this seedling?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of plnt is this seedling?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of plqnt is this seedling?",
"changed": true
... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0030.jpg",
"bench_images/perturbed/low_light/sev2/bench_0030.jpg",
"bench_images/pertu... | |
bench_0031 | 0031.jpg | Who is this basketball player? | basketball player | person | [
"gallery_08140"
] | [
"gallery_09002",
"gallery_05527"
] | [
{
"type": "char_add",
"text": "Who is this basbketball player?",
"changed": true
},
{
"type": "char_delete",
"text": "Who is this baskeball player?",
"changed": true
},
{
"type": "char_change",
"text": "Who is this basketbwll player?",
"changed": true
},
{
"type":... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0031.jpg",
"bench_images/perturbed/low_light/sev2/bench_0031.jpg",
"bench_images/pertu... | |
bench_0033 | 0033.jpg | What game character is this? | game character | person | [
"gallery_03774"
] | [
"gallery_01761",
"gallery_03626",
"gallery_03951",
"gallery_06432",
"gallery_02476"
] | [
{
"type": "char_add",
"text": "What gvame character is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What gam character is this?",
"changed": true
},
{
"type": "char_change",
"text": "What gake character is this?",
"changed": true
},
{
"type": "char... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0033.jpg",
"bench_images/perturbed/low_light/sev2/bench_0033.jpg",
"bench_images/pertu... | |
bench_0034 | 0034.jpg | What brand is this car? | car | product | [
"gallery_01326",
"gallery_02026"
] | [
"gallery_01407",
"gallery_05686",
"gallery_08020",
"gallery_02962",
"gallery_07803"
] | [
{
"type": "char_add",
"text": "What brand is this cyar?",
"changed": true
},
{
"type": "char_delete",
"text": "What brand is this cr?",
"changed": true
},
{
"type": "char_change",
"text": "What brand is this xar?",
"changed": true
},
{
"type": "char_swap",
"te... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0034.jpg",
"bench_images/perturbed/low_light/sev2/bench_0034.jpg",
"bench_images/pertu... | |
bench_0035 | 0035.jpg | Which brand is this probiotic powder? | probiotic powder | product | [
"gallery_02669",
"gallery_02522",
"gallery_03298"
] | [
"gallery_02330",
"gallery_07102",
"gallery_07282",
"gallery_00788",
"gallery_05277"
] | [
{
"type": "char_add",
"text": "Which brand is this probiotaic powder?",
"changed": true
},
{
"type": "char_delete",
"text": "Which brand is this prbiotic powder?",
"changed": true
},
{
"type": "char_change",
"text": "Which brand is this probiofic powder?",
"changed": true... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0035.jpg",
"bench_images/perturbed/low_light/sev2/bench_0035.jpg",
"bench_images/pertu... | |
bench_0036 | 0036.jpg | What kind of ointment is this? | ointment | product | [
"gallery_06394"
] | [
"gallery_04390",
"gallery_08243",
"gallery_03319",
"gallery_06002",
"gallery_01799",
"gallery_08890",
"gallery_04864",
"gallery_01571"
] | [
{
"type": "char_add",
"text": "What kind of ointmhent is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What kind of ontment is this?",
"changed": true
},
{
"type": "char_change",
"text": "What kind of ointkent is this?",
"changed": true
},
{
"type":... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0036.jpg",
"bench_images/perturbed/low_light/sev2/bench_0036.jpg",
"bench_images/pertu... | |
bench_0037 | 0037.jpg | What variety of rose is this? | rose | nature | [
"gallery_00774",
"gallery_03719",
"gallery_03697",
"gallery_03823",
"gallery_07121",
"gallery_08738",
"gallery_07591",
"gallery_05882"
] | [
"gallery_00154",
"gallery_01065",
"gallery_05101",
"gallery_05347"
] | [
{
"type": "char_add",
"text": "What variety of roswe is this?",
"changed": true
},
{
"type": "char_delete",
"text": "What variety of ros is this?",
"changed": true
},
{
"type": "char_change",
"text": "What variety of rosr is this?",
"changed": true
},
{
"type": "c... | [
{
"type": "low_light",
"category": "Value Change",
"generator_severity": "4",
"parameter_name": "",
"parameter_value": "",
"expected_paths": [
"bench_images/perturbed/low_light/sev1/bench_0037.jpg",
"bench_images/perturbed/low_light/sev2/bench_0037.jpg",
"bench_images/pertu... |
Source repository: https://github.com/zrchen03/SnapBench
SnapBench: Benchmarking Snap-and-Ask Multimodal Retrieval for Mobile Interactions
SnapBench is a benchmark for snap-and-ask mobile interactions: a user captures a photo and asks a short English question. Each query pairs an image with text; the gallery contains image–caption pairs to retrieve from. The benchmark includes a clean split plus text and image perturbations to simulate real-world query degradation.
| Queries | 1,145 (image + text) |
| Gallery | 9,085 items (image + caption) |
| Conditions | 54 (1 clean + 8 text + 45 image perturbations) |
This repository ships the clean benchmark in the standard Hugging Face ImageFolder format. It includes the clean query and gallery images, retrieval annotations, and perturbation metadata. It does not include evaluation code.
What Is Included
| Component | Location | Status |
|---|---|---|
| Query metadata | queries/test/metadata.jsonl |
included |
| Query images | queries/test/images/ (1,145) |
included |
| Gallery metadata | gallery/test/metadata.jsonl (9,085 items) |
included |
| Gallery images | gallery/test/images/ (9,059 unique images) |
included |
| Text perturbations | queries/test/metadata.jsonl → text_perturbations |
included |
| Image perturbation specifications | queries/test/metadata.jsonl → image_perturbations |
included |
| Image perturbation files | 15 types × 3 severity levels × 1,145 queries | generate locally from the source repository |
Setup
Install Hugging Face Datasets:
pip install datasets
Load the two dataset configurations from the Hub:
from datasets import load_dataset
queries = load_dataset("yefd/SnapBench", "queries", split="test")
gallery = load_dataset("yefd/SnapBench", "gallery", split="test")
To load a local copy of this repository:
from datasets import load_dataset
queries = load_dataset(".", "queries", split="test")
gallery = load_dataset(".", "gallery", split="test")
The file_name field in each metadata.jsonl file is automatically exposed as an image column by the Hugging Face ImageFolder builder.
Build the Full Benchmark
This Hugging Face version already includes the clean benchmark (queries, gallery, and text perturbations). The image perturbation specifications are stored in the image_perturbations field of every query. Use the scripts in the source repository to generate all image-perturbed query images locally.
Step 1. Generate image perturbations
Clone and set up the source repository:
git lfs install
git clone https://github.com/zrchen03/SnapBench.git SnapBench_raw
cd SnapBench_raw
git lfs pull
pip install -r requirements.txt
export BENCH_IMAGES_DIR=$(pwd)/bench_images
Generate 15 perturbation types × 3 severity levels (sev1 / sev2 / sev3) × 1,145 queries = 51,675 images:
python benchmark/gen_image_perturbations.py
Output:
bench_images/perturbed/{type}/sev{1,2,3}/{query_id}.jpg
Preview the workload without writing files:
python benchmark/gen_image_perturbations.py --dry-run
To export the generated images as an additional Hugging Face configuration:
python benchmark/export_hf_dataset.py --include-perturbed --overwrite
Step 2. (Optional) Regenerate text perturbations
Text perturbations are already stored in queries/test/metadata.jsonl. Only rerun this in the source repository if you need to rebuild them:
python benchmark/gen_text_perturbations.py \
--gpu 0 --chunk-in chunk_0.json --chunk-out result_0.json
Data Layout
SnapBench/
├── README.md
├── queries/
│ └── test/
│ ├── metadata.jsonl
│ └── images/ # 1,145 query images
└── gallery/
└── test/
├── metadata.jsonl
└── images/ # 9,059 unique gallery images
The dataset exposes two configurations, both with a test split:
queries: clean query images and text, positive and hard-negative gallery IDs, and all text/image perturbation metadata.gallery: image–caption retrieval candidates. It has 9,085 items backed by 9,059 unique image files because some images have more than one caption.
Important fields:
- Query image:
queries/test/metadata.jsonl→file_name(loaded asimage) - Query text:
text - Positive gallery items:
positive_gallery_ids - Hard negatives:
hard_negative_gallery_ids - Gallery image:
gallery/test/metadata.jsonl→file_name(loaded asimage) - Gallery caption:
caption
- Downloads last month
- 31