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

This paper introduces CALM, a new benchmark for comprehensively assessing social biases (gender and race) in large language models (LLMs). CALM uses a diverse set of 224 templates across three NLP tasks and 78,400 prompts, demonstrating greater robustness to perturbations than existing methods. Their evaluation of 20 LLMs reveals that larger models in some families are more biased, while the T0 series shows the least bias.

What Problem Does This Paper Address?

As LLMs become more powerful and integrated into various applications, understanding and quantifying their sociodemographic biases is crucial to prevent potential harm. Existing bias measurement methods often suffer from unreliability, being highly sensitive to minor changes in templates (like synonym substitutions) or relying on a limited, manually designed set of prompts. This lack of robustness and diversity makes it difficult to consistently and accurately assess LLM biases, hindering efforts to develop fairer AI systems. Furthermore, many prior benchmarks focus on only a single NLP task, failing to capture the multifaceted nature of bias across different language understanding capabilities.

Methods

The authors introduce CALM (Comprehensive Assessment of Language Models), a multi-task benchmark designed for robust social bias measurement. CALM's core methodology involves:

  • Multi-task approach: Integrating three distinct NLP tasks: Question Answering (QA), Sentiment Analysis (SA), and Natural Language Inference (NLI).
  • Template Creation: Leveraging 16 existing datasets across these tasks, they filter and adapt examples to create 224 diverse templates. This involves replacing person names and pronouns with placeholders, ensuring a wide range of template lengths and vocabulary.
  • Bias Categories: Focusing on gender bias (male, female, gender-neutral) and race bias (Caucasian, African American, Hispanic, Asian).
  • Prompt Generation: Using these templates and sampled names, they generate a large dataset of 78,400 prompts.
  • Bias Score Calculation: A bias score is calculated by comparing a model's performance for specific social groups against a baseline performance across all groups for each template. This score is then aggregated to provide overall bias scores per task and per model.

A key innovation is the emphasis on template diversity and robustness, achieved by drawing from multiple datasets and creating a large number of varied templates, rather than manual design.

Datasets

CALM is built upon data from sixteen existing datasets across three NLP tasks:

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

The paper introduces a novel benchmark dataset derived from these sources, comprising 78,400 prompts.

Key Insights and Ideas

  • Diversity is Key to Robustness: The paper strongly suggests that the increased diversity in template length, vocabulary, and sentence structure within CALM is the primary reason for its superior robustness to perturbations compared to prior benchmarks.
  • Larger Models Aren't Always Better (for Bias): For some LM families (OPT and Bloom), the study found that larger parameter models tend to exhibit more bias, challenging the assumption that increased model size universally leads to better or fairer performance.
  • T0 Series Stands Out: The T0 model series consistently showed the lowest bias scores among the 20 LLMs evaluated, suggesting its training methodology might be more effective at mitigating social biases.
  • Template Subset Efficiency: A significant finding is that a smaller subset of CALM templates (around 70%) can achieve similar bias detection efficacy, hinting at potential for more efficient bias evaluation in the future.
  • Task-Specific Biases: The analysis revealed that biases can be task-specific and model-specific, with certain templates highlighting unique biases in models like Llama-2 and Falcon, which could inform targeted bias mitigation strategies.

Key Results

  • Robustness: CALM showed minimal sensitivity to semantic perturbations (less than 10% variance), significantly outperforming benchmarks like BiasNLI (70% variation) and Winogender (77% increase). It also demonstrated low variance with prompt subset selection.
  • Diversity: CALM's templates exhibited the lowest semantic similarity (BERTScore of 0.388) and the greatest length variation among compared bias datasets, indicating higher diversity.
  • Model Evaluation: Out of 20 LLMs evaluated, the T0 series (specifically T0++) showed the lowest bias scores. For OPT and Bloom, larger models were found to be more biased. Llama-2 and Falcon models exhibited relatively higher bias.
  • Trade-offs: Some models showed a trade-off between gender and racial bias as model size increased, where one bias type decreased while another increased.

Limitations and Future Work

  • Limited Social Groups: The current CALM dataset primarily focuses on seven social groups within the US. The authors acknowledge the need to expand this to include more diverse national origins and social groups globally.
  • English Language Focus: The current dataset and methodology are limited to English. Extending CALM to other languages is a future direction, requiring careful consideration of linguistic and cultural nuances.
  • Overlapping Names: There's an inherent challenge with overlapping names between gender and race categories, which can create interdependence in bias scores. Further research is needed to devise methods for completely independent bias category quantification.
  • Task-Specific Performance: Some models exhibited inconsistent behavior (low performance or high bias) on specific tasks, making it difficult to get a holistic understanding of their overall bias. Future work could explore incorporating more tasks to better capture model-agnostic bias.
  • Prompt Standardization: While the paper uses standardized prompts for comparability, the authors note that tailored prompts might yield optimal performance, suggesting a need for standardized prompting techniques across models in the future.
  • Concise Datasets: The finding that a subset of templates is highly effective suggests future work could focus on creating more concise yet equally effective bias evaluation datasets.

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