Beyond Performance: Quantifying and Mitigating Label Bias in LLMs

Yuval Reif, Roy Schwartz
5/4/2024
cs.CL

No official code found. Best implementation: schwartz-lab-NLP/label-bias (4 stars, last commit 2024-05-17).

Abstract

Large language models (LLMs) have shown remarkable adaptability to diverse tasks, by leveraging context prompts containing instructions, or minimal input-output examples. However, recent work revealed they also exhibit label bias -- an undesirable preference toward predicting certain answers over others. Still, detecting and measuring this bias reliably and at scale has remained relatively unexplored. In this study, we evaluate different approaches to quantifying label bias in a model's predictions, conducting a comprehensive investigation across 279 classification tasks and ten LLMs. Our investigation reveals substantial label bias in models both before and after debiasing attempts, as well as highlights the importance of outcomes-based evaluation metrics, which were not previously used in this regard. We further propose a novel label bias calibration method tailored for few-shot prompting, which outperforms recent calibration approaches for both improving performance and mitigating label bias. Our results emphasize that label bias in the predictions of LLMs remains a barrier to their reliability.

View on arXivView PDF

Code Implementations(1)

Evaluating Label Bias in LLMs

40Shell, PythonApr 2, 20242 years ago

Similar Papers

Cite this paper

@article{reif2024beyond,
  title  = {Beyond Performance: Quantifying and Mitigating Label Bias in LLMs},
  author = {Yuval Reif and Roy Schwartz},
  year   = {2024},
  eprint = {2405.02743},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.02743v1}
}

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

Discussion