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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: OccuBiasBench
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- visual-question-answering
|
| 7 |
+
tags:
|
| 8 |
+
- vision-language-models
|
| 9 |
+
- multimodal
|
| 10 |
+
- bias
|
| 11 |
+
- fairness
|
| 12 |
+
- gender-bias
|
| 13 |
+
- occupational-bias
|
| 14 |
+
- synthetic-data
|
| 15 |
+
- isco-08
|
| 16 |
+
- vlm-evaluation
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# OccuBiasBench
|
| 20 |
+
|
| 21 |
+
**OccuBiasBench** is a controlled synthetic paired-image benchmark for evaluating **occupational gender bias in Vision-Language Models (VLMs)**.
|
| 22 |
+
|
| 23 |
+
The benchmark is designed to study whether VLMs associate occupational status, professional attributes, and earning potential differently with men and women under controlled visual conditions.
|
| 24 |
+
|
| 25 |
+
Each image contains **two individuals from the same occupational category**, generated to match in:
|
| 26 |
+
|
| 27 |
+
- occupation,
|
| 28 |
+
- ethnicity,
|
| 29 |
+
- age range,
|
| 30 |
+
- exact age,
|
| 31 |
+
- workplace context,
|
| 32 |
+
|
| 33 |
+
while varying the **gender and spatial order** of the two subjects.
|
| 34 |
+
|
| 35 |
+
For every demographic–occupation configuration, OccuBiasBench includes counterbalanced images with both:
|
| 36 |
+
|
| 37 |
+
- `woman-man`
|
| 38 |
+
- `man-woman`
|
| 39 |
+
|
| 40 |
+
orders.
|
| 41 |
+
|
| 42 |
+
This counterbalancing enables the evaluation of gender preference while also measuring potential **spatial or positional biases**.
|
| 43 |
+
|
| 44 |
+
> **Code, prompts, inference, and evaluation:**
|
| 45 |
+
> https://github.com/NLP-UMUTeam/OccuBiasBench
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## Dataset Summary
|
| 50 |
+
|
| 51 |
+
The released metadata contains **5,740 synthetic images**, corresponding to a balanced factorial design over occupation, ethnicity, age, and gender order.
|
| 52 |
+
|
| 53 |
+
| Property | Value |
|
| 54 |
+
|---|---:|
|
| 55 |
+
| Images | 5,740 |
|
| 56 |
+
| Counterbalanced image pairs | 2,870 |
|
| 57 |
+
| ISCO-08 major groups | 10 |
|
| 58 |
+
| ISCO-08 sub-major occupational groups | 41 |
|
| 59 |
+
| Ethnicity categories | 7 |
|
| 60 |
+
| Age groups | 5 |
|
| 61 |
+
| Exact ages | 10 |
|
| 62 |
+
| Gender orders | 2 |
|
| 63 |
+
| Subjects per image | 2 |
|
| 64 |
+
| Image resolution | 1024 × 1024 |
|
| 65 |
+
| Generation model | `Tongyi-MAI/Z-Image-Turbo` |
|
| 66 |
+
| Inference steps | 9 |
|
| 67 |
+
| Guidance scale | 0.0 |
|
| 68 |
+
|
| 69 |
+
The full factorial design is:
|
| 70 |
+
|
| 71 |
+
```text
|
| 72 |
+
41 occupations
|
| 73 |
+
× 7 ethnicity categories
|
| 74 |
+
× 5 age groups
|
| 75 |
+
× 2 exact ages per age group
|
| 76 |
+
× 2 gender orders
|
| 77 |
+
= 5,740 images
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## Dataset Structure
|
| 83 |
+
|
| 84 |
+
A typical Hugging Face release is organized as:
|
| 85 |
+
|
| 86 |
+
```text
|
| 87 |
+
OccuBiasBench/
|
| 88 |
+
├── README.md
|
| 89 |
+
├── metadata.jsonl
|
| 90 |
+
└── images/
|
| 91 |
+
├── isco_01_armed_forces_occupations_....png
|
| 92 |
+
├── isco_01_armed_forces_occupations_....png
|
| 93 |
+
└── ...
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
Each row in `metadata.jsonl` describes one image and contains both image-generation information and controlled demographic attributes.
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## Dataset Fields
|
| 101 |
+
|
| 102 |
+
### Image identification
|
| 103 |
+
|
| 104 |
+
| Field | Description |
|
| 105 |
+
|---|---|
|
| 106 |
+
| `id` | Unique image identifier |
|
| 107 |
+
| `file_name` | Image filename/path used to associate the metadata row with the image |
|
| 108 |
+
| `file_path` | Original image path used during generation |
|
| 109 |
+
|
| 110 |
+
### Occupational information
|
| 111 |
+
|
| 112 |
+
| Field | Description |
|
| 113 |
+
|---|---|
|
| 114 |
+
| `isco_major_group_code` | ISCO-08 major group code |
|
| 115 |
+
| `isco_major_group_label` | ISCO-08 major group name |
|
| 116 |
+
| `isco_sub_major_group_code` | ISCO-08 sub-major group code |
|
| 117 |
+
| `isco_sub_major_group_label` | ISCO-08 sub-major occupational group |
|
| 118 |
+
| `profession` | Occupational category represented in the image |
|
| 119 |
+
| `profession_type` | Granularity of the occupational category |
|
| 120 |
+
| `subject_1_profession` | Occupation assigned to subject 1 |
|
| 121 |
+
| `subject_2_profession` | Occupation assigned to subject 2 |
|
| 122 |
+
|
| 123 |
+
The released benchmark contains **41 ISCO-08 sub-major occupational groups** covering all **10 ISCO-08 major groups**.
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
+
|
| 127 |
+
### Demographic information
|
| 128 |
+
|
| 129 |
+
| Field | Description |
|
| 130 |
+
|---|---|
|
| 131 |
+
| `subject_1_gender` | Gender of the first subject |
|
| 132 |
+
| `subject_2_gender` | Gender of the second subject |
|
| 133 |
+
| `gender_order` | Spatial gender order: `woman-man` or `man-woman` |
|
| 134 |
+
| `ethnicity` | Controlled ethnicity category |
|
| 135 |
+
| `ethnicity_descriptor` | Text descriptor used during generation |
|
| 136 |
+
| `age_bucket` | Controlled age range |
|
| 137 |
+
| `exact_age` | Exact age shared by both subjects |
|
| 138 |
+
| `age_min` | Minimum age of the corresponding age group |
|
| 139 |
+
| `age_max` | Maximum age of the corresponding age group |
|
| 140 |
+
| `age_descriptor` | Natural-language age descriptor |
|
| 141 |
+
| `subject_1_age` | Exact age of subject 1 |
|
| 142 |
+
| `subject_2_age` | Exact age of subject 2 |
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
### Controlled-pair information
|
| 147 |
+
|
| 148 |
+
| Field | Description |
|
| 149 |
+
|---|---|
|
| 150 |
+
| `subjects_count` | Number of people in the image |
|
| 151 |
+
| `same_profession` | Whether both subjects have the same occupation |
|
| 152 |
+
| `same_ethnicity` | Whether both subjects have the same ethnicity |
|
| 153 |
+
| `same_age_range` | Whether both subjects belong to the same age group |
|
| 154 |
+
| `same_exact_age` | Whether both subjects have the same exact age |
|
| 155 |
+
| `combo_key` | Identifier for an occupation × ethnicity × age-group configuration |
|
| 156 |
+
| `combo_exact_age_key` | Identifier additionally including exact age |
|
| 157 |
+
| `pair_index_within_combo` | Counterbalanced image index within a configuration |
|
| 158 |
+
|
| 159 |
+
All released records contain **two subjects** designed to share the same profession, ethnicity, age group, and exact age.
|
| 160 |
+
|
| 161 |
+
---
|
| 162 |
+
|
| 163 |
+
### Image-generation information
|
| 164 |
+
|
| 165 |
+
| Field | Description |
|
| 166 |
+
|---|---|
|
| 167 |
+
| `prompt` | Prompt used to generate the image |
|
| 168 |
+
| `negative_prompt` | Negative generation prompt |
|
| 169 |
+
| `scene` | Controlled occupational environment |
|
| 170 |
+
| `detail` | Additional photographic details |
|
| 171 |
+
| `style` | Image-generation style |
|
| 172 |
+
| `shot_type` | Camera framing |
|
| 173 |
+
| `seed` | Random seed |
|
| 174 |
+
| `height` | Generated image height |
|
| 175 |
+
| `width` | Generated image width |
|
| 176 |
+
| `num_inference_steps` | Number of diffusion inference steps |
|
| 177 |
+
| `guidance_scale` | Guidance scale |
|
| 178 |
+
| `model_id` | Image-generation model |
|
| 179 |
+
|
| 180 |
+
Images were generated using:
|
| 181 |
+
|
| 182 |
+
```text
|
| 183 |
+
Tongyi-MAI/Z-Image-Turbo
|
| 184 |
+
```
|
| 185 |
+
|
| 186 |
+
at a resolution of:
|
| 187 |
+
|
| 188 |
+
```text
|
| 189 |
+
1024 × 1024
|
| 190 |
+
```
|
| 191 |
+
|
| 192 |
+
---
|
| 193 |
+
|
| 194 |
+
## Demographic Coverage
|
| 195 |
+
|
| 196 |
+
### Ethnicity
|
| 197 |
+
|
| 198 |
+
OccuBiasBench contains seven controlled ethnicity categories:
|
| 199 |
+
|
| 200 |
+
1. American Indian or Alaska Native
|
| 201 |
+
2. Asian
|
| 202 |
+
3. Black or African American
|
| 203 |
+
4. Hispanic or Latino
|
| 204 |
+
5. Middle Eastern or North African
|
| 205 |
+
6. Native Hawaiian or Pacific Islander
|
| 206 |
+
7. White
|
| 207 |
+
|
| 208 |
+
Each ethnicity contains the same number of generated images:
|
| 209 |
+
|
| 210 |
+
```text
|
| 211 |
+
820 images per ethnicity
|
| 212 |
+
```
|
| 213 |
+
|
| 214 |
+
---
|
| 215 |
+
|
| 216 |
+
### Age
|
| 217 |
+
|
| 218 |
+
Five age ranges are represented:
|
| 219 |
+
|
| 220 |
+
| Age group | Exact ages |
|
| 221 |
+
|---|---|
|
| 222 |
+
| `18-29` | 18, 25 |
|
| 223 |
+
| `30-39` | 30, 35 |
|
| 224 |
+
| `40-49` | 40, 45 |
|
| 225 |
+
| `50-59` | 50, 55 |
|
| 226 |
+
| `60-70` | 60, 65 |
|
| 227 |
+
|
| 228 |
+
Each age group contains:
|
| 229 |
+
|
| 230 |
+
```text
|
| 231 |
+
1,148 images
|
| 232 |
+
```
|
| 233 |
+
|
| 234 |
+
---
|
| 235 |
+
|
| 236 |
+
### Gender Order
|
| 237 |
+
|
| 238 |
+
The benchmark is exactly counterbalanced by gender position:
|
| 239 |
+
|
| 240 |
+
| Gender order | Images |
|
| 241 |
+
|---|---:|
|
| 242 |
+
| `woman-man` | 2,870 |
|
| 243 |
+
| `man-woman` | 2,870 |
|
| 244 |
+
|
| 245 |
+
This design makes it possible to separate **gender preference** from **left/right position preference**.
|
| 246 |
+
|
| 247 |
+
---
|
| 248 |
+
|
| 249 |
+
## Repository
|
| 250 |
+
|
| 251 |
+
**OccuBiasBench**
|
| 252 |
+
|
| 253 |
+
https://github.com/NLP-UMUTeam/OccuBiasBench
|
| 254 |
+
|
| 255 |
+
The repository contains the generation pipeline, prompts, inference code, evaluation scripts, and experimental outputs associated with the benchmark.
|
| 256 |
+
|
| 257 |
+
---
|