File size: 3,880 Bytes
23ec548
 
4199120
23ec548
 
 
 
 
 
 
da01682
 
 
 
 
 
 
 
 
 
23ec548
 
4199120
23ec548
4199120
23ec548
4199120
23ec548
4199120
23ec548
da01682
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23ec548
4199120
 
da01682
4199120
da01682
4199120
 
 
 
 
 
23ec548
da01682
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4199120
23ec548
da01682
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
license: cc-by-sa-4.0
pretty_name: Multi-step Image Edit (identity drift)
tags:
- image-editing
- human-preference
- benchmark
- identity
size_categories:
- 10K<n<100K
configs:
- config_name: matches
  default: true
  data_files:
  - split: train
    path: data/train-*.parquet
- config_name: photos
  data_files:
  - split: train
    path: photos/train-*.parquet
---

# Multi-step Image Edit: identity drift

Human preference data from Rapidata's [Multi-step Image Editing benchmark](https://www.benchmark.ai/multi-step-image-edit) on benchmark.ai.

Each photograph of a real person gets a chain of five everyday edits on clothing, objects or text in the scene. None of them concerns the face. Every model edits its own output from the step before. Annotators then see two models' faces after the fifth edit next to the original face and pick the one that looks more like the original.

The benchmark page has the method, the settings of every model and the standings.

## Tables

The dataset has two tables, joined by `photo_id`:

- `matches`: one row per pair of faces the annotators compared, with their votes.
- `photos`: one row per photograph (199), with the original, its source and licence, the photo the models edited, the reference face and where the face is.

```python
from datasets import load_dataset

matches = load_dataset("Rapidata/multi-step-image-edit", "matches", split="train")
photos = load_dataset("Rapidata/multi-step-image-edit", "photos", split="train")
```

### `matches`

| Column | Content |
| --- | --- |
| `photo_id` | The photograph, as in `photos` |
| `reference_face` | The original face, shown to annotators as the reference |
| `reference_image` | Link to the photo the models edited (PNG) |
| `step_1` … `step_5` | The five edit instructions |
| `prompt_tags` | Edited items, people in the photo, face size and photo shape |
| `image1`, `image2` | The two models' faces after the fifth edit |
| `model1`, `model2` | The models that made them |
| `weighted_results_image1_identity_drift_at_step_5`, `weighted_results_image2_identity_drift_at_step_5` | Votes for each face, weighted by annotator reliability |
| `detailed_results_identity_drift_at_step_5` | Every vote with the annotator's country, language, demographics and reliability score |

### `photos`

| Column | Content |
| --- | --- |
| `photo_id` | `wc` plus the Wikimedia Commons page id, or the Openverse id |
| `original_image` | The photograph as downloaded from its source |
| `resized_image` | The photo every model received for the first edit: `crop_box` of the original, resized to `resized_width` × `resized_height` (Lanczos) |
| `reference_face` | The same reference face as in `matches` |
| `face_box` | Where the face is in `resized_image`: x0, y0, x1, y1 as fractions of its width and height. `reference_face` is the square this box spans, resized to 768 × 768; each model's face is cut the same way from its fifth edit at the size of `resized_image` |
| `step_1` … `step_5` | The five edit instructions |
| `prompt_tags` | As in `matches` |
| `title`, `source`, `source_page`, `image_url` | Where the photograph comes from |
| `author`, `credit_line`, `licence`, `licence_url` | Who took it and under which licence |
| `original_width`, `original_height` | Size of the original, upright |
| `crop_box` | The part of the upright original that was resized, in pixels: x0, y0, x1, y1 |
| `resized_width`, `resized_height`, `upscaled` | Size of `resized_image`, and whether that meant enlarging the original |

## Licence and credits

The photographs are by their authors under CC0, CC BY or CC BY-SA licences, and the originals in `photos` keep those licences. The faces and edits made from them are shared under CC BY-SA 4.0. Every photograph's author, licence and source page are listed in the `photos` table, `ATTRIBUTION.md` and `metadata/attribution.csv`.