TL;DR
This paper introduces FAIRBELIEF, a novel framework for assessing "harmful beliefs" embedded within large language models (LMs). By analyzing LM outputs across various scales and likelihoods, the study reveals that even high-performing LMs exhibit concerning gender-based biases, influenced by factors like model architecture and training data.
What Problem Does This Paper Address?
Large Language Models (LMs) are increasingly integrated into real-world applications, but they often inherit and propagate harmful biases from their training data. These biases can disproportionately affect marginalized groups, leading to discriminatory outcomes. While existing fairness metrics exist, they often struggle with formalizing bias, can be inconsistent, and may not fully capture the subtle ways LMs can exhibit harmful "beliefs" – propositions they hold with varying degrees of confidence that influence their predictions. This paper aims to address this gap by providing a method to specifically identify and quantify these harmful beliefs.
Methods
The core of this paper is the FAIRBELIEF framework, an analytical approach designed to capture and assess beliefs within LMs. FAIRBELIEF leverages prompting to probe LMs. A prompt, along with an identity (e.g., "woman"), is fed to the LM, which then generates a set of completions. These completions are then assessed for "hurtfulness" using the HONEST score, a dataset-independent fairness metric.
FAIRBELIEF expands on previous work by analyzing LM behavior across several dimensions:
- Model Family and Scale: Evaluating different LM architectures (e.g., BART, BERT, GPT2, BLOOM, LLAMA, VICUNA) and their various sizes (small, medium, large).
- Likelihood: Examining how hurtfulness changes across the most likely to less likely predictions generated by the LM.
- Group Analysis: Investigating how beliefs differ when focusing on specific identity groups (e.g., male, female, queer, young, old).
The framework also incorporates semantic similarity to analyze agreement between different models' predictions.
Datasets
The primary dataset used for evaluation is HONEST (Nozza et al., 2021b), a fairness dataset specifically designed to assess the hurtfulness of LM completions. The paper utilizes two subsets of HONEST:
- HONEST-binary: Focuses on binary gender identities (e.g., woman, man).
- HONEST-queer: Focuses on LGBTQIA+ identities.
The paper notes that existing fairness datasets are often unsuitable for their specific analytical goals due to limitations in conceptualization and distribution.
Key Insights and Ideas
- Beliefs, not just predictions: The paper emphasizes that understanding the underlying "beliefs" of an LM is crucial for addressing bias, going beyond just analyzing direct predictions.
- Harmful beliefs are pervasive: Despite high performance on NLP tasks, LMs exhibit hurtful beliefs, particularly concerning gender.
- Likelihood matters: Hurtful beliefs are often present even in the most likely predictions of certain models, indicating a strong tendency to manifest bias.
- Model architecture and training influence beliefs: Factors like model family, scale, and training procedures significantly impact the degree of hurtfulness observed.
- Gender bias is pronounced: The study highlights a notable tendency for LMs to hold more hurtful beliefs about female identities compared to male identities.
Key Results
- Quantitative Analysis:
- Modern LM families like VICUNA, GPT2, and BLOOM consistently show higher (more hurtful) HONEST scores compared to older families like DistilBERT and BART.
- Hurtful beliefs are often detectable even at low likelihoods (i.e., among the most probable completions).
- Increasing model scale within the same family generally does not lead to a significant change in hurtfulness, with some exceptions (e.g., BLOOM, VICUNA).
- Analysis across identity groups reveals that LMs tend to exhibit more hurtful beliefs towards female identities than male identities.
- Qualitative Analysis:
- Prompts related to "women" were often completed with associations to domestic chores, motherhood, or physical appearance.
- Female identities were frequently characterized as prostitutes, models, cleaners, or secretaries.
- Male identities were sometimes associated with farmers or servants.
- For queer identities, the models reproduced sexist stereotypes and struggled with singular "they" pronouns, often misinterpreting them as plural or proper nouns.
Limitations and Future Work
- Limitations:
- The reliance on synthetic templates can be controversial, as they might implicitly lead LMs to stereotyping.
- The results are highly sensitive to the specific prompts used.
- The study focuses solely on English LMs, leaving cross-language comparisons unexplored.
- The paper acknowledges the difficulty of fully addressing fairness concerns without considering specific downstream applications and stakeholders.
- Future Work:
- Investigate the malleability of LM beliefs using soft prompts for potential mitigation.
- Explore causal relationships between beliefs and their propagation in downstream tasks.
- Incorporate retrieval-augmented approaches and compare fairness-regulated vs. non-aligned models.
- Consider human perception of belief fairness and explore societal impacts through participatory approaches.
- Prioritize under-addressed targets and intersectional fairness conceptualizations.
Summary updated