Debiasing Vision-Language Models via Biased Prompts

Ching-Yao Chuang, Varun Jampani, Yuanzhen Li, Antonio Torralba, Stefanie Jegelka
1/31/2023
cs.LGcs.CV

No official code found. Best implementation: chingyaoc/debias_vl (60 stars, MIT, last commit 2023-05-16).

Abstract

Machine learning models have been shown to inherit biases from their training datasets. This can be particularly problematic for vision-language foundation models trained on uncurated datasets scraped from the internet. The biases can be amplified and propagated to downstream applications like zero-shot classifiers and text-to-image generative models. In this study, we propose a general approach for debiasing vision-language foundation models by projecting out biased directions in the text embedding. In particular, we show that debiasing only the text embedding with a calibrated projection matrix suffices to yield robust classifiers and fair generative models. The proposed closed-form solution enables easy integration into large-scale pipelines, and empirical results demonstrate that our approach effectively reduces social bias and spurious correlation in both discriminative and generative vision-language models without the need for additional data or training.

View on arXivView PDF

Code Implementations(1)

chingyaoc/debias_vlCommunity100%
MIT

Code for Debiasing Vision-Language Models via Biased Prompts

605PythonJan 31, 20233 years agoMIT

Similar Papers

Cite this paper

@article{chuang2023debiasing,
  title  = {Debiasing Vision-Language Models via Biased Prompts},
  author = {Ching-Yao Chuang and Varun Jampani and Yuanzhen Li and Antonio Torralba and Stefanie Jegelka},
  year   = {2023},
  eprint = {2302.00070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.00070v2}
}

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

Discussion