MoESD: Mixture of Experts Stable Diffusion to Mitigate Gender Bias

Guorun Wang, Lucia Specia
6/25/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Text-to-image models are known to propagate social biases. For example, when prompted to generate images of people in certain professions, these models tend to systematically generate specific genders or ethnicities. In this paper, we show that this bias is already present in the text encoder of the model and introduce a Mixture-of-Experts approach by identifying text-encoded bias in the latent space and then creating a Bias-Identification Gate mechanism. More specifically, we propose MoESD (Mixture of Experts Stable Diffusion) with BiAs (Bias Adapters) to mitigate gender bias in text-to-image models. We also demonstrate that introducing an arbitrary special token to the prompt is essential during the mitigation process. With experiments focusing on gender bias, we show that our approach successfully mitigates gender bias while maintaining image quality.

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{wang2024moesd,
  title  = {MoESD: Mixture of Experts Stable Diffusion to Mitigate Gender Bias},
  author = {Guorun Wang and Lucia Specia},
  year   = {2024},
  eprint = {2407.11002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.11002v2}
}

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

Discussion