The Undesirable Dependence on Frequency of Gender Bias Metrics Based on Word Embeddings

Francisco Valentini, Germán Rosati, Diego Fernandez Slezak, Edgar Altszyler
1/2/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Numerous works use word embedding-based metrics to quantify societal biases and stereotypes in texts. Recent studies have found that word embeddings can capture semantic similarity but may be affected by word frequency. In this work we study the effect of frequency when measuring female vs. male gender bias with word embedding-based bias quantification methods. We find that Skip-gram with negative sampling and GloVe tend to detect male bias in high frequency words, while GloVe tends to return female bias in low frequency words. We show these behaviors still exist when words are randomly shuffled. This proves that the frequency-based effect observed in unshuffled corpora stems from properties of the metric rather than from word associations. The effect is spurious and problematic since bias metrics should depend exclusively on word co-occurrences and not individual word frequencies. Finally, we compare these results with the ones obtained with an alternative metric based on Pointwise Mutual Information. We find that this metric does not show a clear dependence on frequency, even though it is slightly skewed towards male bias across all frequencies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{valentini2023undesirable,
  title  = {The Undesirable Dependence on Frequency of Gender Bias Metrics Based on Word Embeddings},
  author = {Francisco Valentini and Germán Rosati and Diego Fernandez Slezak and Edgar Altszyler},
  year   = {2023},
  eprint = {2301.00792},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.00792v1}
}

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

Discussion