Evaluating Gender Bias of LLMs in Making Morality Judgements

Divij Bajaj, Yuanyuan Lei, Jonathan Tong, Ruihong Huang

TL;DR

As Large Language Models (LLMs) are increasingly integrated into decision-support systems, their ability to make fair moral judgments is under the microscope. This paper introduces GenMO, a new benchmark for evaluating gender bias in morality, and reveals a startling trend: nearly all top-tier models—including GPT-4 and Llama 3—consistently favor female characters, judging them more leniently than men in identical scenarios.

What Problem Does This Paper Address?

We know LLMs inherit social biases from their training data, but how does this manifest when they are asked to play the role of a moral arbiter? If a virtual assistant or content moderation tool judges an action as "immoral" for a man but "moral" for a woman, the real-world consequences could be discriminatory.

The authors identify a gap in current research: while gender bias in sentiment analysis or occupation is well-documented, the intersection of gender and moral judgment remains under-explored. They set out to quantify whether changing only the gender of a story's protagonist causes an LLM to flip its moral stance.

Methods

The researchers employed a "parallel story" approach. For every scenario, they created two versions: one with a male protagonist and one with a female protagonist, keeping all other narrative elements identical.

To evaluate the models, they used two prompting strategies:

  1. Non-CoT (Chain-of-Thought): A direct request for a stance (Moral, Immoral, Both, or Can’t Say).
  2. CoT: A request for both a stance and the underlying reasoning.

The primary metric used is the Prediction Mismatch Rate (PMR)—the percentage of cases where the model's judgment changed based solely on the character's gender. They also calculated the Female Bias Rate (FBR) and Male Bias Rate (MBR) to determine which gender the model tended to favor.

Datasets

The authors introduced a new dataset called GenMO (Gender-bias in Morality Opinions).

  • Composition: 908 parallel story pairs (1,816 stories total).
  • Source Material: Curated and filtered from three existing datasets: Moral Stories, ETHICS, and Social Chemistry 101.
  • Contexts: Stories are categorized into four environments: Family, Work, Relationship, and Other.
Distribution of stories in the GenMO dataset across different sources and labels.

Key Insights and Ideas

  • The "Empathy Gap": The most significant finding is that LLMs are not just inconsistent; they are systematically biased toward "softer" judgments for women. In roughly 63-88% of cases where a mismatch occurred, the female character was given a moral or neutral pass, while the male character was judged harshly for the exact same action.
  • Contextual Sensitivity: Bias isn't distributed equally across all life domains. Mismatches were most frequent in Relationship and Family settings, suggesting that models are leaning heavily on traditional gender stereotypes in personal contexts.
  • The Scaling Paradox: Interestingly, larger models don't necessarily mean less bias. In the Llama 3 family, the 70B parameter model showed significantly higher bias than the 8B version. This suggests that as models become more "knowledgeable," they may more effectively capture and amplify the subtle biases present in their massive training corpora.

Key Results

The evaluation covered a wide range of production-standard models, and none were immune to bias.

  • GPT-3.5-turbo exhibited the highest bias among proprietary models, with a 24% PMR.
  • GPT-4-turbo improved significantly but still showed a mismatch in 17.7% of cases, with a staggering 85.09% Female Bias Rate.
  • Claude 3 Opus was the most balanced of the proprietary models, though it still favored female protagonists 63.46% of the time.
  • Open-source models like Mistral-7B and Llama 3.1-70B showed even higher inclinations toward female-favoring bias, with Mistral hitting an 88.42% FBR.
Table 2: Evaluation Results on the CoT prompt template for RQ1-3. RQ1: The highest Prediction Mismatch (PM) and Prediction Mismatch Rate (PMR) across models is highlighted in bold. RQ2: All models show a high female bias rate (FBR) marked in red. RQ3: The most prominent setting showing bias for each model is underlined.

The researchers also confirmed that these results are robust; changing character names or paraphrasing the prompts did not significantly alter the models' biased tendencies.

Robustness of results against insignificant changes like name swapping and paraphrasing.

Limitations and Future Work

The authors acknowledge several key limitations:

  1. Binary Scope: The study only considers male and female genders. Future work is needed to include non-binary identities.
  2. Filtering Bias: The GenMO dataset was initially filtered using GPT-3.5, which might mean the dataset is "tuned" to the specific biases of the GPT family.
  3. Mitigation: While the paper highlights the problem, it does not provide a solution. The authors call for the development of cleaner training data and more robust alignment techniques to ensure LLMs can provide truly gender-neutral moral reasoning.

Summary updated

BibTeX
@inproceedings{bajaj2024evaluating,
  author = {Divij Bajaj and Yuanyuan Lei and Jonathan Tong and Ruihong Huang},
  title = {{Evaluating Gender Bias of LLMs in Making Morality Judgements}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.928},
}
Figure