Inferred Author Gender as a Variable Affecting LLM Behaviour

dc.contributor.authorHiebert, Avery
dc.date.accessioned2026-08-28T17:58:08Z
dc.date.issued2026-08-28
dc.date.submitted2026-08-25
dc.description.abstractThe presence of undesirable bias in Large Language Models (LLMs) and other NLP systems has been studied extensively. However, the widespread framing of “bias” as a distinct phenomenon separable from “legitimate” uses of gender has been identified as a weakness of the existing literature, as has a lack of engagement with the meaning and use of “gender” as a category. We investigate the modeling of “author gender” as a source of gender-influenced behaviour in GPT-2, using an exploratory approach based on interpretability techniques rather than the traditional “biased/unbiased” dichotomy. A simple zero-shot prompt reveals that GPT-2 has learned to estimate author gender in some contexts. Attribution experiments reveal stereotypical associations, both stylistic and semantic, that inform the model’s estimation of author gender. Causal intervention experiments using a linear probing classifier suggest that author gender information influences model output, including reflecting stereotypical gender associations. These results have implications for the detection and mitigation of gender bias and the broader understanding of how gender is “used” by LLMs.
dc.identifier.urihttps://hdl.handle.net/10012/24130
dc.language.isoen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.subjectartificial intelligence
dc.subjectgender
dc.subjectnatural language processing
dc.subjectlarge language models
dc.subjectinterpretability
dc.titleInferred Author Gender as a Variable Affecting LLM Behaviour
dc.typeMaster Thesis
uws-etd.degreeMaster of Mathematics
uws-etd.degree.departmentDavid R. Cheriton School of Computer Science
uws-etd.degree.disciplineComputer Science
uws-etd.degree.grantorUniversity of Waterlooen
uws-etd.embargo.terms0
uws.contributor.advisorLabahn, George
uws.contributor.affiliation1Faculty of Mathematics
uws.peerReviewStatusUnrevieweden
uws.published.cityWaterlooen
uws.published.countryCanadaen
uws.published.provinceOntarioen
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Hiebert_Avery.pdf
Size:
2.57 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
6.4 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections