Measuring Social Biases in Masked Language Models by Proxy of Prediction Quality

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zalkikar, Rahul, Chandra, Kanchan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913993444032512
author Zalkikar, Rahul
Chandra, Kanchan
author_facet Zalkikar, Rahul
Chandra, Kanchan
contents Transformer language models have achieved state-of-the-art performance for a variety of natural language tasks but have been shown to encode unwanted biases. We evaluate the social biases encoded by transformers trained with the masked language modeling objective using proposed proxy functions within an iterative masking experiment to measure the quality of transformer models' predictions and assess the preference of MLMs towards disadvantaged and advantaged groups. We find all models encode concerning social biases. We compare bias estimations with those produced by other evaluation methods using benchmark datasets and assess their alignment with human annotated biases. We extend previous work by evaluating social biases introduced after retraining an MLM under the masked language modeling objective and find proposed measures produce more accurate and sensitive estimations of biases introduced by retraining MLMs based on relative preference for biased sentences between models, while other methods tend to underestimate biases after retraining on sentences biased towards disadvantaged groups.
format Preprint
id arxiv_https___arxiv_org_abs_2402_13954
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Measuring Social Biases in Masked Language Models by Proxy of Prediction Quality
Zalkikar, Rahul
Chandra, Kanchan
Computation and Language
Transformer language models have achieved state-of-the-art performance for a variety of natural language tasks but have been shown to encode unwanted biases. We evaluate the social biases encoded by transformers trained with the masked language modeling objective using proposed proxy functions within an iterative masking experiment to measure the quality of transformer models' predictions and assess the preference of MLMs towards disadvantaged and advantaged groups. We find all models encode concerning social biases. We compare bias estimations with those produced by other evaluation methods using benchmark datasets and assess their alignment with human annotated biases. We extend previous work by evaluating social biases introduced after retraining an MLM under the masked language modeling objective and find proposed measures produce more accurate and sensitive estimations of biases introduced by retraining MLMs based on relative preference for biased sentences between models, while other methods tend to underestimate biases after retraining on sentences biased towards disadvantaged groups.
title Measuring Social Biases in Masked Language Models by Proxy of Prediction Quality
topic Computation and Language
url https://arxiv.org/abs/2402.13954