Woman Is To Nurse As Man Is To... Nurse Too?: Uncovering Structural Bias in GPT-2
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
Large Language Models like GPT-2 are not merely passive mirrors reflecting societal biases; they actively reconstruct and amplify such biases within their internal semantic spaces. This thesis critically interrogates how occupational-gender biases become structurally internalized in GPT-2’s embedding space, uncovering not superficial stereotypes but deeply embedded social hierarchies encoded through computational means.
By analyzing the semantic positioning of various occupations via cosine similarity, gender axis projection, and unsupervised semantic clustering, this research uncovers a structural bias more profound than simple stereotypes. The study’s key finding is that GPT-2 operates with a powerful, implicitly male-coded prototype for the conceptual categories of “occupation” and “professional.” This creates a gravitational pull where even female-dominated roles like “nurse” or “librarian” are semantically distorted towards a masculine center. Furthermore, this thesis demonstrates that the model’s internal organization of occupations is not primarily driven by gender, but by latent hierarchies of power, prestige, and institutional authority. High-status, credentialed professions form a semantically central cluster, mirroring societal power structures.
This work in Digital Humanities challenges prevailing assumptions about neutrality in AI, highlighting the necessity of addressing deeply rooted computational structures, not merely surface outputs, to foster genuinely equitable artificial intelligence systems.
Place, publisher, year, edition, pages
2025. , p. 78
Series
Theses within Digital Humanities ; 58
Keywords [en]
GPT-2, Gender Bias, Structural Bias, AI Ethics
National Category
Computer and Information Sciences Sociology Social Sciences
Identifiers
URN: urn:nbn:se:uu:diva-561193OAI: oai:DiVA.org:uu-561193DiVA, id: diva2:1973968
Subject / course
Digital humanities
Educational program
Master's Programme in Digital Humanities
Supervisors
Examiners
2025-06-292025-06-202025-06-29Bibliographically approved