Beyond Performance: Quantifying and Mitigating Label Bias in LLMs
Yuval Reif, Roy Schwartz
TL;DR
The paper investigates label bias in large language models by quantifying predictions across 279 classification tasks and 10 LLMs, revealing substantial bias that persists despite scaling, instruction-tuning, and some calibration efforts. It introduces two complementary bias measures—a probabilistic BiasScore and an outcomes-based Relative Standard Deviation (RSD)—and demonstrates that these metrics can diverge under mitigation. A novel Leave-One-Out Calibration (LOOC) method is proposed to estimate and correct bias using only in-context demonstrations, achieving superior performance and bias reduction compared with existing calibration approaches while requiring less computation than LoRA fine-tuning. The findings emphasize that label bias remains a reliability barrier for LLMs and that robust, demonstrations-based calibration can meaningfully reduce bias, though residual biases persist and depend on task structure and demonstration selection. The work contributes a practical framework for measuring and mitigating bias in few-shot prompting, with implications for the reliability of LLM applications in diverse tasks.
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.
