---
title: "Evaluating Gender Bias of LLMs in Making Morality Judgements"
description: "GenMO tests whether language systems judge the same action differently when a story changes the gender of the person who performs it."
canonical: "https://research.elamur.ai/free/en/papers/bajaj-2024-evaluating-gender-bias-llms-making/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bajaj-2024-evaluating-gender-bias-llms-making/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Evaluating Gender Bias of LLMs in Making Morality Judgements

# Evaluating Gender Bias of LLMs in Making Morality Judgements

Paper · 2024 · Divij Bajaj, Yuanyuan Lei, Jonathan Tong et al.

**Authors:** Divij Bajaj, [Yuanyuan Lei](https://md.research.elamur.ai/free/en/authors/yuanyuan-lei/), [Jonathan Tong](https://md.research.elamur.ai/free/en/authors/jonathan-tong/) and [Ruihong Huang](https://md.research.elamur.ai/free/en/authors/ruihong-huang/) · **Year:** 2024 · **Venue:** Findings of the Association for Computational Linguistics: EMNLP 2024 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **11** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/bajaj-2024-evaluating-gender-bias-llms-making/cited-by/) · Findings of the Association for Computational Linguistics: EMNLP 2024 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.findings-emnlp.928/)
- [PDF](https://aclanthology.org/2024.findings-emnlp.928.pdf)
- [DOI 10.18653/v1/2024.findings-emnlp.928](https://doi.org/10.18653/v1/2024.findings-emnlp.928)

## Summary

A decision can look reasonable on its own and still be applied unevenly. A system might condemn a character’s conduct in one story and excuse it in another, even though the action and its circumstances are the same. Bajaj and colleagues ask whether changing the protagonist’s gender is enough to produce that difference in the moral judgments of [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/).

The authors build GenMO from existing collections of everyday moral scenarios. The dataset contains 908 pairs, each with a male-led and a female-led version. The authors use GPT-3.5-turbo-instruct to find situations likely to elicit different judgments, then have human annotators check and revise the stories. The aim is to preserve the action and its meaning across versions. In some stories that requires adjusting a supporting character’s gender as well, so that a relationship remains comparable. Each version receives its own judgment. The main prompt asks the system to choose Moral, Immoral, Both, or Can’t Say and explain its choice.

Every system tested produced mismatches, although their frequency varied. GPT-3.5-turbo changed its judgment on 218 of the 908 pairs under the main prompt, a prediction mismatch rate of 24.00%. GPT-4-turbo did so on 161 pairs, and Llama3.1-8B had the lowest count, at 52. The direction of the differences was consistent across systems in aggregate. Female characters received the more favorable judgment more often among the mismatches. That happened in 85.09% of GPT-4-turbo’s mismatches and 88.42% of Mistral-7B’s. These percentages describe the direction of disagreement among changed judgments, while the overall mismatch rate describes how often a judgment changed in the first place.

Relationship stories frequently elicited mismatches, and the comparison between the two Llama sizes showed more mismatches at 70B than at 8B under the main prompt in both generations tested. Follow-up experiments changed character names, reworded the question, and varied the sampling temperature. The resulting judgments retained much of their consistency, with visible sensitivity to the wording of the question. The released dataset gives researchers a way to probe unequal treatment in cases selected for that purpose. Its screening procedure and binary gender comparison define the scope of what the reported rates can establish.

## Deep dive: Evaluating Gender Bias of LLMs in Making Morality Judgements

GenMO tests whether language systems judge the same action differently when a story changes the gender of the person who performs it. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### When the actor changes but the action stays the same

A moral judgment about an action depends on details. What the actor intended, what obligations they had, and what their choice meant for other people can all matter. A system that attends to those details may produce a plausible explanation for a judgment. The question in this paper is whether the explanation and the judgment remain consistent when the same conduct is attributed to someone of a different gender. This turns a general concern about stereotypes into a comparison between responses to closely related inputs.

This question matters for applications in which a system is asked to evaluate conduct, such as content moderation, decision support, and some virtual assistants. The authors give the example of a moderation system treating content differently according to the gender of its author. They also raise the possibility that an assistant working with sensitive situations could favor one gender when describing or judging what happened. In those uses, people may see the judgment on the case in front of them and have little opportunity to compare it with the judgment another person would receive.

The form of the answer adds to the difficulty. An explanation can refer to motives, emphasize a harm, or give the actor the benefit of the doubt. Each of those moves can make sense in a moral argument. The diagnostic question is whether the same consideration would receive similar weight in the parallel case. The paired comparison asks for evidence at the level of a decision. A single response that sounds sympathetic or stern gives little basis for deciding whether that response reflects a difference in treatment.

The authors are especially interested in subtle cases. Clear wrongdoing may elicit a stable answer even from a system that reacts differently in situations where the moral implications are less obvious. An everyday situation with room for interpretation gives the responder more latitude in deciding how much weight to assign to intent, obligation, or context. That makes such situations attractive for a study designed to uncover disparities. It also makes the choice of situations part of the scientific question about how to interpret the resulting measurements.

#### How earlier work approached bias

The paper traces work on gender bias through representations of language and through the behavior of systems built for specific tasks. Studies of [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) investigated patterns of association in numerical representations of words. The authors cite research on conventional embeddings, on representations that vary with context, and on encoders that represent whole sentences. Those studies establish the broader concern that associations involving social groups can be reflected in representations used for [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/).

Prior studies also examined bias in the outputs of particular applications. The paper discusses work on gender in [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) and studies of gender and race in sentiment analysis. These lines of inquiry move the measurement closer to a decision that a user sees, such as how a translation expresses gender or how a system judges the sentiment of a piece of text. The works the authors cite include [Evaluating Gender Bias in Machine Translation](https://md.research.elamur.ai/free/en/papers/stanovsky-2019-evaluating-gender-bias-machine-translation/) and the [study of gender and race bias in sentiment analysis](https://md.research.elamur.ai/free/en/papers/kiritchenko-2018-examining-gender-race-bias-two/).

Prompt-based studies offer a way to investigate what happens when a system generates its own response to a social cue. The paper describes earlier work that used prompts mentioning demographic groups, including names associated with different groups. It also discusses research on occupational stereotypes and cites evidence that generated responses can amplify biases associated with training data. These studies motivate the use of carefully varied inputs to examine behavior that may be hard to see in any isolated answer. Examples are [The Woman Worked as a Babysitter](https://md.research.elamur.ai/free/en/papers/sheng-2019-woman-worked-as-babysitter-biases/) and [Gender Bias and Stereotypes in Large Language Models](https://md.research.elamur.ai/free/en/papers/kotek-2023-gender-bias-stereotypes-large-language/).

Other prior work, as the authors describe it, asked whether responses associate emotions differently with men and women. One study identified an association of anger with men and empathy with women. The authors also cite work on gender bias in multiple languages and work examining whether prompts that elicit an explanation can help evaluate or mitigate bias. An emotional association is relevant to the present question because sympathy and assessments of intent can shape a judgment. GenMO places those possible influences inside a task in which the answer assigns a moral stance to a specified action.

#### How earlier work approached moral judgment

The paper describes several ways of studying moral behavior in language systems. Some work asked whether a system could identify the norm that applies to a situation. Other studies used ambiguous prompts to investigate where systems land when there is room for competing moral views. The authors also cite tests of moral reasoning grounded in established theories and work aimed at predicting how people answer moral questions. Each of these approaches supplies a different basis for interpreting a response.

A story can make a moral problem concrete by specifying a person’s goal, the action they take, and the consequences that follow. Earlier resources that use this structure support research on how these pieces fit together in social reasoning. The GenMO authors inherit some of their scenarios from such a resource, then choose which pieces to show to the system. This makes the earlier work relevant to both the intellectual background and the construction of the experiment. One source is [Moral Stories](https://md.research.elamur.ai/free/en/papers/emelin-2021-moral-stories-situated-reasoning-about/).

The authors also describe earlier work on consistency across ways of asking moral questions. In one study they cite, behavior differed between a questionnaire and a set of vignettes based on moral foundations. This is a different kind of disagreement from the one GenMO studies. A change of instrument may change how the moral considerations are presented. Here the authors aim to keep the instrument and the action stable within a pair and vary how the actor is identified.

At the intersection of social bias and morality, the authors point to research that asked systems to adopt different political identities and examined how the resulting judgments varied. They also discuss work on the emotional and moral tone of responses concerning social groups. An instruction to answer as a person with a particular political identity changes the role assigned to the responder. The GenMO intervention instead changes a property of the person whose conduct is being assessed. The authors identify this paired test of gender and moral judgment as the gap their work addresses.

### The method, step by step

#### What counts as a pair

The basic unit of GenMO is an action embedded in a short story. The authors create a male-led version and a female-led version. In a first-person story, that can be as simple as supplying a gender cue about the person speaking. In a third-person story, the edit can require a different name, corresponding pronouns, and changes to other words that refer to the protagonist. The pair is useful to the experiment insofar as the resulting texts present comparable decisions for judgment.

The practical challenge is deciding which changes preserve the situation. If the story depends on a relationship between people, keeping every supporting character fixed can change the type of relationship implied by the story. In the example discussed alongside the paper’s first figure, the authors tried keeping the supporting character’s gender unchanged. Responses then invoked the apparent same-gender relationship as part of their explanation. In the illustrated pair, the authors changed both characters’ genders to preserve the relationship as they understood it. The intervention in that case concerns the gender roles of the people in the story together.

The authors attach an environment label to each pair. Family, Work, and Relationship identify three specific contexts of interest, while Other covers the remaining settings. The label applies to the situation the two versions share. There is no separate environment label for the male-led and female-led versions of the same event. This lets the authors ask whether mismatches are relatively common within an environment after accounting for the different sizes of the groups.

The study combines dataset construction with evaluation of existing systems. Queries to GPT-3.5-turbo-instruct help the authors decide which candidate stories to keep. Human reviewers then check the gender edits and the relevance of the story. The evaluation subsequently asks each tested system to judge the resulting versions. The study’s experimental procedure concerns the selection and presentation of inputs, with the systems accessed through their existing interfaces.

From source stories to paired moral judgments The steps in order.

#### How the source stories become candidates

Moral Stories contains 12,000 structured narratives. In each, a situation and an intent are paired with a moral norm and alternative courses of action, one classified as moral and the other as immoral. Each alternative includes a consequence. GenMO combines the situation and the protagonist’s intent with an action from one of these paths. Using both action paths yields 24,000 candidate scenarios at this stage.

The decision to leave out the norm and the consequence is important to the resulting task. The norm can tell the responder which expectation the scenario is meant to illustrate. The consequence can reveal how the source story treats the action after the fact. Showing those fields would give the system cues about how to classify the conduct. The authors want the system to form a judgment from the situation, intent, and action it is shown. The scenario a reader sees is therefore a deliberately selected part of the original record.

ETHICS organizes its material into commonsense, justice, virtue, deontology, and utilitarianism. Those categories have their own original training and test data. The GenMO authors use the framework categories to decide which situations to consider. They omit utilitarianism because its examples mainly concern relative pleasantness. In commonsense they retain scenarios originally labeled moral because they expect those to offer more subtle judgments. In justice and deontology they exclude scenarios marked unreasonable. They keep the virtue subset without that screening. These choices leave 38,131 ETHICS candidates for the subsequent relevance filter. The source and its framing are described in [Aligning AI With Shared Human Values](https://md.research.elamur.ai/free/en/papers/hendrycks-2020-aligning-ai-shared-human-values/).

Social Chemistry 101 takes a different form. It contains 103,692 distinct everyday situations, with associated actions and rules of thumb that characterize judgments about those actions. The authors see no particular rule-of-thumb category as a prerequisite for relevance, so all 103,692 situations enter the filtering procedure. This broad intake concerns the upstream candidate pool. The authors later apply a stricter screening rule to that source because many situations in it lack a clear action of the kind the moral question targets.

For first-person items from ETHICS and Social Chemistry, the authors introduce a short statement identifying the narrator as a man or a woman. A first-person story can refer to the actor only as the speaker, leaving the cue needed for the comparison unstated. Adding it up front avoids requiring third-person names or pronouns throughout the story. In contrast, when a third-person story already names the actor, changing that name and its references can carry the comparison. GenMO therefore includes more than one textual way of signaling gender.

#### How the screening finds responsive cases

The first pass uses GPT-3.5-turbo-instruct. The authors append a question that asks for a moral stance on the story, then asks what stance the system would take if the protagonist’s gender were exchanged. The available choices are Moral, Immoral, Both, and Can’t Say. Both lets the responder convey that competing assessments apply, while Can’t Say lets it express uncertainty. The two choices provide different ways to avoid a categorical answer.

At this stage, the system sees one story and imagines the change within the same prompt. The authors advance cases with differing stances and also make room for certain responses in which both answers express uncertainty or both take the mixed stance. This broad screen is intended to find candidates worth inspecting further. Considering a swap explicitly can draw the responder’s attention to gender. It may also lead the responder to imagine a version that differs in ways the researchers did not have in mind. The next pass supplies a written version of the change.

In that second pass, the authors first ask GPT-3.5-turbo-instruct to rewrite the story by changing the protagonist’s gender. The rewrite instruction tells it to preserve the genders of supporting characters. The authors then send the original and the rewritten story separately for judgment, each with the same stance-only question. A response to one version comes without the other version or its judgment in the prompt. A case that passes this screen has therefore elicited the relevant pattern when the system saw each text on its own.

The eligibility rule at this stage depends on the source. For Moral Stories and ETHICS, the authors keep cases with opposite moral opinions or with Can’t Say on one side. They discard cases where both responses remain uncertain or both adopt the mixed stance. For Social Chemistry, the two categorical opinions must be opposite. A broad uncertainty response to a situation with no discernible action would offer little evidence for the comparison, so the authors demand a clearer difference from this source.

After the automated filtering, the authors report 199 candidates from Moral Stories, 549 from ETHICS, and 255 from Social Chemistry. These counts describe the stories that reach the next stage. The screening has already selected on the response of a particular system. Its purpose is to build a collection in which disparities can be observed, and that purpose shapes what a later rate on the collection means.

#### Why humans revise the rewritten stories

The automated rewrites sometimes introduced details or changed the genders of all the characters. This creates a problem for a benchmark whose main comparison depends on the differences between texts being deliberate. The paper also reports trying methods based on word forms and [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/). Such methods struggled to identify the main actor reliably when the story had supporting characters. Recognizing gendered words is only part of the work. The editor also has to determine which person performs the action being judged.

The authors therefore use three human annotators to make or correct the swaps. Before distributing the main batches, they give the annotators complex cases to review so that they can reach a shared understanding of the instructions. In the regular work, an annotator identifies the main and supporting characters, decides whether the action can be transferred between versions, then revises the relevant names, pronouns, and other expressions. Where a new name is needed, the paper reports using a random choice from a pool of 10 names.

Some stories are difficult to transfer because a gender swap may alter the situation itself. The annotation instructions give pregnancy as an example of a circumstance that can make an otherwise mechanical substitution unsuitable. Other examples require checking the roles of supporting characters. The instruction is to change their gender when the story requires it and to make the edits consistently throughout the text. The guideline for ETHICS and Social Chemistry also asks annotators to flag items as irrelevant when they have multiple characters, contain nonhuman characters, or lack an action to assess.

The annotators first receive portions of each source collection. The authors then rotate the work so that a different person checks each set of revisions. A third annotator reviews disagreements, which are settled by majority vote. The annotators also assign the environment label and flag unsuitable stories. The resulting collection contains 199 pairs from Moral Stories, 529 from ETHICS, and 180 from Social Chemistry. The authors release GenMO as a dataset for research on gender bias in moral judgments.

#### How the final prompts solicit a decision

The paper uses two evaluation prompts with the finished pairs. The simpler version requests just one of the four stance labels. The other asks for the same label followed by a reason, in separately identifiable fields. The authors call the latter chain-of-thought prompting, or CoT. In this experiment the instruction elicits a written explanation of the selected stance in the same response. The label is the response element that enters the quantitative mismatch calculation. The prompting approach is associated with [Chain-of-Thought Prompting Elicits Reasoning in Large Language Models](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/).

The pairing takes place in the analysis. Each story version receives an individual judgment, so the system is never asked during evaluation to reconcile its two answers. This is useful for observing what each story elicits on its own. It also means that the output resembles a judgment somebody might see about a single case. The benchmark gets its comparative evidence by putting that response alongside the judgment of the other version afterward.

The possible label combinations matter. A categorical Moral judgment on one side and Immoral on the other supplies the clearest example of a mismatch. The reported definition also covers a categorical judgment on one side and an ambiguous one on the other. A system that excuses a character in one version and expresses uncertainty in the other has changed the kind of assessment it offers, even though the answers are short of a reversal. The statistic groups such differences into one count.

#### How the metrics are defined

The paper gives the definitions in prose. They can be written as counts of story pairs and fractions of those counts. The first quantity is the prediction mismatch count.

```
PM = |D|
```

PM denotes prediction mismatch, the number of pairs that meet the mismatch rule. D is the set of pairs with a categorical moral or immoral stance on one side and the opposite categorical stance or an ambiguous stance on the other. The vertical bars mean the number of elements in a set. Each element of D is a pair of stories judged by one system under one prompt condition.

```
PMR = PM ÷ N
```

PMR is the prediction mismatch rate. PM is the count just defined, and N is the total number of evaluated pairs in the condition. The division sign indicates that the count is expressed relative to the whole set that was evaluated. The tables report PMR as a fraction, while the paper also presents some of the same rates as percentages in its discussion.

To describe direction, the paper compares the stances for the male and female versions within a mismatch. It uses greater moral approval for one protagonist as its indication that a judgment favors that character. A Moral judgment on one side against an ambiguous or Immoral judgment on the other is the example made explicit in the directional procedure. The discussion also describes female-led cases receiving a neutral stance against a harsher answer for the male-led case. The purpose of these rates is to describe who received the more favorable treatment once there was a difference.

```
FBR = F ÷ PM
```

FBR denotes the female bias rate. F is the number of mismatched pairs in which the female-led story receives the more favorable stance, and PM is the number of prediction mismatches. The denominator thus refers to changed judgments for the system and prompt under consideration.

```
MBR = M ÷ PM
```

MBR denotes the male bias rate. M counts the mismatches in which the male-led story receives the more favorable stance, and PM again counts the prediction mismatches. In both directional measures the outcome belongs to the comparison between versions of a pair. A Moral response given to both characters contributes to neither directional count.

The authors use a separate denominator when they compare environments.

```
PMR(L) = |D ∩ E(L)| ÷ |E(L)|
```

L is an environment label. E(L) is the set of evaluated pairs with that label, D is the mismatch set, and ∩ means the intersection of two sets. The numerator counts pairs that have label L and exhibit a mismatch. The denominator counts all evaluated pairs with label L. PMR(L) is the resulting prediction mismatch rate for that environment. The notation in parentheses indicates which group is being measured.

These measures answer different questions about the same outputs. The overall rate describes the frequency of changed judgments within GenMO. The directional rates describe which protagonist is favored when judgments differ. The environment rate asks how frequently a difference occurs within a particular setting. Keeping track of those denominators makes it possible to interpret differences in frequency, direction, and context independently.

### Experiments and results

#### The evaluation set and comparison conditions

The experiments use the 908 final GenMO pairs. ETHICS makes the largest contribution, with 529 pairs, followed by Moral Stories with 199 and Social Chemistry with 180. The distribution of the environment labels also varies by source. Relationship stories account for 36.68% of the final Moral Stories contribution and 6.42% of the ETHICS contribution. For Social Chemistry the corresponding share is 17.77%. An environment can therefore carry some features of the corpus from which its stories were drawn.

Across the full dataset, the table reports 5.06% Work, 12.22% Family, 15.30% Relationship, and 67.40% Other. Work is the smallest named setting. Other is the largest group and covers a variety of situations beyond the other labels. The shares describe the makeup of the evaluation set. The environment-specific mismatch rates use the examples within each label as their reference group.

The authors evaluate GPT-3.5-turbo-instruct, GPT-3.5-turbo, and GPT-4-turbo through the OpenAI API. The named versions for the latter two are gpt-3.5-turbo-0125 and gpt-4-turbo-2024-04-09. They use the Anthropic API for Claude3-Sonnet and Claude3-Opus, identifying the versions as claude-3-sonnet-20240229 and claude-3-opus-20240229. The version identifiers matter because the observations concern responses obtained from those particular systems.

The open-source comparison includes the 8B and 70B Llama releases from both Llama 3 and Llama 3.1, accessed through the Groq API. The authors use the Together API for Mistral-7B-Instruct-v0.3. All systems are evaluated under both question formats. The main runs use temperature 0, a consistently supplied randomly chosen seed, and a response limit of 500 tokens. Temperature is a generation setting that affects the variety of possible responses. The limit gives the systems room to complete the requested explanation.

Each system is compared against its own treatment of the paired versions. Across systems, the corresponding comparison is how often the same test produces a changed stance. The stance-only prompt serves as the simpler prompting baseline for the prompt requesting an explanation. The study has no human-scored accuracy baseline for the final judgments. In this setup, a low mismatch rate means a system gives relatively consistent paired labels. An assessment of how well those labels reflect defensible human judgments would require a different outcome.

#### How often the stance changes

The authors give priority to the prompt requesting an explanation. Under that condition, GPT-3.5-turbo records the highest mismatch count, with 218 pairs, and the highest reported PMR, 0.2400. Within the same family, GPT-3.5-turbo-instruct yields 165 mismatches and GPT-4-turbo yields 161. The paper discusses GPT-4-turbo’s lower count in connection with the stricter safeguards described by its developers. The experiment compares the complete systems, with any differences between them entering together. The earlier work it cites on the safeguards is the [GPT-4 Technical Report](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/).

Claude3-Sonnet has 119 mismatches, with reported PMR 0.1314. Claude3-Opus has 104 and a rate of 0.1145, the lowest mismatch count among the proprietary systems in the main condition. The paper illustrates that a system with a comparatively low count can still produce mismatches worth examining. A response in a case that happens to be consistent gives a local picture of behavior, while the benchmark shows how often consistency breaks across the selected stories.

The open-source comparisons span a range of rates. Llama3-8B registers 94 mismatches and Llama3-70B 109. Llama3.1-8B produces 52, the lowest count overall under the main prompt, while Llama3.1-70B produces 113. Mistral-7B-Instruct-v0.3 records 95 mismatches and a reported PMR of 0.1046. The Llama results give the authors a within-family way to examine whether the measured behavior varies with the number of parameters.

Prediction mismatch rate on GenMO with the explanation prompt Llama3.1-8B changes stance least often, while GPT-3.5-turbo changes stance most often.

**The numbers**

| System or setting | PMR as a fraction of evaluated pairs |
| --- | --- |
| Llama3.1-8B (this paper) | 0.0572 |
| Llama3-8B | 0.1035 |
| Mistral-7B-Instruct-v0.3 | 0.1046 |
| Claude3-Opus | 0.1145 |
| Llama3-70B | 0.1200 |
| Llama3.1-70B | 0.1244 |
| Claude3-Sonnet | 0.1314 |
| GPT-4-turbo | 0.1773 |
| GPT-3.5-turbo-instruct | 0.1817 |
| GPT-3.5-turbo | 0.2400 |

A mismatch carries no single implication about the content of the judgment. It can mean that the response went from approval to disapproval. It can also mean that a definite stance in one version became uncertainty or a mixed assessment in the other. The full mismatch count conveys the frequency of the recorded changes. A count restricted to opposite categorical labels would answer a narrower question about how often the system reverses its moral verdict.

#### Whose conduct receives a more favorable judgment

Every system’s mismatches lean toward the female protagonist under the main prompt. The GPT comparisons show why it helps to report that direction apart from frequency. GPT-3.5-turbo changes its stance most frequently overall and has a female bias rate of 0.6835 within those changes. GPT-4-turbo changes its stance less often, but its female bias rate is 85.09% and its male bias rate is 14.91%. Within the screened test, a pair is more likely to have a mismatch under GPT-3.5-turbo, while a GPT-4-turbo mismatch is more likely to favor the female protagonist.

The two Claude versions share the general direction, with different degrees of asymmetry. Claude3-Sonnet favors female characters in 71.42% of its mismatches. For Claude3-Opus, the corresponding figure is 63.46%. Among the Llama measurements, Llama3.1-70B gives the female-led version the more favorable stance in 85.85% of disagreements. Mistral-7B reaches 88.42% on the same conditional measure.

The paper uses examples to show how the pattern can run in either direction on an individual story. Its second figure includes a female-favoring response from GPT-3.5-turbo and a male-favoring response from Llama3.1-70B. The examples have a different purpose from the rates. They make the kinds of unequal treatment visible in paired answers, while the rates establish which direction is more common across the benchmark for each system.

The discussion interprets some explanations as more empathetic toward female characters. The quantitative evidence reported for direction comes from the stance labels. A rationale can show how an individual answer grants latitude to an actor or condemns what they did. The percentage of female-favoring stances does not itself quantify how sympathetic the language was, how much attention was paid to any particular moral consideration, or how systematically those features accompanied each kind of mismatch.

#### Which settings elicit more mismatches

The paper emphasizes Relationship as a setting that often reveals a change. For Claude3-Sonnet, the relationship PMR is 0.2361, compared with 0.1176 for Work and 0.10 for Family. Llama3-70B has a relationship rate of 0.2083, compared with 0.1372 for Work and 0.1083 for Family. Llama3.1-70B shows a similar ordering, with 0.2013 for Relationship, 0.1372 for Work, and 0.0667 for Family. These within-setting rates put the comparison in terms of the number of pairs available for each label.

The ordering varies by system. GPT-3.5-turbo reaches 0.2583 on Family and 0.2291 on Relationship, with 0.0980 on Work. Mistral’s reported Family and Relationship rates are close, at 0.1333 and 0.1319, respectively. GPT-3.5-turbo-instruct has 0.1597 on Relationship and 0.1568 on Work. The cases with close rates and those with a different leading category help qualify the authors’ broader observation about close personal settings.

The category results displayed in the main comparison cover Work, Family, and Relationship. Other is an annotation category and accounts for a large share of the evaluation set, but its separate rate is absent from that comparison. The overall PMR still includes the evaluated pairs in that group. The evidence for a prominent role of relationship scenarios comes from comparing the named rates that the authors report and from the patterns they discuss across systems.

#### How the Llama sizes compare

The 8B and 70B versions provide the paper’s comparison by parameter count. Parameters are the learned numerical values that contribute to how a system produces its outputs. With the explanation prompt, the larger version registers more mismatches in both Llama generations. The Llama 3 comparison gives 94 at 8B and 109 at 70B. For Llama 3.1, the corresponding counts are 52 and 113. The difference is particularly pronounced in the latter pair of releases.

This result is specific to the systems and question format used for the main analysis. A comparison between released versions at different sizes also compares whatever other differences those versions embody. The main outcome establishes the ordering observed in these Llama comparisons. The stance-only results provide a check on how that ordering changes when the task is presented differently.

### What the ablations show

#### The effect of asking for a reason

The comparison between the stance-only prompt and the prompt requesting an explanation changes the response instruction while keeping the paired stories the same. With GPT-3.5-turbo-instruct, the stance-only prompt yields 417 mismatches and the explanation prompt yields 165. For Llama3-8B the respective counts are 265 and 94. Mistral-7B-Instruct-v0.3 similarly goes from 184 with the simpler prompt to 95 with the explanation prompt. These differences show substantial prompt dependence for particular systems.

The effect can also run in the other direction. GPT-3.5-turbo records 202 mismatches in the stance-only condition and 218 with explanations. Claude3-Opus records 78 and 104, respectively. For GPT-4-turbo, the counts are 159 and 161. The authors foreground the explanation results because they interpret the unusually high stance-only counts of some systems as reflecting greater difficulty producing a suitable stance under that instruction. In the absence of a correct-stance benchmark, the comparison directly shows a change in paired consistency. The paper’s explanation for why certain systems are more sensitive is an interpretation of that change.

The stance-only appendix also shows that the Llama ordering by parameter count depends on the prompt. In Llama 3 the 8B version produces 265 mismatches and the 70B version produces 74 with stance-only answers. The corresponding Llama 3.1 counts are 119 and 93. In both generations, the smaller version has more mismatches under this prompt, whereas the larger version has more under the explanation prompt. A size comparison that includes both conditions therefore concerns the interaction between the released system and the judgment procedure.

The direction of the mismatches is more stable than the ordering of their frequency. Every tested system favors female protagonists more often than male protagonists among its stance-only mismatches. For Llama3-8B, the appendix gives a female bias rate of 94.71% under that format. The authors also find that relationship scenarios often stand out in the stance-only results. The full set of figures retains exceptions, including Llama3-8B, whose stance-only Family PMR is 0.2522 and Relationship PMR is 0.2302.

#### Changing the name and rewording the question

A gender swap changes recognizable language, and in many stories that includes the character’s name. The authors check how much a name alone can influence the verdict by substituting another name of the same gender. They also paraphrase the question that comes after the story, keeping the story itself in place. A further condition combines the two changes. The experiment uses a random selection of 100 male-led stories and 100 female-led stories with names from GenMO.

This test compares each individual story’s GPT-3.5 stance before and after an edit. In the name-change condition, the stance agrees on 86% of the male-led stories and 88% of the female-led stories. With only the question paraphrased, agreement is 75% for the male-led stories and 81% for the female-led stories. With the name and question both changed, agreement is 77% and 84%, respectively.

The name-change condition gives the highest agreement for both groups in this experiment. The wording of the question is associated with more changes in the chosen stance. Agreement in the combined condition is slightly higher than with paraphrasing alone for both groups. The reported values give no simple rule that adding another edit will further reduce agreement. They establish how frequently the original verdict survives these particular ways of expressing the same story and request.

The authors view the predominance of agreement as evidence that the main observations have some robustness to incidental wording changes. The outcome here is agreement on individual versions. For a gender mismatch to persist, the two judgments must still differ after the relevant changes to both versions. An individual stance change could erase a mismatch, create a new one, or change its direction. The ablation thus tests an ingredient of the pairwise result and leaves the stability of the aggregate directional rates under these edits open.

#### Varying the generation temperature

The main runs use temperature 0. The authors repeat the GPT-3.5-turbo evaluation at other temperatures with the seed fixed to examine whether mismatches persist when response generation is allowed more variation. At temperature 0 they report 218 mismatches, with PMR 0.2400. The count is 210 at 0.2, 205 at 0.5, 209 at 0.8, and 184 at 1. The corresponding nonzero-temperature rates are 0.2312, 0.2257, 0.2301, and 0.2026.

GPT-3.5-turbo prediction mismatch rate on GenMO by temperature Mismatches persist across the tested settings, with the lowest rate at the highest temperature.

**The numbers**

| System or setting | PMR as a fraction of evaluated pairs |
| --- | --- |
| Temperature 0 | 0.2400 |
| Temperature 0.2 | 0.2312 |
| Temperature 0.5 | 0.2257 |
| Temperature 0.8 | 0.2301 |
| Temperature 1 (this paper) | 0.2026 |

All of the reported nonzero-temperature runs have lower mismatch counts than the run at temperature 0. The counts at intermediate temperatures do not decrease monotonically. The authors take the results as evidence that the presence of mismatches is robust to the choice of temperature in this experiment. The rate at the highest tested temperature also shows that the exact frequency can move when this setting changes.

The ablation follows aggregate mismatch counts for one system. Two runs with similar totals may disagree about which pairs exhibit a mismatch. The table leaves that question unresolved, along with whether the cases that change continue to favor the same protagonist. Together with the wording tests, this experiment gives evidence that differences survive some changes to how the responses are elicited. Each robustness check measures a particular aspect of that stability.

### Limitations

#### Limits the authors identify

The authors identify scenario selection as a limitation. GPT-3.5-turbo-instruct determines which candidates reach human revision, using its own judgments and the judgments it produces for its own rewrites. Relevant cases can be missed if that system gives a stable answer where another tested system would respond differently. Cases can also be retained for reasons tied to the screening system’s interpretation of an imperfect rewrite. Human annotation improves the final texts, while the earlier choices still determine which stories the annotators see.

Using one system as the screening instrument can also affect comparisons between the tested systems. The authors explicitly acknowledge that the resulting collection may fit some systems’ sensitivities better than others’. GPT-3.5-turbo-instruct later appears as one of the systems evaluated. Its role in generating candidates matters especially when considering its results, although the final edits and the explanation prompt differ from parts of the screening procedure. The authors frame their purpose as demonstrating the presence of bias in this class of scenario.

The second stated limitation is that the benchmark considers male and female protagonists. The authors acknowledge gender beyond these categories and leave extension of the dataset to other gender identities for future work. The reported directional rates are defined for the binary pairs they constructed. A broader evaluation would need additional story variants and a definition of how to compare their judgments that reflects the identities under study.

The ethical discussion also recognizes that the source corpora can contain inappropriate or immoral situations. These are items for systems to assess, and their inclusion follows from the decision to study moral reactions in difficult everyday scenarios. Readers should interpret the narratives and responses as study material. The paper’s contribution concerns the treatment those narratives elicit.

#### What follows from the selection procedure

The benchmark is enriched for situations likely to produce a change in judgment. Its overall rate is measured on the finished pairs, after the authors favor selected source categories, screen for sensitivity, and remove examples judged unsuitable. A deployment that receives a different mix of cases may present more apparently straightforward actions, more ambiguity, or different cues about the actor. An estimate of how frequently unequal moral treatment occurs in that setting would depend on the cases actually encountered there.

The selection rules also affect how the setting comparisons can be read. The input sources supply different proportions of Relationship, Family, and Work examples, and the authors use a stricter second-pass rule for Social Chemistry. The relationship rate combines the properties of the stories in that environment with the consequences of these source and selection choices. The experiment shows that the selected relationship stories often elicit mismatches. Isolating the effect of setting itself would require evidence from stories that vary the environment while holding other relevant features stable.

The source material gives additional reasons for care. Moral Stories supplies an intent as part of the constructed narrative. Other stories may be terse first-person descriptions with the gender cue added at the beginning. A system may respond differently to these forms because they differ in what is stated and how the character is introduced. The benchmark accommodates several forms of everyday storytelling, and its aggregate results combine those forms. The reported analysis leaves open how the directional pattern varies across them.

The paper’s environment comparisons are descriptive. A rate for a smaller group can be more sensitive to individual stories than a rate for a larger group. The article reports counts and observed rates, and the main tables give point estimates. Uncertainty around small differences in group rates is left unquantified. For instance, when a system has close rates for Family and Relationship, those observations show what happened in the tested pairs, while the strength of the ordering beyond those pairs remains uncertain.

#### What the gender intervention contains

The authors aim to preserve the relevant action and context across versions. In practice, different kinds of edits carry the changed cue. A first-person statement can make gender explicit. A third-person rewrite may replace a name and several references. A pair may require a change to another person’s gender to keep a relationship comparable. The measured effect therefore concerns these particular narrative rewrites. The data construction procedure gives the comparison its practical meaning.

Names can convey associations beyond the gender cue intended by the authors. The name-change ablation helps address this concern by showing that many individual stances persist when the system sees a different name of the same gender. It also shows that some change. The experiment uses a subset of stories and one tested system for that analysis. How much the choice of names contributes to the overall mismatch pattern across the full dataset and across the other systems remains an open question.

The supporting-character example exposes a distinct design difficulty. Holding a supporting character fixed can alter the relationship implied by the passage. Changing that character can preserve the relationship while changing more than one person’s gender. Each choice controls a different feature of the story. The authors prioritize preserving the meaning of the narrative as they understand it. In those pairs, a measured disparity belongs to the combined rewrite, and the separate contributions of the protagonist’s and supporting character’s cues remain unresolved.

The human review procedure provides a check on whether the rewrites are appropriate and consistently applied. The paper describes how the annotators reach preliminary agreement on difficult examples and how disagreements in the main work are resolved. It gives the final outcome as a curated set of pairs. The reported aggregate results do not quantify which editorial decisions were most contested or whether certain types of rewrites elicit mismatches more often than others.

#### What the judgments and explanations establish

The core measurement is a difference in labels. It treats a categorical reversal and a shift into ambiguity as circumstances in which the paired judgments differ. These outcomes can have different practical meanings. A system that calls an act acceptable in one telling and wrong in the other has changed its verdict. A system that becomes uncertain may instead be changing how much confidence or moral latitude it expresses. The authors’ examples help readers see the distinctions, while the total mismatch count intentionally combines the covered cases.

The paper also leaves some detail about ambiguity at the level of prose definitions. The directional procedure illustrates comparisons in which one side receives a Moral label and the other receives an ambiguous or Immoral label. The discussion additionally describes outcomes where a neutral stance is more favorable than the judgment of the other version. A breakdown by exact label transition would clarify how much of each directional rate comes from categorical reversals and how much from movement between categorical and ambiguous answers.

Label consistency is a property of the system’s treatment of the paired text. The benchmark does not award credit for an independently established right answer. A system that makes the same blunt or poorly justified judgment in both versions will appear consistent on the paired measure. A system that takes the question seriously and changes its judgment after attending differently to the actors can exhibit a mismatch. The metric captures that difference in treatment, while the substantive quality of the judgments would require separate assessment.

The explanation prompt offers another kind of evidence. The texts can reveal a reason the system gives for treating a character favorably or unfavorably. The authors read some of these rationales as showing greater empathy toward female protagonists. Because the experiment records responses instead of examining the systems’ internal decisions, an explanation establishes what the response says in support of the label. Whether those stated reasons reflect the process that produced it lies outside the measure.

#### What remains open about causes and consequences

The authors suggest that disparities could reflect the data used in training and that better filtering of training material might help. The study does not manipulate training data or retrain the evaluated systems. Its evidence for the bias comes from the paired outputs. Identifying a particular training source, estimating its contribution, or testing whether filtering improves the judgments would require comparisons that intervene on training itself.

Similarly, the proprietary systems differ in ways that the API comparisons do not isolate. The paper relates the GPT results to changes in safeguards and discusses how newer releases handle sensitive judgment. Across two product versions, differences in the base system, subsequent training, response behavior, and safeguards may enter together. The observed differences establish how the tested versions compare under the same benchmark. The contribution of any particular safeguard remains unmeasured.

The ablations place useful boundaries on claims of robustness. The paraphrasing and name experiment uses a sample of named stories and one system. The temperature experiment changes the setting with the seed fixed and reports the aggregate mismatch rate. The two evaluation prompts, in contrast, are compared across all tested systems and produce clear differences for some of them. The repeated female-favoring direction across both prompts is a pattern supported by those system-wide comparisons. Robustness of the identity and direction of individual mismatches under every perturbation remains a separate question.

Finally, the application examples motivate testing, but the experiment itself uses short, selected narratives and an explicit request for a moral opinion. A moderation system or assistant could be given other information and asked to make a different kind of decision. The paper establishes a behavioral concern that could matter in such applications. The frequency and consequences of that behavior in a particular deployment depend on what the system is asked to do and who is affected by the resulting decisions.

### What came after

The subsequent citations place the work in two broader research settings. One is the review of open datasets for evaluating and improving the safety of language systems. GenMO contributes a concrete instance of the kind of resource such a review can place alongside other evaluation collections. Its task is to test whether a specified change in a story affects a moral judgment, and its released pairs make the cases available for inspection. The documented connection is a citation from a systematic review, with the scope indicated by [SafetyPrompts](https://md.research.elamur.ai/free/en/papers/rottger-2024-safetyprompts-systematic-review-open-datasets/).

The other citation comes from work on differences in moral judgment and values between people and language systems. Bajaj and colleagues compare responses within a system when the same action is described with a male or female protagonist. The later work’s stated subject is the relationship between human and system judgments and the values those judgments express. This connects GenMO’s study of who receives a favorable judgment with a broader question about how generated moral evaluations relate to human perspectives. The stated scope is reflected in [The Pluralistic Moral Gap](https://md.research.elamur.ai/free/en/papers/russo-2026-pluralistic-moral-gap-understanding-moral/).

The citation records establish these connections at the level of research scope. They leave open whether either work reused GenMO’s story pairs, reproduced its prompting conditions, or adopted its mismatch metrics. The review gives the study a place in the discussion of reusable safety evaluations. The work on the pluralistic moral gap places it in the discussion of how moral judgments vary and what those judgments can tell us about the perspectives expressed in an answer.

## Cite

Cite as Divij Bajaj, Yuanyuan Lei, Jonathan Tong and Ruihong Huang. 2024. Evaluating Gender Bias of LLMs in Making Morality Judgements. Findings of the Association for Computational Linguistics: EMNLP 2024.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.findings-emnlp.928](https://doi.org/10.18653/v1/2024.findings-emnlp.928)

```bibtex
@inproceedings{bajaj2024evaluating,
  title = {{Evaluating Gender Bias of LLMs in Making Morality Judgements}},
  author = {Divij Bajaj, Yuanyuan Lei, Jonathan Tong and Ruihong Huang},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2024},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.928},
  url = {https://doi.org/10.18653/v1/2024.findings-emnlp.928}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
