Selection Bias Induced Spurious Correlations in Large Language Models

Emily McMilin
7/18/2022
12 citations
cs.CLcs.AI

Official code: 2dot71mily/spurious_correlations_ICML_2022 (1 star, last commit 2022-09-13).

Abstract

In this work we show how large language models (LLMs) can learn statistical dependencies between otherwise unconditionally independent variables due to dataset selection bias. To demonstrate the effect, we developed a masked gender task that can be applied to BERT-family models to reveal spurious correlations between predicted gender pronouns and a variety of seemingly gender-neutral variables like date and location, on pre-trained (unmodified) BERT and RoBERTa large models. Finally, we provide an online demo, inviting readers to experiment further.

View on arXivView PDF

Code Implementations(1)

10Jul 9, 20224 years ago

Similar Papers

Cite this paper

@article{mcmilin2022selection,
  title  = {Selection Bias Induced Spurious Correlations in Large Language Models},
  author = {Emily McMilin},
  year   = {2022},
  eprint = {2207.08982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08982v1}
}

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

Discussion