Skip to main content
QUICK REVIEW

[Paper Review] Stereotype and Skew: Quantifying Gender Bias in Pre-trained and Fine-tuned Language Models

Daniel de Vassimon Manela, David Errington|arXiv (Cornell University)|Jan 24, 2021
Natural Language Processing TechniquesComputer Science27 references13 citations
TL;DR

This paper introduces two new metrics—skew and stereotype—to quantify gender bias in pre-trained and fine-tuned language models, particularly on the WinoBias pronoun resolution task. It finds a trade-off between skew (overall male pronoun preference) and stereotype (gendered profession associations), and shows that data augmentation during fine-tuning effectively reduces both biases, while online mitigation only reduces one at the cost of increasing the other.

ABSTRACT

This paper proposes two intuitive metrics, skew and stereotype, that quantify and analyse the gender bias present in contextual language models when tackling the WinoBias pronoun resolution task. We find evidence that gender stereotype correlates approximately negatively with gender skew in out-of-the-box models, suggesting that there is a trade-off between these two forms of bias. We investigate two methods to mitigate bias. The first approach is an online method which is effective at removing skew at the expense of stereotype. The second, inspired by previous work on ELMo, involves the fine-tuning of BERT using an augmented gender-balanced dataset. We show that this reduces both skew and stereotype relative to its unaugmented fine-tuned counterpart. However, we find that existing gender bias benchmarks do not fully probe professional bias as pronoun resolution may be obfuscated by cross-correlations from other manifestations of gender prejudice. Our code is available online, at https://github.com/12kleingordon34/NLP_masters_project.

Motivation & Objective

  • To develop more granular metrics for gender bias in contextual language models beyond traditional pronoun-stereotype associations.
  • To investigate whether existing benchmarks like WinoBias fully capture professional gender bias or are confounded by other stereotypes.
  • To evaluate and compare the effectiveness of two bias mitigation strategies: online skew mitigation and data augmentation during fine-tuning.
  • To expose that models may still exhibit bias through non-professional traits like competency or personality, which current benchmarks fail to isolate.
  • To advocate for more comprehensive, isolated bias benchmarks to better probe distinct forms of gender prejudice in NLP models.

Proposed method

  • Propose two new bias metrics: skew (overall preference for male pronouns) and stereotype (disproportionate assignment of pronouns to gendered professions).
  • Use the WinoBias dataset, specifically Test Set 2 (T2), to probe bias by replacing profession terms with 'person' to isolate competency-based bias.
  • Apply online skew mitigation by adjusting attention scores during inference to reduce male pronoun bias.
  • Implement data augmentation by creating a balanced dataset with equal male and female references to fine-tune BERT, inspired by prior ELMo debiasing.
  • Fine-tune BERT on both original and augmented datasets, then evaluate bias using skew and stereotype metrics on WinoBias T2.
  • Analyze gender ratios across competency levels (incompetent, neutral, competent) to detect residual bias beyond profession.

Experimental results

Research questions

  • RQ1How can we better quantify gender bias in pre-trained and fine-tuned language models beyond traditional pronoun-stereotype associations?
  • RQ2Is there a trade-off between skew (overall pronoun preference) and stereotype (profession-based bias) in out-of-the-box models?
  • RQ3Can data augmentation during fine-tuning effectively reduce both skew and stereotype in BERT?
  • RQ4To what extent do current benchmarks like WinoBias truly isolate professional gender bias, or are they confounded by other stereotypes like personality or competency?
  • RQ5Do language models exhibit bias through non-professional attributes such as perceived competence, and how can this be measured?

Key findings

  • There is a strong negative correlation between skew and stereotype in out-of-the-box models, suggesting a trade-off between overall pronoun preference and profession-based bias.
  • DistilBERT and BERT show high skew and low stereotype, while RoBERTa and ALBERT-xxlarge exhibit lower skew but higher stereotype.
  • Online skew mitigation reduces skew but increases stereotype, demonstrating the opposite of its intended effect.
  • Data augmentation during fine-tuning reduces both skew and stereotype compared to unaugmented fine-tuning, showing its effectiveness in bias mitigation.
  • Even after reducing professional bias, models still show gender imbalance in competency-based pronoun resolution, with BERT-A reducing female pronoun use in 'incompetent' categories from 0.156 to 0.281, indicating residual bias.
  • Current benchmarks like WinoBias and Winogender do not fully isolate professional bias, as cross-correlations from other stereotypes (e.g., personality, competency) obscure the true nature of professional bias.

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.