Fair Text-to-Image Diffusion via Fair Mapping

Jia Li, Lijie Hu, Jingfeng Zhang, Tianhang Zheng, Hua Zhang +1 more
11/29/2023
cs.CVcs.AIcs.CY

No official code found. Best implementation: sail-sg/finetune-fair-diffusion (47 stars, MIT, last commit 2024-04-26).

Abstract

In this paper, we address the limitations of existing text-to-image diffusion models in generating demographically fair results when given human-related descriptions. These models often struggle to disentangle the target language context from sociocultural biases, resulting in biased image generation. To overcome this challenge, we propose Fair Mapping, a flexible, model-agnostic, and lightweight approach that modifies a pre-trained text-to-image diffusion model by controlling the prompt to achieve fair image generation. One key advantage of our approach is its high efficiency. It only requires updating an additional linear network with few parameters at a low computational cost. By developing a linear network that maps conditioning embeddings into a debiased space, we enable the generation of relatively balanced demographic results based on the specified text condition. With comprehensive experiments on face image generation, we show that our method significantly improves image generation fairness with almost the same image quality compared to conventional diffusion models when prompted with descriptions related to humans. By effectively addressing the issue of implicit language bias, our method produces more fair and diverse image outputs.

View on arXivView PDF

Code Implementations(1)

MIT

Code of the paper: Finetuning Text-to-Image Diffusion Models for Fairness

474Shell, PythonDec 3, 20232 years agoMIT
diffusion-modelsfairnesstext-to-imagetrustworthy-ai

Similar Papers

Cite this paper

@article{li2023fair,
  title  = {Fair Text-to-Image Diffusion via Fair Mapping},
  author = {Jia Li and Lijie Hu and Jingfeng Zhang and Tianhang Zheng and Hua Zhang and Di Wang},
  year   = {2023},
  eprint = {2311.17695},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.17695v2}
}

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/2311.17695.svg)](https://codeofpaper.com/paper/2311.17695)

Discussion