BBQ: A Hand-Built Bias Benchmark for Question Answering

Alicia Parrish, Angelica Chen, Nikita Nangia, Vishakh Padmakumar, Jason Phang +3 more
10/15/2021
1,018 citations
cs.CL
benchmark-dataset

Official code: nyu-mll/BBQ (156 stars, Python, CC-BY-4.0, last commit 2024-01-08).

Abstract

It is well documented that NLP models learn social biases, but little work has been done on how these biases manifest in model outputs for applied tasks like question answering (QA). We introduce the Bias Benchmark for QA (BBQ), a dataset of question sets constructed by the authors that highlight attested social biases against people belonging to protected classes along nine social dimensions relevant for U.S.

Show full abstract

English-speaking contexts. Our task evaluates model responses at two levels: (i) given an under-informative context, we test how strongly responses reflect social biases, and (ii) given an adequately informative context, we test whether the model's biases override a correct answer choice. We find that models often rely on stereotypes when the context is under-informative, meaning the model's outputs consistently reproduce harmful biases in this setting. Though models are more accurate when the context provides an informative answer, they still rely on stereotypes and average up to 3.4 percentage points higher accuracy when the correct answer aligns with a social bias than when it conflicts, with this difference widening to over 5 points on examples targeting gender for most models tested.

View on arXivView PDF

Code Implementations(1)

nyu-mll/BBQOfficial100%
CC-BY-4.0

Repository for the Bias Benchmark for QA dataset.

15632Python, HTMLOct 14, 20212 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{parrish2021bbq,
  title  = {BBQ: A Hand-Built Bias Benchmark for Question Answering},
  author = {Alicia Parrish and Angelica Chen and Nikita Nangia and Vishakh Padmakumar and Jason Phang and Jana Thompson and Phu Mon Htut and Samuel R. Bowman},
  year   = {2021},
  eprint = {2110.08193},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08193}
}

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

Discussion