TL;DR
This paper investigates whether large language models (LLMs) exhibit gender bias even when the text lacks explicit gendered language or stereotypes. Surprisingly, they found that LLMs still show significant gender preferences, suggesting that bias is not solely tied to explicit gender cues in the training data.
What Problem Does This Paper Address?
The widespread adoption of LLMs has raised concerns about their potential to perpetuate societal biases. Previous research has focused on identifying gender bias in LLMs by using benchmarks that highlight known stereotypes (e.g., associating certain occupations with specific genders). However, an open question remains: do LLMs still exhibit gender bias when presented with text that is seemingly neutral and free of explicit gendered language or stereotypes? This paper aims to address this gap by evaluating LLMs in "non-stereotypical" settings.
Methods
The authors introduce UnStereoEval, a novel framework for evaluating gender bias in stereotype-free scenarios. The core of their approach involves:
- Quantifying Word-Gender Associations: They use Pointwise Mutual Information (PMI) to measure how strongly individual words co-occur with gendered pronouns ("she"/"he"). This results in a score, $\delta(w)$, where positive values indicate a stronger association with "she" and negative values with "he".
- Enforcing Minimal Gender Co-occurrences: They define a sentence-level score, MaxPMI(s), based on the most prominent word-gender association within a sentence. Sentences with a MaxPMI(s) below a certain threshold ($\eta$) are considered to have minimal gender co-occurrences.
- Benchmark Construction:
- They automatically generate new benchmarks (USE-5, USE-10, USE-20) by selecting seed words with low $\delta(w)$ scores and using LLMs (like ChatGPT) to create gender-invariant sentence pairs.
- They adapt existing benchmarks (Winobias and Winogender) by filtering out sentences that violate the MaxPMI(s) constraint, thus creating "stereotype-free" versions.
- Fairness Metrics: They use the Unstereo Score (US), which measures the percentage of sentence pairs where the model assigns nearly equal probability to both gendered completions. They also analyze Fairness Gap ($\Delta\eta$) and Preference Disparity (PD).
Datasets
- PILE: Used for calculating word-gender associations based on its pretraining data statistics.
- Winobias (WB) and Winogender (WG): Existing gender bias benchmarks that were adapted by filtering out sentences with strong gender co-occurrences.
- UnStereoEval (USE) benchmarks (USE-5, USE-10, USE-20): Newly introduced benchmarks automatically generated using ChatGPT, designed to be gender-invariant and free of strong gender co-occurring words.
Key Insights and Ideas
- Bias Persists Beyond Stereotypes: The most striking insight is that LLMs exhibit significant gender bias even when the text is devoid of explicit gendered language or stereotypical associations. This challenges the assumption that bias is solely a consequence of explicit gender correlations in training data.
- Male Preference is Pervasive: Across various benchmarks and models, there's a consistent tendency for LLMs to favor male completions, even in seemingly neutral sentences.
- Filtering Reduces Bias, But Doesn't Eliminate It: While enforcing stricter constraints on gender co-occurrences (i.e., lower $\eta$ values) does reduce the number of sentences in the dataset, it doesn't fundamentally alter the observed bias levels. The fairness gap remains relatively small, indicating that the core bias issue persists.
- Model Size and Training Data Deduplication Have Limited Impact: The study found no consistent trends in fairness with respect to model size. Similarly, deduplicating pretraining data showed mixed results, sometimes exacerbating and sometimes reducing biases, but not offering a clear solution.
Key Results
- Low Fairness Across Models: Across 28 tested models, LLMs demonstrated fair behavior in only 9%-41% of stereotype-free sentences.
- Consistent Male Preference: In the adapted Winobias and Winogender benchmarks, models consistently favored male sentences.
- Small Fairness Gap: The fairness gap ($\Delta\eta$) was small, indicating that even after removing sentences with strong gender co-occurrences, the models' bias levels didn't change drastically. For example, the gap was often less than 10%.
- Preference Disparity: For WB and WG, models systematically preferred male pronoun completions by a margin greater than 40%.
Limitations and Future Work
- Binary Gender Focus: The study primarily focuses on binary gender bias using English pronouns ("he"/"she"). The authors acknowledge that this doesn't cover non-binary identities or other demographic groups (e.g., race, culture) and suggest future work to expand this scope.
- Single Model for Benchmark Generation: The use of a single model (ChatGPT) for generating benchmarks might introduce model-specific artifacts. Future work could explore using multiple models for more diverse benchmark creation.
- Investigating Underlying Causes: The paper highlights that the observed biases in non-stereotypical settings are not easily explained by simple pretraining data effects. They encourage future research to investigate the deeper reasons for these non-trivial behaviors and develop more effective bias mitigation strategies.
- Expanding Gender Co-occurrence Definitions: The current definition of $\delta(w)$ uses a single pair of gendered pronouns. The authors suggest exploring more comprehensive definitions that incorporate multiple gendered word pairs to improve filtering coverage.
Summary updated