Does Reasoning Introduce Bias? A Study of Social Bias Evaluation and Mitigation in LLM Reasoning

Xuyang Wu, Jinming Nian, Ting-Ruen Wei, Zhiqiang Tao, Hsin-Tai Wu +1 more
2/21/2025
cs.CLcs.AI

Official code: elviswxy/LLM_reasoning_bias (3 stars, last commit 2025-09-22).

Abstract

Recent advances in large language models (LLMs) have enabled automatic generation of chain-of-thought (CoT) reasoning, leading to strong performance on tasks such as math and code. However, when reasoning steps reflect social stereotypes (e.g., those related to gender, race or age), they can reinforce harmful associations and lead to misleading conclusions. We present the first systematic evaluation of social bias within LLM-generated reasoning, focusing on reasoning language models (e.g., DeepSeek-R1, OpenAI o1) that natively produce reasoning chains as part of their answers. Using the BBQ dataset, we analyze both prediction accuracy and reasoning bias across a broad spectrum of models, including instruction-tuned and CoT-augmented variants of DeepSeek-R1 (8B/32B), ChatGPT, and other open-source LLMs. We quantify how biased reasoning steps correlate with incorrect predictions and often lead to stereotype expression. To mitigate reasoning-induced bias, we propose Answer Distribution as Bias Proxy (ADBP), a lightweight mitigation method that detects bias by tracking how model predictions change across incremental reasoning steps. ADBP outperforms Stereotype-free Reasoning Pattern (SfRP) baseline in most cases, mitigating bias and improving the accuracy of LLM outputs. Evaluation and mitigation code is available at https://github.com/elviswxy/LLM_reasoning_bias.

View on arXivView PDF

Code Implementations(1)

Official repository of paper "Does Reasoning Introduce Bias? A Study of Social Bias Evaluation and Mitigation in LLM Reasoning"

30Python, Jupyter NotebookAug 21, 20251 years ago

Similar Papers

Cite this paper

@article{wu2025does,
  title  = {Does Reasoning Introduce Bias? A Study of Social Bias Evaluation and Mitigation in LLM Reasoning},
  author = {Xuyang Wu and Jinming Nian and Ting-Ruen Wei and Zhiqiang Tao and Hsin-Tai Wu and Yi Fang},
  year   = {2025},
  eprint = {2502.15361},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.15361v3}
}

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

Discussion