MineTheGap: Automatic Mining of Biases in Text-to-Image Models
Abstract
Text-to-Image (TTI) models generate images from text prompts that often leave certain aspects ambiguous. When faced with these ambiguities, TTI models have been shown to exhibit biases in their interpretations. This causes societal harm (e.g., reinforcing occupational stereotypes) and degrades user experience by limiting the diversity of generated images. Here, we introduce MineTheGap - a method for automatically mining prompts that cause a TTI model to generate biased outputs. Our method goes beyond merely detecting bias for a given prompt. Rather, it leverages a genetic algorithm to iteratively refine a pool of prompts, seeking those that expose biases. This optimization process is driven by a novel bias score, which ranks biases according to their severity, as we validate on a dataset with known biases. The mined biases expose both model-specific and shared tendencies, facilitating evaluation and comparison.