Multilingual Text-to-Image Generation Magnifies Gender Stereotypes and Prompt Engineering May Not Help You

Felix Friedrich, Katharina Hämmerl, Patrick Schramowski, Jindrich Libovický, Kristian Kersting, Alexander Fraser · OpenReview

Abstract

Text-to-image (T2I) generation models have recently achieved astonishing results in image quality, flexibility, and text alignment and are consequently employed in a fast-growing number of applications. Through improvements in multilingual abilities, a larger community now has access to this kind of technology. Yet, as we will show, multilingual models suffer similarly from (gender) biases as monolingual models. Furthermore, the natural expectation is that these models will provide similar results across languages, but this is not the case and there are important differences between languages. Thus, we propose a novel benchmark MAGBIG intending to foster research in multilingual models without gender bias. We investigate whether multilingual T2I models magnify gender bias with MAGBIG. To this end, we use multilingual prompts requesting portrait images of persons of a certain occupation or trait (using adjectives). Our results show not only that models deviate from the normative assumption that each gender should be equally likely to be generated, but that there are also big differences across languages. Furthermore, we investigate prompt engineering strategies, i.e. the use of indirect, neutral formulations, as a possible remedy for these biases. Unfortunately, they help only to a limited extent and result in worse text-to-image alignment. Consequently, this work calls for more research into diverse representations across languages in image generators.

Introduction

As text-to-image (T2I) models like Stable Diffusion expand their reach globally, they are increasingly utilized by non-English speakers. While the research community has documented significant gender biases in English-centric models, the move toward multilingualism introduces a complex "translation gap." In English, a term like "doctor" is grammatically gender-neutral; however, in languages such as German, Spanish, or Arabic, the same concept often requires a masculine or feminine noun form. This research investigates whether adding more languages to generative AI simply spreads existing biases or if the linguistic structures themselves magnify and complicate societal stereotypes.

The MAGBIG Benchmark

To systematically evaluate these effects, we introduce MAGBIG (Multilingual Assessment of Gender Bias in Image Generation). This new benchmark consists of 3,630 prompts covering 20 adjectives and 150 occupations. These prompts were translated into eight diverse languages—Arabic, German, Spanish, French, Italian, Japanese, Korean, and Chinese—under the supervision of human experts to ensure linguistic accuracy and cultural relevance. MAGBIG serves as a rigorous tool for measuring how different languages influence the gender distribution of generated imagery.

Methodology

Our evaluation protocol involved generating portraits using five state-of-the-art multilingual models: MultiFusion, AltDiffusion, MuLan, CogView4-6B, and Lumina2. We tested three distinct prompt strategies:

  1. Direct Prompts: Using standard occupation nouns (e.g., "a doctor").
  2. Indirect Prompts: Using descriptive, gender-neutral phrases to avoid gendered nouns (e.g., "a person who performs surgery").
  3. Explicit Prompts: Specifically marking gender (e.g., "a female doctor") to test the model's underlying generative capacity.
A generated portrait of a female professional, illustrating the type of output evaluated for gender bias in the MAGBIG benchmark.

Following generation, we employed the FairFace classifier to categorize images by perceived gender. Bias was quantified using the Mean Absolute Deviation (MAD) from a theoretical 50/50 gender split, providing a clear metric for how far a model deviates from gender neutrality.

Key Findings

The Language Lottery

A striking discovery is that the same model, using the same random seed, produces different genders depending on the language of the prompt. For instance, the English prompt "doctor" might result in a female subject, while the German translation "Doktor" (using the generic masculine) consistently yields a male subject. This suggests that bias is not merely a visual artifact but is deeply embedded in language-specific text representations.

Grammatical Gender as a Bias Trigger

In languages with gendered nouns, models almost exclusively default to the "generic masculine" for professional roles. This leads to an overwhelming over-representation of men in high-status or technical occupations. Furthermore, inclusive linguistic attempts, such as the German "gender star" (e.g., Doktor*in), often confuse models due to tokenization issues, sometimes causing an inconsistent "flip" to exclusively female results rather than achieving a balanced distribution.

A generated portrait of a male professional, reflecting the masculine default often triggered by generic masculine nouns in multilingual models.

The Failure of "Neutral" Prompt Engineering

While indirect, descriptive prompts (e.g., "a person who manages finances" instead of "accountant") did slightly reduce MAD scores, they introduced a "neutrality penalty." These complex prompts resulted in lower CLIP alignment scores, meaning the generated images were less relevant to the intended occupation. In many cases, the model failed to generate a clear face entirely when faced with indirect phrasing.

Discussion and Limitations

While the study highlights critical flaws in current T2I models, it is constrained by the binary (male/female) classification systems available in current automated vision tools. This limitation prevents the assessment of non-binary or gender-diverse identities. Additionally, the FairFace classifier itself may harbor internal biases. We also observed that models performed significantly worse on "out-of-distribution" languages they were not specifically trained on, such as Arabic or Japanese for certain architectures, often producing distorted results.

Conclusion

Our results demonstrate that multilingual T2I models do not naturally resolve gender bias; instead, they often magnify it through linguistic defaults. While models possess the technical capability to generate diverse images when explicitly forced (via explicit gender prompts), their default associations remain heavily stereotyped. This work calls for a fundamental shift in research, focusing on better tokenization for inclusive language and the development of training datasets that decouple professional roles from specific linguistic genders.

Summary updated

Abstract

Text-to-image generation models have recently achieved astonishing results in image quality, flexibility, and text alignment and are consequently employed in a fast-growing number of applications. Through improvements in multilingual abilities, a larger community now has access to this kind of technology. Yet, as we will show, multilingual models suffer similarly from (gender) biases as monolingual models. Furthermore, the natural expectation is that these models will provide similar results across languages, but this is not the case and there are important differences between languages. Thus, we propose a novel benchmark MAGBIG intending to foster research in multilingual models without gender bias. We investigate whether multilingual T2I models magnify gender bias with MAGBIG. To this end, we use multilingual prompts requesting portrait images of persons of a certain occupation or trait (using adjectives). Our results show not only that models deviate from the normative assumption that each gender should be equally likely to be generated, but that there are also big differences across languages. Furthermore, we investigate prompt engineering strategies, i.e. the use of indirect, neutral formulations, as a possible remedy for these biases. Unfortunately, they help only to a limited extent and result in worse text-to-image alignment. Consequently, this work calls for more research into diverse representations across languages in image generators.
BibTeX
@misc{friedrich2024multilingual,
  author = {Felix Friedrich and Katharina Hämmerl and Patrick Schramowski and Jindrich Libovický and Kristian Kersting and Alexander Fraser},
  title = {{Multilingual Text-to-Image Generation Magnifies Gender Stereotypes and Prompt Engineering May Not Help You}},
  year = {2024},
  eprint = {2401.16092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.16092},
}
Figure