Self-Debiasing Large Language Models: Zero-Shot Recognition and Reduction of Stereotypes
About
Large language models (LLMs) have shown remarkable advances in language generation and understanding but are also prone to exhibiting harmful social biases. While recognition of these behaviors has generated an abundance of bias mitigation techniques, most require modifications to the training data, model parameters, or decoding strategy, which may be infeasible without access to a trainable model. In this work, we leverage the zero-shot capabilities of LLMs to reduce stereotyping in a technique we introduce as zero-shot self-debiasing. With two approaches, self-debiasing via explanation and self-debiasing via reprompting, we show that self-debiasing can significantly reduce the degree of stereotyping across nine different social groups while relying only on the LLM itself and a simple prompt, with explanations correctly identifying invalid assumptions and reprompting delivering the greatest reductions in bias. We hope this work opens inquiry into other zero-shot techniques for bias mitigation.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Question Answering | ARC Challenge | Accuracy70.2 | 749 | |
| Question Answering | ARC Easy | Normalized Acc84.07 | 385 | |
| Question Answering | OBQA | Accuracy70.01 | 276 | |
| Safety Evaluation | DoNotAnswer Framed | HRR0.385 | 96 | |
| Question Answering | COPA | Accuracy73.4 | 59 | |
| Question Answering | BBQ | -- | 36 | |
| Bias Measurement | StereoSet | -- | 25 | |
| Question Answering | BBQ (test) | Accuracy (amb)98.33 | 20 | |
| Bias Evaluation | BBQ averaged across gender, nationality, and religion domains | Accuracy (Ambiguous)87.73 | 16 | |
| Occupation classification | Bias-in-Bio lightweight (test) | Overall Accuracy76.46 | 16 |