Do Biased Models Have Biased Thoughts?

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

TL;DR

When a large language model (LLM) makes a biased decision, does it do so because it "thinks" in a biased way? This paper reveals that bias in an LLM's intermediate chain-of-thought (CoT) steps is surprisingly decoupled from its final output bias, showing a correlation of less than 0.6. Crucially, the authors demonstrate that explicitly injecting unbiased thoughts into the prompt serves as an effective strategy to mitigate final output bias.

What Problem Does This Paper Address?

As large language models are increasingly deployed in real-world applications, mitigating social biases (e.g., race, gender, socio-economic status) remains a critical challenge. Chain-of-Thought (CoT) prompting—asking a model to "walk us through" its reasoning step-by-step—has become a standard technique to improve performance and interpretability.

However, while previous research has investigated the faithfulness of these intermediate reasoning steps to the final output, very little work has explored their fairness. This paper tackles a fundamental question: Do biased models have biased thoughts? In other words, if a model arrives at a stereotypical conclusion, is its internal reasoning chain explicitly prejudiced, or is the bias introduced elsewhere in the generation process?

Methods

To evaluate bias within the "thinking" process, the authors first establish a ground truth by using Llama-3-70B-Instruct to annotate whether generated thoughts are biased. They then evaluate six different automated approaches to quantify bias in LLM thoughts across 5 popular open-source models (Gemma-2-2B-it, Llama-3-8B-Instruct, Mistral-7B-Instruct-v0.3, Phi-3.5-mini-instruct, and Qwen2.5-7B-Instruct).

The authors repurpose five existing techniques for thought-bias detection:

  1. LLM-as-a-judge: Utilizing Deepseek R1 Distilled 8B Qwen to score thoughts on a 0-5 bias scale.
  2. Confidence Score: Training an external DeBERTa-large classifier on the thoughts to predict the model's answer and using its confidence as a proxy for bias.
  3. Span-based Similarity: Measuring the cosine similarity between sentence embeddings of the thoughts and the context/answers.
  4. HaRiM+ Score: Repurposing a token-likelihood metric originally designed for hallucination detection.
  5. Natural Language Inference (NLI): Framing bias detection as an entailment problem using BART and mT5.

In addition to these baselines, they introduce a novel framework called BRAIN (Bias Reasoning Analysis using Information Norms).

Figure 2: BRAIN framework for evaluating agreement between model’s thought and prediction. BRAIN computes the JS divergence between the predictions for two cases: once when feeding the context and question, and another when feeding the question and thought.

BRAIN computes the probability distribution of the model's answers under two conditions: once given only the question and context ($p_1$), and once given the question and the generated thought ($p_2$). It then calculates the Jensen-Shannon (JS) divergence between $p_1$ and $p_2$. If the divergence exceeds a validation threshold, it indicates that the thought significantly shifts the model's decision-making away from what is contextually justified.

Datasets

The study evaluates models using the BBQ (Bias Benchmark for QA) dataset, which contains 58,492 questions targeting 11 distinct categories of social bias. BBQ presents questions in both ambiguous contexts (where there is insufficient information to answer, meaning any definitive choice of a social group reflects bias) and disambiguated contexts (where factual information is provided to counter stereotypes).

Key Insights and Ideas

  • The Decoupling of Thoughts and Actions: Unlike humans, whose biased actions typically stem from biased reasoning, LLMs exhibit a weak correlation (Pearson's $r < 0.6$) between biased intermediate thoughts and biased final outputs. A model can output a perfectly neutral, unbiased reasoning chain but still select a stereotypical final answer.
  • Llama 8B is the "Most Biased Thinker": Across the tested models, Llama-3-8B-Instruct generated the highest volume of explicitly biased thoughts in ambiguous contexts, followed by Mistral and Gemma.
Figure 1: The number of biased thoughts in 5 models for the ambiguous and disambiguous versions of the BBQ dataset. Llama 8b has the largest number of biased thoughts.
  • CoT is a Double-Edged Sword for Fairness: Activating step-by-step thinking does not universally reduce bias. Its effect is highly model-dependent; for some models, CoT prompting actually increases the bias of the final output compared to direct answering.
  • Steering via Thought Injection: Forcing a model to accept unbiased, neutral reasoning steps in its prompt consistently guides it toward fairer final decisions, opening up a lightweight avenue for bias mitigation.

Key Results

  • Evaluating the Detectors: The proposed BRAIN framework achieved a strong average $F_1$-score of 0.81 ($\sigma = 0.072$) in identifying biased thoughts, performing on par with the resource-intensive LLM-as-a-judge baseline (average $F_1$ of 0.84) and significantly outperforming span-based and confidence-score methods.
Figure 3: Mean F1-scores of all the methods on the sexual orientation (left) and gender/race (rights) biases on the BBQ dataset. BRAIN and LLM-as-a-judge are relatively superior on all models. Figure A.2 in Appendix A provides results on 9 other bias types.
  • Quantifying the Correlation: Pearson correlations between thought bias and output bias remained below 0.6 across all categories. Categories like Age, Socio-economic Status (SES), and Nationality showed moderate positive correlations ($\sim 0.30$ to $\sim 0.56$), while categories like Sexual Orientation showed almost zero correlation for several models.
  • Mitigation Success: Injecting unbiased "self-thoughts" yielded a substantial increase in BBQ $F_1$-scores (indicating lower bias) across all 5 models, outperforming the baseline where unbiased thoughts were transferred from a different model.

Limitations and Future Work

The authors note several limitations to their study:

  • Scope of Dataset: The BBQ benchmark is limited to the English language and focuses on 11 specific social bias categories, potentially under-representing complex intersectional or non-binary identities.
  • Evaluator Bias: The ground truth relies on annotations from Llama-3-70B-Instruct, which may possess its own latent biases or blind spots.
  • Dual-Use Risk: While injecting unbiased thoughts mitigates bias, the same mechanism could theoretically be exploited by a malicious actor to inject biased thoughts and intentionally amplify harmful model outputs.

Future work could extend this analysis to multilingual settings and explore how reinforcement learning from human feedback (RLHF) alters the alignment between intermediate reasoning and final 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