Mitigating Bias in Visual Transformers via Targeted Alignment

Sruthi Sudhakar, Viraj Prabhu, Arvindkumar Krishnakumar, Judy Hoffman
2/8/2023
cs.CV

No confident code implementation found for this paper.

Abstract

As transformer architectures become increasingly prevalent in computer vision, it is critical to understand their fairness implications. We perform the first study of the fairness of transformers applied to computer vision and benchmark several bias mitigation approaches from prior work. We visualize the feature space of the transformer self-attention modules and discover that a significant portion of the bias is encoded in the query matrix. With this knowledge, we propose TADeT, a targeted alignment strategy for debiasing transformers that aims to discover and remove bias primarily from query matrix features. We measure performance using Balanced Accuracy and Standard Accuracy, and fairness using Equalized Odds and Balanced Accuracy Difference. TADeT consistently leads to improved fairness over prior work on multiple attribute prediction tasks on the CelebA dataset, without compromising performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sudhakar2023mitigating,
  title  = {Mitigating Bias in Visual Transformers via Targeted Alignment},
  author = {Sruthi Sudhakar and Viraj Prabhu and Arvindkumar Krishnakumar and Judy Hoffman},
  year   = {2023},
  eprint = {2302.04358},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.04358v1}
}

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

Discussion