Lune

NeurIPS2021Top-tier venue

Bias Out-of-the-Box: An Empirical Analysis of Intersectional Occupational Biases in Popular Generative Language Models

Hannah Rose Kirk, Yennie Jun, Filippo Volpin, Haider Iqbal, Elias Benussi, Frédéric A. Dreyer, Aleksandar Shtedritski, Yuki M. Asano

Abstract

The capabilities of natural language models trained on large-scale data have increased immensely over the past few years. Open source libraries such as HuggingFace have made these models easily available and accessible. While prior research has identified biases in large language models, this paper considers biases contained in the most popular versions of these models when applied `out-of-the-box' for downstream tasks. We focus on generative language models as they are well-suited for extracting biases inherited from training data. Specifically, we conduct an in-depth analysis of GPT-2, which is the most downloaded text generation model on HuggingFace, with over half a million downloads per month. We assess biases related to occupational associations for different protected categories by intersecting gender with religion, sexuality, ethnicity, political affiliation, and continental name origin. Using a template-based data collection pipeline, we collect 396K sentence completions made by GPT-2 and find: (i) The machine-predicted jobs are less diverse and more stereotypical for women than for men, especially for intersections; (ii) Intersectional interactions are highly relevant for occupational associations, which we quantify by fitting 262 logistic models; (iii) For most occupations, GPT-2 reflects the skewed gender and ethnicity distribution found in US Labor Bureau data, and even pulls the societally-skewed distribution towards gender parity in cases where its predictions deviate from real labor market observations. This raises the normative question of what language models should learn - whether they should reflect or correct for existing inequalities.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Stereotyping Norwegian Salmon: An Inventory of Pitfalls in Fairness Benchmark Datasets cites Language (Technology) is Power: A Critical Survey of "Bias" in NLP
  • Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Models cites "I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Dataset
  • Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Models cites Stereotyping Norwegian Salmon: An Inventory of Pitfalls in Fairness Benchmark Datasets
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Skill-it! A data-driven skills framework for understanding and training language modelsMayee F. Chen, Nicholas Roberts, Kush Bhatia, Jue Wang et al.NeurIPS 2023 · 143 citations
  2. Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language ModelsMyra Cheng, Esin Durmus, Dan JurafskyACL 2023 · 89 citations
  3. "I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor DatasetEric Michael Smith, Melissa Hall, Melanie Kambadur, Eleonora Presani et al.EMNLP 2022 · 56 citations
  4. Improving Zero-shot Visual Question Answering via Large Language Models with Reasoning Question PromptsYunshi Lan, Xiang Li, Xin Liu, Yang Li et al.ACM MM 2023 · 29 citations
  5. Democratizing Fine-grained Visual Recognition with Large Language ModelsMingxuan Liu, Subhankar Roy, Wenjing Li, Zhun Zhong et al.ICLR 2024 · 27 citations

Builds on6

  1. Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
  2. Climbing towards NLU: On Meaning, Form, and Understanding in the Age of DataEmily M. Bender, Alexander KollerACL 2020 · 914 citations
  3. Language (Technology) is Power: A Critical Survey of "Bias" in NLPSu Lin Blodgett, Solon Barocas, Hal Daumé III, Hanna M. WallachACL 2020 · 68 citations
  4. Bad Seeds: Evaluating Lexical Methods for Bias MeasurementMaria Antoniak, David MimnoACL 2021
  5. Stereotyping Norwegian Salmon: An Inventory of Pitfalls in Fairness Benchmark DatasetsSu Lin Blodgett, Gilsinia Lopez, Alexandra Olteanu, Robert Sim et al.ACL 2021

Related papers

  1. StereoSet: Measuring stereotypical bias in pretrained language modelsMoin Nadeem, Anna Bethke, Siva ReddyACL 2021
  2. On the Mutual Influence of Gender and Occupation in LLM RepresentationsHaozhe An, Connor Baumler, Abhilasha Sancheti, Rachel RudingerACL 2025
  3. Job Unfair: An Investigation of Gender and Occupational Bias in Free-Form Text Completions by LLMsCamilla Casula, Sebastiano Vecellio Salto, Elisa Leonardelli, Sara TonelliEMNLP 2025
  4. Mitigating Gender Bias in Distilled Language Models via Counterfactual Role ReversalUmang Gupta, Jwala Dhamala, Varun Kumar, Apurv Verma et al.ACL Findings 2022 · 28 citations
  5. More of the Same: Persistent Representational Harms Under Increased RepresentationJennifer Mickel, Maria De-Arteaga, Liu Leqi, Kevin TianNeurIPS 2025 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines