Document the VDiff-Bench release
Browse files
README.md
CHANGED
|
@@ -33,3 +33,49 @@ configs:
|
|
| 33 |
- split: train
|
| 34 |
path: data/train-*
|
| 35 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
- split: train
|
| 34 |
path: data/train-*
|
| 35 |
---
|
| 36 |
+
|
| 37 |
+
# VDiff-Bench
|
| 38 |
+
|
| 39 |
+
VDiff-Bench is a multiple-choice benchmark for fine-grained visual difference identification. Each example presents two similar images and four candidate descriptions, exactly one of which states a real difference between the images.
|
| 40 |
+
|
| 41 |
+
## Dataset structure
|
| 42 |
+
|
| 43 |
+
The `train` split contains 1,756 questions with the following fields:
|
| 44 |
+
|
| 45 |
+
- `id`: stable example identifier.
|
| 46 |
+
- `image_1`, `image_2`: the paired images.
|
| 47 |
+
- `choices`: an object containing answer choices `A`, `B`, `C`, and `D`.
|
| 48 |
+
- `ground_truth`: label of the correct choice.
|
| 49 |
+
- `category`: visual change category.
|
| 50 |
+
|
| 51 |
+
The public release intentionally excludes source identifiers, intermediate difference annotations, generated-negative metadata, and other dataset-construction fields.
|
| 52 |
+
|
| 53 |
+
## Change categories
|
| 54 |
+
|
| 55 |
+
| Category | Questions |
|
| 56 |
+
|---|---:|
|
| 57 |
+
| Change of position | 158 |
|
| 58 |
+
| Change of motion | 138 |
|
| 59 |
+
| Change of color (regional) | 170 |
|
| 60 |
+
| Change of color (whole image) | 147 |
|
| 61 |
+
| Appear / disappear | 201 |
|
| 62 |
+
| Change of noise / resolution | 150 |
|
| 63 |
+
| Change of texture | 177 |
|
| 64 |
+
| Substitution and size | 199 |
|
| 65 |
+
| OCR | 221 |
|
| 66 |
+
| Illumination | 195 |
|
| 67 |
+
|
| 68 |
+
## Loading
|
| 69 |
+
|
| 70 |
+
```python
|
| 71 |
+
from datasets import load_dataset
|
| 72 |
+
|
| 73 |
+
dataset = load_dataset("elaine1wan/image_diff_data", split="train")
|
| 74 |
+
example = dataset[0]
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
`image_1` and `image_2` are decoded as PIL images by default. Benchmark performance is measured using exact-match accuracy on `ground_truth`.
|
| 78 |
+
|
| 79 |
+
## Citation
|
| 80 |
+
|
| 81 |
+
Citation information will be added with the accompanying paper release.
|