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

Yarden Tal, Inbal Magar, Roy Schwartz


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. 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.
Anthology ID:
2022.gebnlp-1.13
Volume:
Proceedings of the 4th Workshop on Gender Bias in Natural Language Processing (GeBNLP)
Month:
July
Year:
2022
Address:
Seattle, Washington
Venue:
GeBNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
112–120
Language:
URL:
https://aclanthology.org/2022.gebnlp-1.13
DOI:
10.18653/v1/2022.gebnlp-1.13
Bibkey:
Cite (ACL):
Yarden Tal, Inbal Magar, and Roy Schwartz. 2022. Fewer Errors, but More Stereotypes? The Effect of Model Size on Gender Bias. In Proceedings of the 4th Workshop on Gender Bias in Natural Language Processing (GeBNLP), pages 112–120, Seattle, Washington. Association for Computational Linguistics.
Cite (Informal):
Fewer Errors, but More Stereotypes? The Effect of Model Size on Gender Bias (Tal et al., GeBNLP 2022)
Copy Citation:
PDF:
https://aclanthology.org/2022.gebnlp-1.13.pdf
Video:
 https://aclanthology.org/2022.gebnlp-1.13.mp4
Code
 schwartz-lab-nlp/model_size_and_gender_bias
Data
StereoSetSuperGLUE