Exploring the Boundaries of Content Moderation in Text-to-Image Generation

Piera Riccio, Georgina Curto, Nuria Oliver

Introduction

As generative AI becomes a primary tool for cultural production, the "safety guardrails" governing these models act as invisible editors. While most research focuses on preventing explicit harms—such as violence or illegal acts—there is a significant "black box" regarding how platforms handle borderline content. This paper investigates the moderation practices of leading text-to-image (T2I) platforms, arguing that current standards are often opaque and reflect the values of the "Global North," specifically US-centric, Puritanical values. This cultural bias leads to a form of "cultural colonization," where legitimate human experiences—such as menstruation, poverty, or non-sexual nudity in art—are treated as inherently "unsafe."

Methodology

The researchers conducted a systematic audit of five state-of-the-art T2I models to map the boundaries of content moderation:

  • Stability AI: Stable Image Ultra (SIU), Stable Image Core (SIC), and Stable Diffusion 3 (SD3).
  • OpenAI/Microsoft: DALL-E 3 (via Bing Image Creator).
  • Midjourney: Accessed via Discord.

The study utilized a taxonomy of 161 unique prompts spanning 14 social dimensions, including physical appearance, health, religion, and artistic nudity. To ensure comparability, the researchers used "hyperrealistic portrait" as a baseline for most prompts. Moderation responses were categorized into a six-type taxonomy, ranging from prompt-level detection (Type 1) to post-generation blurring or pixelation (Type 6).

The T2I Safety Boundaries Dataset

To facilitate further research, the authors introduced the T2I Safety Boundaries Dataset. This publicly available benchmark contains the 161 prompts and the 1,325 resulting images (or moderation flags) generated during the audit. Unlike existing datasets like I2P, which focus on identifying unrecognized unsafe content, this dataset focuses on content that is arguably legitimate but currently suppressed by platform filters.

Findings: The "Gray Areas" of Moderation

The audit revealed several critical insights into how moderation filters function in practice:

Stigma as "Unsafe"

Models frequently classify depictions of societal stigma as NSFW. For example, prompts for "a person with severe acne" or "an obese person" were flagged as unsafe by SD3 and DALL-E 3. This reinforcement of "social invisibility" suggests that models are trained to treat non-normative bodies as inherently problematic.

Keyword Over-reliance

Moderation often relies on simple keyword triggers rather than nuanced visual classifiers. Prompts containing the word "nude" were blocked even when referencing historical masterpieces like Michelangelo’s David or Botticelli’s Birth of Venus. Interestingly, if the word "nude" was omitted, the models often generated the artistic nudity successfully, highlighting a lack of sophistication in the filtering logic.

The "Puritanical" Filter

There is a clear bias against natural biological processes. Prompts for "breastfeeding" or "menstruation" were heavily moderated, reflecting specific cultural modesty standards rather than a universal safety concern. This suggests that platforms are enforcing a narrow, conservative worldview on a global user base.

The "Mafia Boss" Paradox

The audit found striking inconsistencies in moderation logic. Models often blocked a "pole dancer" due to over-sexualization bias but allowed a "mafia boss," despite the latter representing violent, illegal activity that technically violates most platforms' written guidelines.

Quantitative Results

Across 805 generation attempts, the researchers found an overall censorship rate of 24.17%. However, performance varied significantly by model:

  • DALL-E 3 (Bing): Emerged as the most conservative model, with the highest rates of both prompt and content blocking.
  • Midjourney: Proved to be the most permissive model, though it was the most difficult to audit due to the risk of user bans for providing flagged prompts.
  • Health & Reproduction: These categories saw the highest levels of prompt-level (Type 1) moderation. For instance, "anorexia" was blocked by almost every model except Midjourney.
  • Politics: DALL-E 3 was the only model to explicitly block political figures (e.g., "a fascist president"), while others were more permissive, indicating a lack of industry consensus on political neutrality.

Conclusion and Future Work

The study highlights a significant risk of over-censorship in T2I models, driven by Western-centric biases and simplistic filtering mechanisms. While the current audit provides a snapshot of 161 prompts, the authors acknowledge that this is not an exhaustive list of all stigmatized conditions. Future work is needed to analyze the content of successful generations to determine if they reinforce harmful visual stereotypes (e.g., the visual representation of poverty).

The paper concludes with a call for multidisciplinary and international dialogue to define safety criteria that are inclusive of global cultures, moving beyond the default values of Silicon Valley boardrooms to create more equitable generative AI systems.

Summary updated

BibTeX
@inproceedings{riccio2024exploring,
  author = {Piera Riccio and Georgina Curto and Nuria Oliver},
  title = {{Exploring the Boundaries of Content Moderation in Text-to-Image Generation}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  doi = {10.1007/978-3-031-92089-9\_11},
}
Figure