Do Biased Models Have Biased Thoughts?

Swati Rajwal, Shivank Garg, Reem Abdel-Salam, Abdelrahman Zayed

TL;DR

This paper investigates whether large language models (LLMs) that produce biased outputs also exhibit biased "thoughts" (i.e., their internal reasoning steps). They found that biased outputs are not strongly correlated with biased thoughts, suggesting LLMs might not reason like humans. Injecting unbiased thoughts into the prompt can improve fairness, offering a potential mitigation strategy.

What Problem Does This Paper Address?

The widespread adoption of LLMs is hampered by their tendency to exhibit social biases related to gender, race, socioeconomic status, and other sensitive attributes. While much research focuses on measuring and mitigating output bias, less is understood about the internal reasoning processes (often referred to as "thoughts" or "chain-of-thought") that lead to these biased outputs. This paper aims to bridge this gap by asking: "Do biased models have biased thoughts?" Understanding this relationship is crucial for developing more effective fairness interventions.

Methods

The authors developed and evaluated six methods for quantifying bias in LLM thoughts:

  • Repurposed Methods: Five methods were adapted from existing bias detection techniques, including:
  • LLM-as-a-judge: Using another LLM to score the bias in the thoughts.
  • Confidence Score: Measuring the confidence of an external classifier in predicting a biased answer based on the thoughts.
  • Span-based: Analyzing the presence of sensitive attributes in thoughts.
  • HaRiM+ Score: Adapted from hallucination detection, this method assesses how well thoughts align with context.
  • Natural Language Inference (NLI): Using NLI models to check if thoughts lead to stereotypical conclusions.
  • Novel Method (BRAIN): Bias Reasoning Analysis using Information Norms. This approach quantifies the agreement between the model's thought process and its final prediction by measuring the Jensen-Shannon divergence between probability distributions.

They also investigated the impact of "chain-of-thought" (CoT) prompting on bias and explored injecting biased/unbiased thoughts into prompts.

Datasets

The primary dataset used is the BBQ (Bias Benchmark for Question Answering) dataset. This benchmark contains questions designed to reveal biases across 11 demographic categories (age, disability status, gender identity, nationality, physical appearance, race/ethnicity, race/SES, race/gender, religion, SES, and sexual orientation). The authors also mention experimenting with HolisticBias and BOLD but decided against using them due to their focus on text completion rather than reasoning.

Key Insights and Ideas

  • Disconnection Between Thoughts and Outputs: The most striking finding is that biased outputs from LLMs are not strongly correlated with biased internal thoughts. This suggests LLMs might arrive at biased conclusions through reasoning processes that aren't inherently biased, unlike human reasoning.
  • CoT Prompting is Model-Dependent: The effect of CoT prompting on fairness is not universal. Some models become fairer with CoT, while others perform better without it, indicating model-specific pre-training and architectural influences.
  • Injecting Unbiased Thoughts Helps: Proactively injecting unbiased thoughts into the prompt significantly improves model fairness, reducing output bias. This highlights the potential of guiding LLM reasoning.
  • BRAIN Outperforms Baselines: The novel BRAIN method, which directly quantifies how thoughts shift decision-making away from contextually justified answers, generally outperformed existing methods in detecting bias in thoughts.

Key Results

  • Low Correlation: The correlation between bias in model outputs and bias in their thoughts was consistently below 0.6 across all tested models and bias categories, with p-values often less than 0.001, indicating statistical significance but not strong correlation.
  • CoT Impact Varies: Figure 5 shows that F1-scores (a measure of fairness) with and without CoT vary significantly across models, with some models showing improvement and others showing a decrease in fairness.
  • Thought Injection Effectiveness: Injecting unbiased self-thoughts led to higher F1-scores (fairer outputs) across all tested models (Figure 6). Injecting thoughts from another model yielded less improvement.

Limitations and Future Work

  • Dataset Limitations: The BBQ dataset, while comprehensive, is limited to English and 11 specific bias types, potentially under-representing intersectional and non-binary identities.
  • Method Limitations: The authors acknowledge inherent limitations in their bias detection methods. For instance, LLM-as-a-judge techniques can be susceptible to the biases of the judge LLM, and HaRiM+ might not fully capture complex social biases. Confidence scores can be misleading in ambiguous scenarios.
  • Amplification Risk: The techniques used for bias mitigation could theoretically be used to amplify bias if misused.
  • Future Work: The paper suggests that injecting unbiased thoughts is a promising avenue for bias mitigation. Further research could explore how to generate these unbiased thoughts more effectively and investigate the mechanisms behind the observed disconnect between biased thoughts and outputs.

Summary updated

BibTeX
@inproceedings{rajwal2025do,
  author = {Swati Rajwal and Shivank Garg and Reem Abdel-Salam and Abdelrahman Zayed},
  title = {{Do Biased Models Have Biased Thoughts?}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=vDr0RV3590},
}
Figure