Princeton University Users: If you would like to view a senior thesis while you are away from campus, you will need to connect to the campus network remotely via the Global Protect virtual private network (VPN). If you are not part of the University requesting a copy of a thesis, please note, all requests are processed manually by staff and will require additional time to process.
 

Publication:

Attention IoU: Examining Biases in Image Classification Models using Attention Maps

Loading...
Thumbnail Image

Files

Aaron_Serianni_Senior_Thesis.pdf (10.86 MB)

Date

2025-04-28

Journal Title

Journal ISSN

Volume Title

Publisher

Research Projects

Organizational Units

Journal Issue

Abstract

Computer vision models have been shown to exhibit and amplify biases across a wide array of datasets and tasks. Existing methods for quantifying bias in classification models primarily focus on dataset distribution and model performance on subgroups, overlooking the internal workings of a model. We introduce the Attention-IoU (Attention Intersection over Union) metric and related scores, which use attention maps to reveal biases within a model's internal representations and identify image features potentially causing the biases. First, we validate Attention-IoU on the synthetic Waterbirds dataset, showing that the metric accurately measures model bias. We then investigate the CelebA dataset, finding that Attention-IoU uncovers correlations beyond accuracy disparities. Through an investigation of individual attributes through the protected attribute of Male, we examine the distinct ways biases are represented in CelebA. We furthermore explore contextual biases with Attention-IoU through the COCO dataset, highlighting the challenges in measuring contextual bias. Lastly, we analyze distribution shifts in iWildCam, revealing the impact of background environments in camera trap images on model performance. Altogether, Attention-IoU reveals aspects of biases beyond dataset labels and model accuracies, enabling us to gain deeper insights into the representations of bias within computer vision models and develop better debiasing methods and fairer models.

This thesis partially contains materials to be presented at the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) at Nashville, Tennessee, USA in June 2025 as "Attention IoU: Examining Biases in CelebA using Attention Maps", in collaboration with Tyler Zhu, Olga Russakovsky, and Vikram V. Ramaswamy. Our code and data are available at https://github.com/aaronserianni/attention-iou.

Description

Keywords

Citation