How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?

Hritik Bansal, Da Yin, Masoud Monajatipoor, Kai-Wei Chang
10/27/2022
cs.CLcs.AIcs.LG

Official code: Hritikbansal/entigen_emnlp (12 stars, Python, MIT, last commit 2023-08-16).

Abstract

Text-to-image generative models have achieved unprecedented success in generating high-quality images based on natural language descriptions. However, it is shown that these models tend to favor specific social groups when prompted with neutral text descriptions (e.g., 'a photo of a lawyer').

Show full abstract

Following Zhao et al. (2021), we study the effect on the diversity of the generated images when adding ethical intervention that supports equitable judgment (e.g., 'if all individuals can be a lawyer irrespective of their gender') in the input prompts. To this end, we introduce an Ethical NaTural Language Interventions in Text-to-Image GENeration (ENTIGEN) benchmark dataset to evaluate the change in image generations conditional on ethical interventions across three social axes -- gender, skin color, and culture. Through ENTIGEN framework, we find that the generations from minDALL.E, DALL.E-mini and Stable Diffusion cover diverse social groups while preserving the image quality. Preliminary studies indicate that a large change in the model predictions is triggered by certain phrases such as 'irrespective of gender' in the context of gender bias in the ethical interventions. We release code and annotated data at https://github.com/Hritikbansal/entigen_emnlp.

View on arXivView PDF

Code Implementations(1)

MIT

How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?

121Python, ShellOct 10, 20223 years agoMIT

Similar Papers

Cite this paper

@article{bansal2022well,
  title  = {How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?},
  author = {Hritik Bansal and Da Yin and Masoud Monajatipoor and Kai-Wei Chang},
  year   = {2022},
  eprint = {2210.15230},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15230}
}

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

Discussion