B-score: Detecting biases in large language models using response history

An Vo, Mohammad Reza Taesiri, Daeyoung Kim, Anh Totti Nguyen
5/24/2025
cs.LGcs.CL

No official code found. Best implementation: anvo25/b-score (4 stars, MIT, last commit 2025-05-30).

Abstract

Large language models (LLMs) often exhibit strong biases, e.g, against women or in favor of the number 7. We investigate whether LLMs would be able to output less biased answers when allowed to observe their prior answers to the same question in a multi-turn conversation. To understand which types of questions invite more biased answers, we test LLMs on our proposed set of questions that span 9 topics and belong to three types: (1) Subjective; (2) Random; and (3) Objective. Interestingly, LLMs are able to "de-bias" themselves in a multi-turn conversation in response to questions that seek an Random, unbiased answer. Furthermore, we propose B-score, a novel metric that is effective in detecting biases to Subjective, Random, Easy, and Hard questions. On MMLU, HLE, and CSQA, leveraging B-score substantially improves the verification accuracy of LLM answers (i.e, accepting LLM correct answers and rejecting incorrect ones) compared to using verbalized confidence scores or the frequency of single-turn answers alone. Code and data are available at: https://b-score.github.io.

View on arXivView PDF

Code Implementations(1)

anvo25/b-scoreCommunity74%
MIT

B-score: Detecting biases in large language models using response history. ICML 2025

42PythonApr 22, 20251 years agoMIT

Similar Papers

Cite this paper

@article{vo2025bscore,
  title  = {B-score: Detecting biases in large language models using response history},
  author = {An Vo and Mohammad Reza Taesiri and Daeyoung Kim and Anh Totti Nguyen},
  year   = {2025},
  eprint = {2505.18545},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.18545v1},
  journal = {ICML 2025 2025}
}

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

Discussion