CALM : A Multi-task Benchmark for Comprehensive Assessment of Language Model Bias

Vipul Gupta, Pranav Narayanan Venkit, Hugo Laurençon, Shomir Wilson, Rebecca J. Passonneau

TL;DR

CALM (Comprehensive Assessment of Language Models) is a robust new multi-task benchmark designed to evaluate gender and racial bias in Large Language Models (LLMs) across 78,400 prompts. By sourcing diverse templates from 16 established NLP datasets, CALM overcomes the fragility of previous benchmarks, revealing that larger models are not inherently less biased and often exhibit complex bias trade-offs as they scale.

What Problem Does This Paper Address?

Evaluating social bias in LLMs is notoriously difficult. The standard approach relies on "templates"—sentences with placeholders like [NAME] or [PRONOUN]—to compare how a model treats different demographic groups. However, prior benchmarks are incredibly fragile; changing a single word to a synonym or randomly selecting a subset of prompts can swing a model's bias score by up to 70%. This unreliability stems from a lack of diversity: most benchmarks rely on just 10 to 30 manually designed, simplistic templates focused on a single NLP task.

Figure 2: Issues of prior datasets addressed in CALM.

CALM addresses this gap by introducing a multi-task, highly diverse benchmark that provides stable, reliable, and perturbation-resistant bias measurements.

Methods

Instead of hand-crafting templates, the authors extracted 224 diverse templates from 16 existing datasets across three core NLP tasks: Question Answering (QA), Sentiment Analysis (SA), and Natural Language Inference (NLI).

The template pipeline works as follows:

  1. Placeholder Insertion: Real names and pronouns in the source datasets are replaced with a <PERSON> identifier.
  2. Demographic Sampling: The authors curated a list of 50 highly frequent names for each of 7 distinct sociodemographic groups:
  3. Gender (3 groups): Male, Female, Gender-neutral.
  4. Race/Ethnicity (4 groups): Caucasian, African American, Hispanic, Asian.
  5. Prompt Generation: Instantiating the 224 templates with all 350 names ($50 \times 7$) yielded a massive dataset of 78,400 unique prompts.
Figure 1: CALM templates were created from examples drawn from existing datasets by replacing names or personal pronouns with placeholders.

The Bias Metric

To calculate a bias score, CALM establishes a baseline accuracy for each template by averaging performance across all 350 name permutations. It then measures the accuracy for each demographic group individually. The bias score represents the maximum percentage deviation between the highest- and lowest-performing groups. A perfectly unbiased model scores 0%.

Datasets

CALM repurposes 16 widely recognized datasets to build its benchmark:

  • Question Answering: bAbI, SODAPOP, TweetQA, MCTest, Relation Extraction, QAMR, DuoRC, MCScript.
  • Sentiment Analysis: SST, ToxicComments, Sentiment140, EEC.
  • Natural Language Inference: SNLI, WNLI, RTE, SICK.

Key Insights and Ideas

  • Linguistic Diversity Breeds Robustness: Older benchmarks fail because their templates lack variance in length and vocabulary. Because CALM's templates are harvested from real-world datasets, they range from short sentences to full paragraphs. This structural complexity makes CALM uniquely resilient to semantic perturbations (like synonym swapping).
  • Scaling Up Doesn't Guarantee Fairness: A common assumption is that larger models inherently behave better. CALM proves this wrong: for certain model families, scaling up parameters actually increases social bias.
  • The Bias Seesaw (Trade-offs): The authors observed a fascinating trade-off in some architectures where increasing model size decreased racial bias but simultaneously increased gender bias, or vice versa.

Key Results

The authors evaluated 20 prominent open-source LLMs (including the Llama-2, Falcon, OPT, Bloom, and T0 families) with the following key findings:

  • High Stability: While older benchmarks like BiasNLI saw up to a 70% swing in scores when perturbed, CALM showed a maximum variance of less than 10%, proving its resilience.
  • The T0 Family Wins: The T0 series emerged as the least biased model family evaluated. Conversely, Llama-2, Falcon, and Bloom models exhibited relatively higher bias scores.
  • Parameter-Bias Correlation:
  • In the OPT series, average bias increased by 29% when scaling from the 2.7B to the 30B parameter model.
  • In the Bloom series, bias surged by 81% when moving from 1B to 7B parameters.

Limitations and Future Work

  • US-Centric and English-Only: The names selected are heavily rooted in US Census and Social Security data, and the benchmark is entirely in English. Future work is needed to adapt the methodology to other languages and global cultural contexts.
  • Demographic Overlap: There is some inherent overlap between names representing specific genders and races, which can introduce interdependence in the distinct bias scores.
  • Data Contamination Risks: Because CALM relies on popular open-source datasets, there is a risk that future LLMs might inadvertently train on these exact evaluation sets, artificially lowering their bias scores without actually fixing the underlying behavior.

Summary updated

BibTeX
@inproceedings{gupta2024calm,
  author = {Vipul Gupta and Pranav Narayanan Venkit and Hugo Laurençon and Shomir Wilson and Rebecca J. Passonneau},
  title = {{CALM : A Multi-task Benchmark for Comprehensive Assessment of Language Model Bias}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=RLFca3arx7},
}
Figure