Occupational Biases in Norwegian and Multilingual Language Models

Samia Touileb, Lilja Øvrelid, Erik VelldalOpenReview 2022

Abstract

In this paper, we explore how the demographic distribution of occupations along gender dimensions is reflected in pre-trained language models. We provide a descriptive assessment of occupational distributions and investigate the extent to which these are reflected in four Norwegian and two multilingual models. Using a set of simple bias probes, we perform five tasks combining gendered pronouns, first names, and occupations from the Norwegian Statistics Bureau. Our results show that language-specific models are more accurate and closer to real-world distributions for gendered occupations. However, no models correctly represent occupations that are demographically balanced. We also discuss the impact of training data and the fragility of template-based probes.

Introduction

Most research on gender bias in Natural Language Processing (NLP) is motivated by a normative vision: the idea that models should treat genders equally regardless of real-world disparities. However, this paper argues for a descriptive assessment. Societal constructs lead to real-world gender imbalances in certain fields (e.g., in Norway, the vast majority of nurses are female). Understanding whether models reflect these demographics or amplify them into harmful stereotypes is crucial for downstream applications like resume filtering. This study examines how well local (Norwegian) and global (multilingual) models capture the specific demographic reality of the Norwegian workforce.

Methodology

The researchers employed template-based bias probes using Masked Language Modeling (MLM). Five tasks were designed to test associations between gendered pronouns, first names, and occupations:

  1. Task 1 & 2: Masking the pronoun in [MASK] is a/an [occupation] and [MASK] works as a/an [occupation].
  2. Task 3 & 4: Masking the occupation in [name] is a/an [MASK] and [name] works as a/an [MASK].
  3. Task 5: Masking the occupation in a possessive structure: the [MASK] [name].

The models' probability distributions were compared against "gold standard" demographic data from the Norwegian Statistics Bureau (SSB), which includes 418 occupations and their gender distributions.

Table 1: Examples of occupations and their real-world gender distribution in Norway.

Six models were tested: Norwegian-specific (NorBERT, NorBERT2, NB-BERT, NB-BERT_Large) and multilingual (mBERT, XLM-RoBERTa).

Key Results and Insights

The study revealed several critical findings regarding model performance and bias:

Language Specificity and Performance

Norwegian-specific models significantly outperformed multilingual models. The NB-BERT_Large model was a top performer across tasks, while multilingual models like mBERT generally failed to capture local occupational demographics, often performing worse than even the smallest Norwegian-specific models.

Table 2: Macro F1 scores for all models across the five tasks, showing the superior performance of Norwegian-specific models.

The "Male Default" and Skewed Accuracy

Models consistently showed a bias toward male associations, even for demographically balanced occupations like doctors or architects. While models achieved high F1 scores for male-dominated occupations, they were significantly less accurate for female-dominated ones. This suggests that internal representations of female-dominated fields are less certain or more biased toward the male default.

Template Fragility

A significant finding was the sensitivity of models to minor syntactic changes. For instance, changing the verb from "is" to "works as" (Task 1 vs. Task 2) led to notable shifts in model behavior. This indicates that template-based probes can be brittle and highly dependent on specific phrasing, suggesting that LMs are sensitive to syntactic structure when expressing bias.

Conclusion

While language-specific models better reflect local demographics, they still struggle with gender-balanced occupations and exhibit a persistent male bias. The fragility of template-based probes highlights the need for more robust, non-template-based evaluation methods. Future work will explore whether this "local model advantage" persists across other cultures and languages.

Summary updated

Abstract

In this paper we explore how a demographic distribution of occupations, along gender dimensions, is reflected in pre-trained language models. We give a descriptive assessment of the distribution of occupations, and investigate to what extent these are reflected in four Norwegian and two multilingual models. To this end, we introduce a set of simple bias probes, and perform five different tasks combining gendered pronouns, first names, and a set of occupations from the Norwegian statistics bureau. We show that language specific models obtain more accurate results, and are much closer to the real-world distribution of clearly gendered occupations. However, we see that none of the models have correct representations of the occupations that are demographically balanced between genders. We also discuss the importance of the training data on which the models were trained on, and argue that template-based bias probes can sometimes be fragile, and a simple alteration in a template can change a model’s behavior.
BibTeX
@misc{touileb2022occupational,
  author = {Samia Touileb and Lilja Øvrelid and Erik Velldal},
  title = {{Occupational Biases in Norwegian and Multilingual Language Models}},
  year = {2022},
  url = {https://openreview.net/forum?id=088_1syFtF},
  howpublished = {OpenReview},
}
Figure