English

Decoding Biases: Automated Methods and LLM Judges for Gender Bias Detection in Language Models

Computation and Language 2024-08-08 v1 Artificial Intelligence

Abstract

Large Language Models (LLMs) have excelled at language understanding and generating human-level text. However, even with supervised training and human alignment, these LLMs are susceptible to adversarial attacks where malicious users can prompt the model to generate undesirable text. LLMs also inherently encode potential biases that can cause various harmful effects during interactions. Bias evaluation metrics lack standards as well as consensus and existing methods often rely on human-generated templates and annotations which are expensive and labor intensive. In this work, we train models to automatically create adversarial prompts to elicit biased responses from target LLMs. We present LLM- based bias evaluation metrics and also analyze several existing automatic evaluation methods and metrics. We analyze the various nuances of model responses, identify the strengths and weaknesses of model families, and assess where evaluation methods fall short. We compare these metrics to human evaluation and validate that the LLM-as-a-Judge metric aligns with human judgement on bias in response generation.

Keywords

Cite

@article{arxiv.2408.03907,
  title  = {Decoding Biases: Automated Methods and LLM Judges for Gender Bias Detection in Language Models},
  author = {Shachi H Kumar and Saurav Sahay and Sahisnu Mazumder and Eda Okur and Ramesh Manuvinakurike and Nicole Beckage and Hsuan Su and Hung-yi Lee and Lama Nachman},
  journal= {arXiv preprint arXiv:2408.03907},
  year   = {2024}
}

Comments

6 pages paper content, 17 pages of appendix

R2 v1 2026-06-28T18:06:45.307Z