FairImagen: Post-Processing for Bias Mitigation in Text-to-Image Models

Zihao Fu, Ryan Brown, Shun Shao, Kai Rawal, Eoin Delaney +1 more
10/24/2025
cs.LGcs.CLcs.CV

Official code: fuzihaofzh/FairImagen (6 stars, last commit 2025-12-04).

Abstract

Text-to-image diffusion models, such as Stable Diffusion, have demonstrated remarkable capabilities in generating high-quality and diverse images from natural language prompts. However, recent studies reveal that these models often replicate and amplify societal biases, particularly along demographic attributes like gender and race. In this paper, we introduce FairImagen (https://github.com/fuzihaofzh/FairImagen), a post-hoc debiasing framework that operates on prompt embeddings to mitigate such biases without retraining or modifying the underlying diffusion model. Our method integrates Fair Principal Component Analysis to project CLIP-based input embeddings into a subspace that minimizes group-specific information while preserving semantic content. We further enhance debiasing effectiveness through empirical noise injection and propose a unified cross-demographic projection method that enables simultaneous debiasing across multiple demographic attributes. Extensive experiments across gender, race, and intersectional settings demonstrate that FairImagen significantly improves fairness with a moderate trade-off in image quality and prompt fidelity. Our framework outperforms existing post-hoc methods and offers a simple, scalable, and model-agnostic solution for equitable text-to-image generation.

View on arXivView PDF

Code Implementations(1)

Neurips2025: FairImagen: Post-Processing for Bias Mitigation in Text-to-Image Models

60Shell, PythonOct 8, 202510 months agoNOASSERTION

Similar Papers

Cite this paper

@article{fu2025fairimagen,
  title  = {FairImagen: Post-Processing for Bias Mitigation in Text-to-Image Models},
  author = {Zihao Fu and Ryan Brown and Shun Shao and Kai Rawal and Eoin Delaney and Chris Russell},
  year   = {2025},
  eprint = {2510.21363},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.21363v1}
}

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

Discussion