Gender Bias in Large Language Models: What Occupational Stereotypes Reveal

Large language models can produce polished explanations in seconds, and that fluency can make their answers feel more grounded than they are. A study by Hadas Kotek, Rikker Dockum, and David Q. Sun offers a useful demonstration of this problem. By asking models to interpret deliberately ambiguous sentences, the researchers found that gender bias in large language models can shape both the answer a system gives and the explanation it invents afterward.

For educators, this is an important AI literacy issue. Students and teachers need to recognize that a coherent explanation is not evidence that a model has identified the real basis for its response. Sometimes the explanation simply makes a stereotyped choice sound reasonable.

Summary of the Study

Kotek and colleagues developed a testing method inspired by WinoBias, a well-known benchmark for gender bias in language systems. Their prompts paired occupations commonly perceived as masculine or feminine, such as doctor and nurse, with either he or she.

Every sentence was grammatically ambiguous: the pronoun could refer to either occupation. The researchers varied the order of the occupations and the pronoun, tested four publicly available models from early 2023, and then asked whether the unselected occupation could also be a possible referent.

gender bias in large language models

Across the models, occupational stereotypes strongly influenced pronoun interpretation. A masculine pronoun tended to be linked with a stereotypically male occupation, while a feminine pronoun tended to be linked with a stereotypically female occupation.

The models’ choices aligned more closely with people’s perceptions of gendered occupations than with U.S. labor statistics. The pattern was especially restrictive for women: models concentrated female referents within a narrower range of stereotypically feminine roles and amplified those associations beyond the real-world employment distribution.

The ambiguity findings are equally revealing. The models seldom identified the sentences as ambiguous in their initial answers, although most became more willing to acknowledge a second interpretation when explicitly asked.

In a baseline condition, adding clearly gendered names helped the systems resolve pronouns accurately, including when the name and occupation formed an anti-stereotypical pairing. This suggests that models can use direct evidence that contradicts a stereotype, yet stereotypes readily fill the gap when the language leaves room for interpretation.

The study also examined the explanations accompanying model choices. Some referred openly to gender stereotypes; others invoked grammar, word order, or contextual plausibility in ways that were inconsistent or factually wrong. The authors describe these responses as rationalizations: authoritative-sounding accounts that may conceal the source of a biased prediction.

The study is limited to English, a binary treatment of gender, a relatively small prompt set, and four models available at one point in time. Its measure of bias is indirect, so the experiment establishes a strong pattern of association without revealing the models’ internal causal process.

Why the Explanations Matter

The most unsettling part of the paper goes beyond a model associating doctor with he and nurse with she. The model can wrap that association in a confident lesson about grammar. In several cases, the same grammatical principle was used to defend contradictory answers after only the pronoun had changed.

This matters in education because explanations invite trust. A student may treat a fluent response as a worked solution, while a teacher may read it as evidence of reasoning. Yet language models generate plausible continuations, and the story they tell about an answer does not necessarily expose how that answer arose. This connects directly with the broader problem of the hidden curriculum in generative AI: repeated outputs can quietly communicate who is expected to occupy positions of authority, expertise, or care.

The paper also challenges a common defense of biased AI that the system merely mirrors society. Historical labor patterns already reflect unequal access, discrimination, and cultural expectations. A model trained on those patterns can turn yesterday’s inequalities into today’s default assumptions. Once that output is inserted into tutoring, hiring, advising, or educational content, description can begin to function as prescription.

Practical Insights

Educators do not need a specialized bias benchmark to make this issue visible. A short classroom audit can turn the paper’s method into a powerful critical AI literacy activity:

  • Give an AI system an ambiguous sentence containing two occupations and a gendered pronoun.
  • Swap he and she while keeping everything else unchanged.
  • Reverse the order of the occupations and compare the answers again.
  • Ask the model whether another interpretation is possible.
  • Check every grammatical claim in its explanation against a trusted language resource.

The comparison is the lesson. Students can see how a tiny prompt change exposes assumptions that remain hidden in a single response. They can also learn to separate three questions: What answer did the model give? What evidence supports it? Is the explanation accurate?

For teachers selecting AI tools, bias evaluation should reflect the intended use. A system used for brainstorming carries different consequences from one used to recommend courses, screen applications, or advise students about careers. Higher-impact uses require documented testing across identities, repeated prompts, and realistic scenarios. As the researchers emphasize, equitable performance has to be treated as a core condition of product quality.

The larger takeaway is straightforward: ambiguity creates space for social stereotypes to enter an AI response, and fluency can hide that entry point. Teaching learners to test, compare, and verify model outputs is therefore central to responsible AI use.

Reference

Kotek, H., Dockum, R., & Sun, D. Q. (2023). Gender bias and stereotypes in large language models. In Proceedings of the 2023 ACM Collective Intelligence Conference (pp. 12–24). Association for Computing Machinery. https://doi.org/10.1145/3582269.3615599

The AI in Education Research Digest

Keep exploring the research with me.

Get my reviews of new studies on AI, teaching, and learning, with thoughtful takeaways for your work as an educator.

Free to join. Unsubscribe anytime. Privacy policy.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top