Social Bias Evaluation for Large Language Models Requires Prompt Variations

Rem Hida, Masahiro Kaneko, Naoaki Okazaki
7/3/2024
cs.CL

No official code found. Best implementation: rem-h4/llm_socialbias_prompts (0 stars, MIT, last commit 2024-08-16).

Abstract

Warning: This paper contains examples of stereotypes and biases. Large Language Models (LLMs) exhibit considerable social biases, and various studies have tried to evaluate and mitigate these biases accurately. Previous studies use downstream tasks as prompts to examine the degree of social biases for evaluation and mitigation. While LLMs' output highly depends on prompts, previous studies evaluating and mitigating bias have often relied on a limited variety of prompts. In this paper, we investigate the sensitivity of LLMs when changing prompt variations (task instruction and prompt, few-shot examples, debias-prompt) by analyzing task performance and social bias of LLMs. Our experimental results reveal that LLMs are highly sensitive to prompts to the extent that the ranking of LLMs fluctuates when comparing models for task performance and social bias. Additionally, we show that LLMs have tradeoffs between performance and social bias caused by the prompts. Less bias from prompt setting may result in reduced performance. Moreover, the ambiguity of instances is one of the reasons for this sensitivity to prompts in advanced LLMs, leading to various outputs. We recommend using diverse prompts, as in this study, to compare the effects of prompts on social bias in LLMs.

View on arXivView PDF

Code Implementations(1)

MIT
00PythonJul 3, 20242 years agoMIT

Similar Papers

Cite this paper

@article{hida2024social,
  title  = {Social Bias Evaluation for Large Language Models Requires Prompt Variations},
  author = {Rem Hida and Masahiro Kaneko and Naoaki Okazaki},
  year   = {2024},
  eprint = {2407.03129},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.03129v1}
}

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

Discussion