Skip to main content
QUICK REVIEW

[Paper Review] On the Intrinsic and Extrinsic Fairness Evaluation Metrics for Contextualized Language Representations

Yang Trista Cao, Yada Pruksachatkun|arXiv (Cornell University)|Mar 25, 2022
Ethics and Social Impacts of AISocial Sciences10 citations
TL;DR

This paper investigates the correlation between intrinsic and extrinsic fairness metrics in contextualized language models across toxicity, sentiment, and stereotype biases. Using 19 models and multiple metrics, it finds weak correlations between intrinsic and extrinsic fairness evaluations, highlighting that upstream fairness improvements do not guarantee downstream fairness, and that dataset quality, metric alignment, and experimental configurations critically affect bias detection in real-world applications.

ABSTRACT

Multiple metrics have been introduced to measure fairness in various natural language processing tasks. These metrics can be roughly categorized into two categories: 1) \emph{extrinsic metrics} for evaluating fairness in downstream applications and 2) \emph{intrinsic metrics} for estimating fairness in upstream contextualized language representation models. In this paper, we conduct an extensive correlation study between intrinsic and extrinsic metrics across bias notions using 19 contextualized language models. We find that intrinsic and extrinsic metrics do not necessarily correlate in their original setting, even when correcting for metric misalignments, noise in evaluation datasets, and confounding factors such as experiment configuration for extrinsic metrics. %al

Motivation & Objective

  • To investigate the relationship between intrinsic fairness metrics (evaluating language models directly) and extrinsic fairness metrics (evaluating downstream system outputs).
  • To identify factors that affect the correlation between intrinsic and extrinsic fairness metrics in contextualized language representations.
  • To evaluate the impact of dataset quality, bias notion alignment, and experimental configurations on fairness metric reliability.
  • To provide best practices for bias evaluation in NLP systems to improve real-world trustworthiness and fairness.

Proposed method

  • Conducted a large-scale correlation study across 19 pre-trained language models (e.g., BERT, GPT-2) using intrinsic and extrinsic metrics for three bias types: toxicity, sentiment, and stereotype.
  • Employed intrinsic metrics such as CEAT (Contextualized Embedding Association Test) and ILPS (Increased Log Probability Score) to assess bias in word embeddings and generation templates.
  • Applied extrinsic metrics including BOLD (Bias-Oriented Language Detection), B-Sent, B-Tox, and B-Stereo to evaluate fairness in downstream text generation and classification tasks.
  • Performed ablation studies to assess the impact of bias notion alignment, protected group definitions, and dataset noise on metric correlation.
  • Evaluated the sensitivity of extrinsic metrics to experimental configurations, including decoding temperature and classifier robustness in metric computation.
  • Used sentiment, regard, and toxicity classifiers to filter noisy or biased prompts in evaluation datasets, particularly in the BOLD benchmark for religion-related stereotypes.

Experimental results

Research questions

  • RQ1To what extent do intrinsic and extrinsic fairness metrics correlate across different contextualized language models and bias types?
  • RQ2How does misalignment in bias notions (e.g., toxicity vs. sentiment) affect the correlation between intrinsic and extrinsic fairness metrics?
  • RQ3How does noise in evaluation datasets influence the reliability of extrinsic fairness metrics and their correlation with intrinsic metrics?
  • RQ4How do experimental configurations—such as decoding temperature and classifier choice—affect the measurement of fairness in downstream tasks?
  • RQ5To what extent can dataset filtering and metric alignment improve the correlation between intrinsic and extrinsic fairness evaluations?

Key findings

  • Intrinsic and extrinsic fairness metrics show weak or inconsistent correlation across 19 models, even after correcting for metric misalignment and dataset noise.
  • Correlation between intrinsic and extrinsic metrics improved modestly—from -0.18 to 0.02—when aligning the source of evaluation data for the B-Stereo metric in the race domain.
  • After filtering noisy prompts in the BOLD dataset using sentiment and toxicity classifiers, the correlation between CEAT and B-Sent increased to 0.11, and between StereoSet and B-Stereo to 0.10.
  • Increasing decoding temperature from 0.5 to 1.0 in GPT-2 increased the proportion of negative sentiment in generated outputs from 4.6% to 15.6%, demonstrating sensitivity to inference configuration.
  • Introducing word-level noise (swaps/deletions) to 500 BOLD-generated texts reduced the proportion of negative sentiment from 13.6% to 12.18% and negative regard from 25.2% to 22.86%, indicating that noise affects classifier-based metric scores.
  • The study reveals that fairness metrics are sensitive to confounding factors such as model hyperparameters, evaluation dataset quality, and auxiliary models used in metric computation, undermining the reliability of proxy-based fairness evaluation.

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.