TL;DR
This paper introduces BIASTRACE, a fine-grained annotation scheme that uncovers how Large Language Models (LLMs) arrive at biased conclusions by analyzing their internal reasoning steps (Chain-of-Thought). The authors discover that social biases often stem from subtle, seemingly neutral reasoning behaviors—most notably "overthinking"—rather than explicitly biased language. Leveraging these insights, they demonstrate significantly improved bias detection and introduce an inference-time mitigation strategy that reduces biased outputs without sacrificing model accuracy.
What Problem Does This Paper Address?
While the AI community has made strides in measuring and mitigating social bias in LLMs, existing benchmarks mostly treat models as black boxes, evaluating only the final output or looking for explicitly biased language.
However, modern LLMs increasingly rely on Chain-of-Thought (CoT) reasoning to solve complex tasks. This introduces a fundamental gap: an aligned model might successfully avoid overt slurs or explicitly biased language, yet still arrive at a discriminatory conclusion through flawed, inconsistent, or circular logic. Conversely, a model might stumble into a biased answer simply because it over-analyzed an ambiguous question.
This paper shifts the focus from what the final answer is to how the model reasoned its way there, providing a systematic framework to link specific intermediate reasoning behaviors to biased outcomes.
Methods
The authors developed BIASTRACE, a fine-grained taxonomy designed to label specific reasoning behaviors in model-generated traces.
The BIASTRACE scheme categorizes reasoning behaviors into four main dimensions:
- Bias-Specific: Captures explicit group assumptions or explicit acknowledgments of potential bias.
- Meta-Cognitive: Identifies when a model tries to "game" the task or speculates on what the question is testing.
- Out-of-Context Knowledge: Tracks when a model brings in external demographic or topical information not justified by the prompt.
- Reasoning Under Uncertainty: Flags Overthinking, defined as excessive doubt, circular logic, or repeatedly revisiting answer options more than three times.
To scale the annotation of these behaviors across hundreds of thousands of traces, the authors validated an LLM-as-a-judge approach using DeepSeek-V3.2, which showed strong agreement with human annotators (Cohen’s $\kappa = 0.64–0.84$ for key labels). They then used logistic regression to determine which of these behaviors are actually predictive of a biased final answer. Finally, they introduced Maj-BIASTRACE, an inference-time mitigation technique that samples multiple reasoning chains and uses majority voting, but filters out any chains flagged by BIASTRACE as likely to lead to bias.
Datasets
The framework was developed and evaluated using two primary datasets:
- BBQ (Bias Benchmark for Question Answering): A dataset spanning nine demographic categories designed to test social biases in both ambiguous and disambiguated contexts. The authors generated and annotated a massive corpus of 250,976 reasoning traces from models like Qwen3-8B, Qwen3-14B, and GPT-OSS-120B.
- COMPAS: A widely used real-world recidivism risk dataset. This was used as a downstream task to evaluate how well BIASTRACE generalizes to high-stakes, binary classification scenarios involving group fairness metrics.
Key Insights and Ideas
- Overthinking is the Strongest Predictor of Bias: Surprisingly, the single most predictive behavior of a biased outcome wasn't explicitly stereotypical language, but overthinking. When a model gets caught in a loop of excessive doubt or circular logic in ambiguous situations, it is highly likely to default back to a harmful stereotype.
- The Safety Prompt Paradox: Instructing a model to be aware of bias (guided prompting) successfully suppresses explicit group assumptions, but it actually amplifies overthinking. By making the model second-guess itself, anti-bias prompts can inadvertently open up alternative pathways to biased conclusions.
- Neutral Language Belies Biased Logic: Models frequently reach discriminatory conclusions through subtle reasoning patterns while maintaining completely neutral language, underscoring why output-only evaluations are insufficient.
Key Results
Better Bias Detection
By prompting an LLM-as-a-judge with the specific BIASTRACE rubric, the authors achieved a much higher correlation with actual biased outcomes compared to standard baseline evaluation methods (which typically use a simple 0-5 bias scale or binary bias prompts).
On the downstream COMPAS dataset, the BIASTRACE prompt achieved the highest correlation ($r = 0.38$) with per-sample fairness contributions, successfully identifying 52–62% of the top 10–20% fairness-critical samples.
Effective Inference-Time Mitigation
Using the Maj-BIASTRACE filtering strategy at inference time yielded substantial improvements. It successfully drove down bias rates across multiple model families without harming overall accuracy. For instance, on the Llama3-8B-Instruct model, the bias rate dropped sharply from 12.36% to 7.36%, while accuracy actually improved from 72.64% to 77.27%.
Limitations and Future Work
The authors note several limitations:
- CoT Faithfulness: The study analyzes observable reasoning chains, which are not guaranteed to perfectly reflect the model's internal, sub-token computations.
- Scope Constraints: Evaluation was restricted to open-source model families and English-language tasks.
- Task Structure: The categories were optimized for structured question-answering (BBQ) and binary classification (COMPAS); less constrained, free-form generation tasks may require additional behavioral categories.
Future work includes integrating BIASTRACE into reasoning-aware training objectives and exploring more continuous, quantitative measures of model "revisiting" behavior.
Summary updated