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.
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.
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