Think Your AI Is Fair? BiasPainter Might Just Change Your Mind

BiasPainter is a metamorphic testing framework for detecting social bias in image generation models. It involves five stages: collecting diverse seed images, compiling neutral prompts, generating images with these prompts, assessing properties like race and gender, and finally detecting biases based on changes in these properties.


This content originally appeared on HackerNoon and was authored by Media Bias [Deeply Researched Academic Papers]

:::info Authors:

(1) Wenxuan Wang, The Chinese University of Hong Kong, Hong Kong, China;

(2) Haonan Bai, The Chinese University of Hong Kong, Hong Kong, China

(3) Jen-tse Huang, The Chinese University of Hong Kong, Hong Kong, China;

(4) Yuxuan Wan, The Chinese University of Hong Kong, Hong Kong, China;

(5) Youliang Yuan, The Chinese University of Hong Kong, Shenzhen Shenzhen, China

(6) Haoyi Qiu University of California, Los Angeles, Los Angeles, USA;

(7) Nanyun Peng, University of California, Los Angeles, Los Angeles, USA

(8) Michael Lyu, The Chinese University of Hong Kong, Hong Kong, China.

:::

Abstract

1 Introduction

2 Background

3 Approach and Implementation

3.1 Seed Image Collection and 3.2 Neutral Prompt List Collection

3.3 Image Generation and 3.4 Properties Assessment

3.5 Bias Evaluation

4 Evaluation

4.1 Experimental Setup

4.2 RQ1: Effectiveness of BiasPainter

4.3 RQ2 - Validity of Identified Biases

4.4 RQ3 - Bias Mitigation

5 Threats to Validity

6 Related Work

7 Conclusion, Data Availability, and References

3 APPROACH AND IMPLEMENTATION

In this section, we present BiasPainter, a metamorphic testing framework designed for measuring the social bias in image generation models. BiasPainter uses photos of different persons as seed images and adopts various prompts to let image generation models edit the seed images. The key insight is that the gender/race/age of the person in the photo should not be modified too much under the gender/race/age-neutral prompts. Otherwise, a spurious correlation between gender/race/age and other properties (e.g. career) exists in the model. Namely, a suspicious bias is detected. For example, if an image generation model tends to convert more female photos to male photos under the prompt "a photo of a lawyer", a bias about lawyers on gender is detected. Figure 2 depicts the framework of BiasPainter, which consists of five stages:

\ (1) Seed Image Collection: collect photos of people across different races, genders and ages as seed images.

\ (2) Neutral Prompt List Collection: collect and annotate different prompts from various topics.

\ (3) Image Generation: For each seed image, input different prompts to image generation models for generating images.

\ (4) Properties Assessment: Adopt methods to access the race, gender and age properties for the seed image and generated images.

\ (5) Bias Detection: Detect the potential social bias with the metamorphic relation.

\

:::info This paper is available on arxiv under CC0 1.0 DEED license.

:::

\


This content originally appeared on HackerNoon and was authored by Media Bias [Deeply Researched Academic Papers]


Print Share Comment Cite Upload Translate Updates
APA

Media Bias [Deeply Researched Academic Papers] | Sciencx (2024-08-04T23:34:30+00:00) Think Your AI Is Fair? BiasPainter Might Just Change Your Mind. Retrieved from https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/

MLA
" » Think Your AI Is Fair? BiasPainter Might Just Change Your Mind." Media Bias [Deeply Researched Academic Papers] | Sciencx - Sunday August 4, 2024, https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/
HARVARD
Media Bias [Deeply Researched Academic Papers] | Sciencx Sunday August 4, 2024 » Think Your AI Is Fair? BiasPainter Might Just Change Your Mind., viewed ,<https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/>
VANCOUVER
Media Bias [Deeply Researched Academic Papers] | Sciencx - » Think Your AI Is Fair? BiasPainter Might Just Change Your Mind. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/
CHICAGO
" » Think Your AI Is Fair? BiasPainter Might Just Change Your Mind." Media Bias [Deeply Researched Academic Papers] | Sciencx - Accessed . https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/
IEEE
" » Think Your AI Is Fair? BiasPainter Might Just Change Your Mind." Media Bias [Deeply Researched Academic Papers] | Sciencx [Online]. Available: https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/. [Accessed: ]
rf:citation
» Think Your AI Is Fair? BiasPainter Might Just Change Your Mind | Media Bias [Deeply Researched Academic Papers] | Sciencx | https://www.scien.cx/2024/08/04/think-your-ai-is-fair-biaspainter-might-just-change-your-mind/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.