SOTAVerified

Robust Bias Detection in MLMs and its Application to Human Trait Ratings

2025-02-21Code Available0· sign in to hype

Ingroj Shrestha, Louis Tay, Padmini Srinivasan

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

There has been significant prior work using templates to study bias against demographic attributes in MLMs. However, these have limitations: they overlook random variability of templates and target concepts analyzed, assume equality amongst templates, and overlook bias quantification. Addressing these, we propose a systematic statistical approach to assess bias in MLMs, using mixed models to account for random effects, pseudo-perplexity weights for sentences derived from templates and quantify bias using statistical effect sizes. Replicating prior studies, we match on bias scores in magnitude and direction with small to medium effect sizes. Next, we explore the novel problem of gender bias in the context of personality and character traits, across seven MLMs (base and large). We find that MLMs vary; ALBERT is unbiased for binary gender but the most biased for non-binary neo, while RoBERTa-large is the most biased for binary gender but shows small to no bias for neo. There is some alignment of MLM bias and findings in psychology (human perspective) - in agreeableness with RoBERTa-large and emotional stability with BERT-large. There is general agreement for the remaining 3 personality dimensions: both sides observe at most small differences across gender. For character traits, human studies on gender bias are limited thus comparisons are not feasible.

Tasks

Reproductions