Using LLMs as prompt modifier to avoid biases in AI image generators

René Peinl
4/15/2025
cs.CLcs.CVcs.CY

No confident code implementation found for this paper.

Abstract

This study examines how Large Language Models (LLMs) can reduce biases in text-to-image generation systems by modifying user prompts. We define bias as a model's unfair deviation from population statistics given neutral prompts. Our experiments with Stable Diffusion XL, 3.5 and Flux demonstrate that LLM-modified prompts significantly increase image diversity and reduce bias without the need to change the image generators themselves. While occasionally producing results that diverge from original user intent for elaborate prompts, this approach generally provides more varied interpretations of underspecified requests rather than superficial variations. The method works particularly well for less advanced image generators, though limitations persist for certain contexts like disability representation. All prompts and generated images are available at https://iisys-hof.github.io/llm-prompt-img-gen/

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{peinl2025using,
  title  = {Using LLMs as prompt modifier to avoid biases in AI image generators},
  author = {René Peinl},
  year   = {2025},
  eprint = {2504.11104},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.11104v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.11104.svg)](https://codeofpaper.com/paper/2504.11104)

Discussion