MineTheGap: Automatic Mining of Biases in Text-to-Image Models

Cohen, Noa, Spingarn-Eliezer, Nurit, Huberman-Spiegelglas, Inbar, Michaeli, Tomer

–arXiv.org Artificial Intelligence 

By controlling the meta prompts used for Llama 3.1-8BInstruct, we manage to capture specific biases such as gender and race. On the left pane, all images show a male firefighter although the prompt is gender-free. On the right pane, all images show a Caucasian toddler. The variations, on the other hand, are much more diverse including a female firefighter, a toddler of Asian decent, and a toddler with curly brown hair. Figure S22 presents four examples of prompts that illustrate targeting additional specific biases. To surface biases of specific object categories, the LLM was instructed to generate prompts that include an adequate object in both random and mutations phases, and instructed to vary features of the object and its setting during the textual variations phase. For bias in the style of the outputs, only the meta-prompt instructing to generate variations differs from the open-set setting, asking to explore different image styles. Independent runs were conducted on general objects, food items, clothing, and image styles, and Fig. S22 mentions the setting each shown prompt was mined for. Thanks to the prompt variations which exhibit greater diversity under each subject, we manage to capture these biased prompts, highlighting the flexibility of our method in automatically mining specific kinds of representational biases when desired.