Introduction
As Large Language Models (LLMs) are increasingly integrated into decision-support systems, content moderation, and virtual assistants, their "moral compass" has become a matter of public safety. While previous research has documented gender bias in occupations and emotions, the intersection of gender and morality remains under-explored. This research, presented at EMNLP 2024, investigates how gender influences the moral evaluations assigned by LLMs. By introducing a new parallel dataset, the researchers demonstrate that simply swapping "he" for "she" can cause a model to flip its moral judgment, consistently showing a systemic bias that favors female characters with more empathetic or lenient evaluations.
Methodology
The authors employed a rigorous pipeline to isolate gender as the sole variable in moral reasoning:
- Two-Pass Filtering: Scenarios from existing datasets were scanned using GPT-3.5-turbo-instruct to identify "subtle" moral dilemmas where model stances were prone to change.
- Parallel Story Generation: The researchers created the GenMO dataset by taking these scenarios and creating identical pairs—one with a male protagonist and one with a female protagonist.
- Human-in-the-loop Validation: Human annotators corrected AI-generated swaps to ensure that names, pronouns, and supporting character genders were handled consistently without introducing unwarranted context.
- Evaluation: Models were tested using both standard zero-shot prompting and Chain-of-Thought (CoT) prompting to see if step-by-step reasoning reduced bias.
The GenMO Dataset
The study introduced GenMO (Gender bias in Morality Opinions), which consists of 908 parallel story pairs (1,816 total stories). These stories were curated from three primary sources: Moral Stories, ETHICS, and Social Chemistry 101. Each pair is categorized into specific environments: Family, Work, Relationship, or Other.
Key Results and Analysis
The evaluation revealed that all major models (including GPT-4, Llama 3, and Claude 3) exhibit significant gender bias, consistently providing "softer" moral judgments for female characters in identical scenarios.
The Empathy Gap
Models are systematically more lenient toward female characters. When a model gave different answers for the same story pair, it favored the female character between 63% and 88% of the time. Mistral-7B showed the strongest directional bias, favoring the female character in 88.42% of its mismatched cases. GPT-3.5-turbo was the most inconsistent, with a 24% Prediction Mismatch Rate (PMR).
Contextual Sensitivity and Scaling
Bias is not uniform across life's domains; it is most prominent in Relationship and Family settings, where traditional gender stereotypes regarding empathy are strongest, and least prominent in Work settings.
Interestingly, the study found a Scaling Paradox: larger models aren't necessarily fairer. In the Llama 3.1 family, the 70B model showed more than double the bias of the 8B variant (0.1244 vs 0.0572 PMR). This suggests that as models ingest more data, they may more effectively amplify societal stereotypes.
Impact of Chain-of-Thought
While Chain-of-Thought (CoT) prompting helped smaller models stay more consistent, it did not eliminate the underlying inclination toward one gender. Models often maintained their biased stance even when forced to reason through the scenario step-by-step.
Limitations and Future Work
The authors acknowledge several constraints, including a focus on binary gender and a reliance on GPT-3.5 for initial filtering. Future work is needed to include non-binary identities and to develop mitigation strategies that focus on training models on more balanced datasets to prevent the reinforcement of these "collective mindset" biases.
Summary updated