Skip to main content
QUICK REVIEW

[Paper Review] Quantifying Social Biases Using Templates is Unreliable

Preethi Seshadri, Pouya Pezeshkpour|arXiv (Cornell University)|Oct 9, 2022
Topic ModelingComputer Science9 citations
TL;DR

This paper demonstrates that bias measurements in large language models are highly unstable and unreliable when using template-based evaluation methods, as minor, semantically preserving template modifications can cause bias scores to vary by up to 162%. The study reveals that template choice critically influences fairness conclusions, urging researchers to adopt more comprehensive and human-informed benchmarking approaches instead of relying on limited, arbitrary templates.

ABSTRACT

Recently, there has been an increase in efforts to understand how large language models (LLMs) propagate and amplify social biases. Several works have utilized templates for fairness evaluation, which allow researchers to quantify social biases in the absence of test sets with protected attribute labels. While template evaluation can be a convenient and helpful diagnostic tool to understand model deficiencies, it often uses a simplistic and limited set of templates. In this paper, we study whether bias measurements are sensitive to the choice of templates used for benchmarking. Specifically, we investigate the instability of bias measurements by manually modifying templates proposed in previous works in a semantically-preserving manner and measuring bias across these modifications. We find that bias values and resulting conclusions vary considerably across template modifications on four tasks, ranging from an 81% reduction (NLI) to a 162% increase (MLM) in (task-specific) bias measurements. Our results indicate that quantifying fairness in LLMs, as done in current practice, can be brittle and needs to be approached with more care and caution.

Motivation & Objective

  • To investigate the sensitivity of bias measurements to small, semantically preserving changes in evaluation templates used for fairness assessment in large language models.
  • To evaluate whether template-based fairness benchmarks produce consistent and reliable results across different phrasings of the same underlying bias scenario.
  • To challenge the current reliance on minimal, hand-picked template sets in bias evaluation, which may lead to misleading conclusions about model fairness.
  • To advocate for more comprehensive, diverse, and human-validated benchmarking strategies in place of simplistic template-based diagnostics.

Proposed method

  • Manually modified existing templates from prior works in a semantically preserving manner to create alternative versions that retain core meaning but differ in phrasing.
  • Applied the original and modified templates to four NLP tasks: sentiment analysis, toxicity detection, natural language inference (NLI), and masked language modeling (MLM).
  • Measured task-specific bias using statistical tests (e.g., chi-squared tests) to assess gender bias, comparing results across original and modified templates.
  • Categorized bias outcomes (e.g., significant vs. non-significant) to evaluate consistency across template variations.
  • Quantified the magnitude of bias score changes across modifications, reporting percentage increases or decreases relative to original measurements.
  • Used a model-agnostic approach to ensure modifications were coherent and meaningful, avoiding adversarial or human-in-the-loop generation.

Experimental results

Research questions

  • RQ1How sensitive are bias measurements to minor, semantically preserving changes in template phrasing?
  • RQ2To what extent do template modifications alter the conclusion about whether a model exhibits significant bias?
  • RQ3How much can bias scores vary across different versions of the same underlying bias scenario?
  • RQ4Do current template-based fairness evaluations produce consistent results when the same bias is tested with slightly rephrased templates?

Key findings

  • Bias measurements varied significantly across template modifications, with up to an 81% reduction in bias scores for the NLI task.
  • For masked language modeling (MLM), bias scores increased by up to 162% after template modifications, indicating a substantial shift in perceived model behavior.
  • In sentiment analysis, 33% of modified templates led to different categorizations (significant vs. non-significant bias) compared to the original templates.
  • Toxicity detection showed a 127% increase in bias scores following template modifications, highlighting instability in evaluation outcomes.
  • The study found that conclusions about model fairness are highly dependent on template choice, even when semantic content remains largely unchanged.
  • These results indicate that template-based fairness evaluation is brittle and may lead to inconsistent or misleading conclusions about model 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.