A Prompt Array Keeps the Bias Away: Debiasing Vision-Language Models with Adversarial Learning
2022-03-22Code Available1· sign in to hype
Hugo Berg, Siobhan Mackenzie Hall, Yash Bhalgat, Wonsuk Yang, Hannah Rose Kirk, Aleksandar Shtedritski, Max Bain
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/oxai/debias-vision-langOfficialIn paperpytorch★ 28
Abstract
Vision-language models can encode societal biases and stereotypes, but there are challenges to measuring and mitigating these multimodal harms due to lacking measurement robustness and feature degradation. To address these challenges, we investigate bias measures and apply ranking metrics for image-text representations. We then investigate debiasing methods and show that prepending learned embeddings to text queries that are jointly trained with adversarial debiasing and a contrastive loss reduces various bias measures with minimal degradation to the image-text representation.