Self-Debiasing Large Language Models: Zero-Shot Recognition and Reduction of Stereotypes

Isabel O. Gallegos, Ryan Aponte, Ryan A. Rossi, Joe Barrow, Md. Mehrab Tanjim, Tong Yu, Hanieh Deilamsalehy, Ruiyi Zhang, Sungchul Kim, Franck Dernoncourt, Nedim Lipka, Deonna M. Owens, Jiuxiang Gu

Introduction

Large Language Models (LLMs) are prone to inheriting and amplifying social biases from their training data. While various debiasing techniques exist, they often require fine-tuning on curated datasets or modifying model weights—processes that are computationally expensive and often impossible for users of proprietary "black box" APIs. This paper introduces zero-shot self-debiasing, a method that leverages the inherent reasoning capabilities of LLMs to identify and mitigate stereotypical biases through strategic prompting alone.

Methodology

The researchers developed two primary zero-shot strategies:

  • Self-Debiasing via Explanation: This approach utilizes a "Chain-of-Thought" mechanism. Before answering, the model is prompted to explain which options rely on invalid assumptions. This forced articulation often leads the model to "realize" the bias and select a neutral, correct answer.
  • Self-Debiasing via Reprompting: A two-step iterative process where the model first provides a baseline answer and is then prompted to "remove bias" in a second pass. This method proved more token-efficient and generally more effective than the explanation method.

Experimental Setup

The study evaluated these methods using the Bias Benchmark for Question Answering (BBQ) across nine social dimensions, including age, disability, gender identity, and race/ethnicity. BBQ is designed with ambiguous contexts where the only factually correct answer is "cannot be determined." Biased models typically fail by selecting a "target" answer that aligns with a negative stereotype. Performance was measured via a Bias Score (where 0 indicates no bias) and overall Accuracy.

Results and Discussion

The results demonstrate that LLMs possess a latent "knowledge" of stereotypes that is distinct from their "instinct" to use them. When prompted to reflect on their reasoning, models can effectively self-correct.

Distribution of bias scores across nine social dimensions for Baseline, Explanation, and Reprompting methods.

As illustrated in the figure above, both self-debiasing methods significantly reduced bias scores across all tested categories. For GPT-3.5, the baseline bias score of 0.136 dropped to 0.045 with explanation and 0.023 with reprompting. Furthermore, because stereotypical answers in BBQ are factually incorrect in ambiguous contexts, self-debiasing improved model accuracy from approximately 70% to 84%. These findings remained consistent across different model architectures, including GPT-4o mini and LLaMA-3-8B-Instruct.

Limitations and Future Work

Despite its success, self-debiasing faces certain hurdles. The current study is limited to multiple-choice formats, and its efficacy in open-ended text generation requires further investigation. Additionally, debiasing prompts can occasionally trigger model "refusals," where the system declines to answer.

Model refusal rates across social groups for different prompting strategies.

As shown in the table above, refusal rates were generally low, typically staying below 5%. However, specific categories like gender identity saw higher refusal rates (up to 5.1%) under the reprompting method. Future research will focus on automating these debiasing steps within the model's internal processing to ensure a seamless and fair user experience.

Summary updated

BibTeX
@inproceedings{gallegos2025self,
  author = {Isabel O. Gallegos and Ryan Aponte and Ryan A. Rossi and Joe Barrow and Md. Mehrab Tanjim and Tong Yu and Hanieh Deilamsalehy and Ruiyi Zhang and Sungchul Kim and Franck Dernoncourt and Nedim Lipka and Deonna M. Owens and Jiuxiang Gu},
  title = {{Self-Debiasing Large Language Models: Zero-Shot Recognition and Reduction of Stereotypes}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-short.74},
}
Figure