Measuring Fairness with Biased Rulers: A Survey on Quantifying Biases in Pretrained Language Models

Pieter Delobelle, Ewoenam Kwaku Tokpo, Toon Calders, Bettina Berendt
12/14/2021
cs.CLcs.CYcs.LG
survey

Official code: iPieter/biased-rulers (10 stars, Jupyter Notebook, last commit 2022-08-01).

Abstract

An increasing awareness of biased patterns in natural language processing resources, like BERT, has motivated many metrics to quantify `bias' and `fairness'. But comparing the results of different metrics and the works that evaluate with such metrics remains difficult, if not outright impossible.

Show full abstract

We survey the existing literature on fairness metrics for pretrained language models and experimentally evaluate compatibility, including both biases in language models as in their downstream tasks. We do this by a mixture of traditional literature survey and correlation analysis, as well as by running empirical evaluations. We find that many metrics are not compatible and highly depend on (i) templates, (ii) attribute and target seeds and (iii) the choice of embeddings. These results indicate that fairness or bias evaluation remains challenging for contextualized language models, if not at least highly subjective. To improve future comparisons and fairness evaluations, we recommend avoiding embedding-based metrics and focusing on fairness evaluations in downstream tasks.

View on arXivView PDF

Code Implementations(1)

A survey of fairness in contextualized language models

100Jupyter Notebook, PythonDec 13, 20214 years ago
bertbias-detectionfairnesslanguage-model

Similar Papers

Cite this paper

@article{delobelle2021measuring,
  title  = {Measuring Fairness with Biased Rulers: A Survey on Quantifying Biases in Pretrained Language Models},
  author = {Pieter Delobelle and Ewoenam Kwaku Tokpo and Toon Calders and Bettina Berendt},
  year   = {2021},
  eprint = {2112.07447},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07447}
}

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

Discussion