Leveraging Diffusion Perturbations for Measuring Fairness in Computer Vision

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lui, Nicholas, Chia, Bryan, Berrios, William, Ross, Candace, Kiela, Douwe
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917586749358080
author Lui, Nicholas
Chia, Bryan
Berrios, William
Ross, Candace
Kiela, Douwe
author_facet Lui, Nicholas
Chia, Bryan
Berrios, William
Ross, Candace
Kiela, Douwe
contents Computer vision models have been known to encode harmful biases, leading to the potentially unfair treatment of historically marginalized groups, such as people of color. However, there remains a lack of datasets balanced along demographic traits that can be used to evaluate the downstream fairness of these models. In this work, we demonstrate that diffusion models can be leveraged to create such a dataset. We first use a diffusion model to generate a large set of images depicting various occupations. Subsequently, each image is edited using inpainting to generate multiple variants, where each variant refers to a different perceived race. Using this dataset, we benchmark several vision-language models on a multi-class occupation classification task. We find that images generated with non-Caucasian labels have a significantly higher occupation misclassification rate than images generated with Caucasian labels, and that several misclassifications are suggestive of racial biases. We measure a model's downstream fairness by computing the standard deviation in the probability of predicting the true occupation label across the different perceived identity groups. Using this fairness metric, we find significant disparities between the evaluated vision-and-language models. We hope that our work demonstrates the potential value of diffusion methods for fairness evaluations.
format Preprint
id arxiv_https___arxiv_org_abs_2311_15108
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Leveraging Diffusion Perturbations for Measuring Fairness in Computer Vision
Lui, Nicholas
Chia, Bryan
Berrios, William
Ross, Candace
Kiela, Douwe
Computer Vision and Pattern Recognition
Artificial Intelligence
Computer vision models have been known to encode harmful biases, leading to the potentially unfair treatment of historically marginalized groups, such as people of color. However, there remains a lack of datasets balanced along demographic traits that can be used to evaluate the downstream fairness of these models. In this work, we demonstrate that diffusion models can be leveraged to create such a dataset. We first use a diffusion model to generate a large set of images depicting various occupations. Subsequently, each image is edited using inpainting to generate multiple variants, where each variant refers to a different perceived race. Using this dataset, we benchmark several vision-language models on a multi-class occupation classification task. We find that images generated with non-Caucasian labels have a significantly higher occupation misclassification rate than images generated with Caucasian labels, and that several misclassifications are suggestive of racial biases. We measure a model's downstream fairness by computing the standard deviation in the probability of predicting the true occupation label across the different perceived identity groups. Using this fairness metric, we find significant disparities between the evaluated vision-and-language models. We hope that our work demonstrates the potential value of diffusion methods for fairness evaluations.
title Leveraging Diffusion Perturbations for Measuring Fairness in Computer Vision
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2311.15108