Skip to main content
QUICK REVIEW

[Paper Review] Gender Bias in Contextualized Word Embeddings

Jieyu Zhao, Tianlu Wang|ArXiv.org|Apr 5, 2019
Natural Language Processing TechniquesComputer Science27 references37 citations
TL;DR

The paper analyzes gender bias in ELMo contextualized embeddings, shows bias from skewed training data, demonstrates biased downstream coreference results on WinoBias, and compares data augmentation and embedding neutralization as mitigation strategies.

ABSTRACT

In this paper, we quantify, analyze and mitigate gender bias exhibited in ELMo's contextualized word vectors. First, we conduct several intrinsic analyses and find that (1) training data for ELMo contains significantly more male than female entities, (2) the trained ELMo embeddings systematically encode gender information and (3) ELMo unequally encodes gender information about male and female entities. Then, we show that a state-of-the-art coreference system that depends on ELMo inherits its bias and demonstrates significant bias on the WinoBias probing corpus. Finally, we explore two methods to mitigate such gender bias and show that the bias demonstrated on WinoBias can be eliminated.

Motivation & Objective

  • Demonstrate that ELMo embeddings encode gender bias due to biased training data.
  • Characterize the geometry of gender information in ELMo via PCA.
  • Show that ELMo transfers gender bias to a coreference system on WinoBias.
  • Evaluate mitigation strategies to reduce bias in downstream tasks.
  • Compare data augmentation and test-time neutralization for bias mitigation.

Proposed method

  • Intrinsic analyses on ELMo training data showing gender skew and co-occurrence patterns with occupations.
  • Principal Component Analysis to identify gender subspace in ELMo embeddings.
  • Train an SVM with RBF kernel to predict gender from ELMo occupation embeddings.
  • Evaluate a state-of-the-art coreference system using ELMo on WinoBias to measure pro- vs anti-stereotype performance differences.
  • Test two mitigation strategies: (i) training-time data augmentation with gender-swapped data, (ii) test-time embedding neutralization by averaging representations with opposite-gender sentence variants.

Experimental results

Research questions

  • RQ1Does ELMo encode gender information in its contextualized embeddings?
  • RQ2Is the gender information encoded by ELMo symmetric across male and female entities?
  • RQ3Does ELMo-based coreference show bias on the WinoBias dataset?
  • RQ4Can bias be mitigated through data augmentation or embedding neutralization?

Key findings

  • Training data for ELMo has more male entities than female entities and male pronouns co-occur with occupations more often overall.
  • Two gender-related principal components exist in ELMo, indicating contextual and occupational gender information.
  • A classifier can predict gender from ELMo occupation embeddings with high accuracy, and male information is mapped more strongly than female by at least 14%.
  • ELMo-based coreference systems exhibit substantial pro-/anti-stereotype accuracy disparities on WinoBias, larger than GloVe-based systems.
  • Data augmentation largely mitigates bias in the coreference model, while test-time neutralization reduces bias only partially or in certain settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.