Fewer Errors, but More Stereotypes? The Effect of Model Size on Gender Bias

Yarden Tal, Inbal Magar, Roy Schwartz
6/20/2022
cs.CL

Official code: schwartz-lab-NLP/model_size_and_gender_bias (0 stars, Python, last commit 2022-07-04).

Abstract

The size of pretrained models is increasing, and so is their performance on a variety of NLP tasks. However, as their memorization capacity grows, they might pick up more social biases.

Show full abstract

In this work, we examine the connection between model size and its gender bias (specifically, occupational gender bias). We measure bias in three masked language model families (RoBERTa, DeBERTa, and T5) in two setups: directly using prompt based method, and using a downstream task (Winogender). We find on the one hand that larger models receive higher bias scores on the former task, but when evaluated on the latter, they make fewer gender errors. To examine these potentially conflicting results, we carefully investigate the behavior of the different models on Winogender. We find that while larger models outperform smaller ones, the probability that their mistakes are caused by gender bias is higher. Moreover, we find that the proportion of stereotypical errors compared to anti-stereotypical ones grows with the model size. Our findings highlight the potential risks that can arise from increasing model size.

View on arXivView PDF

Code Implementations(1)

Code for "Fewer Errors, but More Stereotypes? The Effect of Model Size on Gender Bias" by Yarden Tal, Inbal Magar and Roy Schwartz, 4rd Workshop on Gender Bias in Natural Language, NAACL 2022.

00PythonMay 19, 20224 years ago

Similar Papers

Cite this paper

@article{tal2022fewer,
  title  = {Fewer Errors, but More Stereotypes? The Effect of Model Size on Gender Bias},
  author = {Yarden Tal and Inbal Magar and Roy Schwartz},
  year   = {2022},
  eprint = {2206.09860},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09860}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.09860.svg)](https://codeofpaper.com/paper/2206.09860)

Discussion