On the Interpretability and Significance of Bias Metrics in Texts: a PMI-based Approach

Francisco Valentini, Germán Rosati, Damián Blasi, Diego Fernandez Slezak, Edgar Altszyler
4/13/2021
cs.CL

Official code: ftvalentini/BiasPMI (3 stars, Jupyter Notebook, last commit 2023-06-02).

Abstract

In recent years, word embeddings have been widely used to measure biases in texts. Even if they have proven to be effective in detecting a wide variety of biases, metrics based on word embeddings lack transparency and interpretability.

Show full abstract

We analyze an alternative PMI-based metric to quantify biases in texts. It can be expressed as a function of conditional probabilities, which provides a simple interpretation in terms of word co-occurrences. We also prove that it can be approximated by an odds ratio, which allows estimating confidence intervals and statistical significance of textual biases. This approach produces similar results to metrics based on word embeddings when capturing gender gaps of the real world embedded in large corpora.

View on arXivView PDF

Code Implementations(1)

On the Interpretability and Significance of Bias Metrics in Texts: a PMI-based Approach (Valentini et al., ACL 2023)

30Jupyter Notebook, PythonMay 18, 20233 years ago

Similar Papers

Cite this paper

@article{valentini2021interpretability,
  title  = {On the Interpretability and Significance of Bias Metrics in Texts: a PMI-based Approach},
  author = {Francisco Valentini and Germán Rosati and Damián Blasi and Diego Fernandez Slezak and Edgar Altszyler},
  year   = {2021},
  eprint = {2104.06474},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.06474}
}

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

Discussion