Measuring Gender Bias in Word Embeddings of Gendered Languages Requires Disentangling Grammatical Gender Signals

Shiva Omrani Sabbaghi, Aylin Caliskan
6/3/2022
cs.CYcs.AIcs.CL

Official code: shivaomrani/GG_Disentangling (1 star, Jupyter Notebook, last commit 2023-05-09).

Abstract

Does the grammatical gender of a language interfere when measuring the semantic gender information captured by its word embeddings? A number of anomalous gender bias measurements in the embeddings of gendered languages suggest this possibility.

Show full abstract

We demonstrate that word embeddings learn the association between a noun and its grammatical gender in grammatically gendered languages, which can skew social gender bias measurements. Consequently, word embedding post-processing methods are introduced to quantify, disentangle, and evaluate grammatical gender signals. The evaluation is performed on five gendered languages from the Germanic, Romance, and Slavic branches of the Indo-European language family. Our method reduces the strength of grammatical gender signals, which is measured in terms of effect size (Cohen's d), by a significant average of d = 1.3 for French, German, and Italian, and d = 0.56 for Polish and Spanish. Once grammatical gender is disentangled, the association between over 90% of 10,000 inanimate nouns and their assigned grammatical gender weakens, and cross-lingual bias results from the Word Embedding Association Test (WEAT) become more congruent with country-level implicit bias measurements. The results further suggest that disentangling grammatical gender signals from word embeddings may lead to improvement in semantic machine learning tasks.

View on arXivView PDF

Code Implementations(1)

10Jupyter Notebook, PythonMay 23, 20223 years ago

Similar Papers

Cite this paper

@article{sabbaghi2022measuring,
  title  = {Measuring Gender Bias in Word Embeddings of Gendered Languages Requires Disentangling Grammatical Gender Signals},
  author = {Shiva Omrani Sabbaghi and Aylin Caliskan},
  year   = {2022},
  eprint = {2206.01691},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.01691}
}

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

Discussion