Robust Evaluation Measures for Evaluating Social Biases in Masked Language Models

Yang Liu
1/21/2024
cs.CL

No official code found. Best implementation: nlply/robust-bias-evaluation-measures (2 stars, last commit 2024-10-16).

Abstract

Many evaluation measures are used to evaluate social biases in masked language models (MLMs). However, we find that these previously proposed evaluation measures are lacking robustness in scenarios with limited datasets. This is because these measures are obtained by comparing the pseudo-log-likelihood (PLL) scores of the stereotypical and anti-stereotypical samples using an indicator function. The disadvantage is the limited mining of the PLL score sets without capturing its distributional information. In this paper, we represent a PLL score set as a Gaussian distribution and use Kullback Leibler (KL) divergence and Jensen Shannon (JS) divergence to construct evaluation measures for the distributions of stereotypical and anti-stereotypical PLL scores. Experimental results on the publicly available datasets StereoSet (SS) and CrowS-Pairs (CP) show that our proposed measures are significantly more robust and interpretable than those proposed previously.

View on arXivView PDF

Code Implementations(1)

20PythonDec 15, 20232 years ago

Cite this paper

@article{liu2024robust,
  title  = {Robust Evaluation Measures for Evaluating Social Biases in Masked Language Models},
  author = {Yang Liu},
  year   = {2024},
  eprint = {2401.11601},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.11601v1}
}

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/2401.11601.svg)](https://codeofpaper.com/paper/2401.11601)

Discussion