Reproduce “Measuring Social Biases in Masked Language Models by Proxy of Prediction Quality” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Rahul Zalkikar, Kanchan Chandra

This research from NYU introduces attention-weighted proxy functions and a model-comparative score to measure social biases in Masked Language Models. The new metrics demonstrate superior sensitivity and accuracy in quantifying biases in pretrained models and, crucially, in detecting the changes in bias introduced by retraining MLMs, outperforming existing evaluation methods.

Key insights

  • Incorporating attention weights and logarithmic transformations into bias metrics yields more sensitive and accurate measurements of social biases in MLMs.
  • Existing bias evaluation methods often fail to reliably detect or accurately quantify changes in bias introduced by retraining MLMs, while the proposed metrics perform robustly.
  • Retraining MLMs on data biased towards disadvantaged groups increases bias, and conversely, retraining on data biased towards advantaged groups can reduce bias, with these changes effectively captured by the new metrics.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.