Introduction
While the research community has made significant strides in identifying social biases within Large Language Models (LLMs), our understanding of the underlying "logic" driving these biases remains limited. Existing benchmarks often treat models as black boxes, focusing solely on whether an output is biased rather than why the model arrived at that conclusion. As LLMs are increasingly integrated into critical decision-making processes—such as recruitment, financial services, and healthcare—the transparency of their reasoning becomes paramount.
This paper introduces BiasCause, a novel framework designed to peel back the layers of LLM stereotypes by requiring models to represent their reasoning through causal graphs. By forcing models to "show their work," the authors uncover how LLMs often hallucinate causal links or conflate identity markers with personality traits to justify systemic prejudices.
Methodology: The BiasCause Framework
The core of the BiasCause framework is the requirement for LLMs to output their reasoning as Directed Acyclic Graphs (DAGs). This structured approach allows for a granular analysis of the causal chains models construct.
The framework categorizes causal reasoning into three primary types:
- Mistaken Causal Graphs: These contain factual inaccuracies or "hallucinated" relationships, often confusing correlation with causation (e.g., assuming a specific name directly causes a certain personality type).
- Biased Causal Graphs: These involve sensitive groups (e.g., race, gender, religion) in contexts where fairness is required, but the model instead applies a harmful stereotype.
- Risky Causal Graphs: These involve sensitive groups but are grounded in factual or historical reality (e.g., noting that women were the primary workforce in specific historical industries).
To ensure scalable and accurate evaluation, the researchers developed an "auto-rater" pipeline using LLMs prompted with rigorous rules. These auto-raters achieved over 90% agreement with human labels, validating their effectiveness in judging the correctness and reasoning types of model outputs.
The BiasCause Dataset
The researchers curated the BiasCause Dataset, comprising 1,788 questions across eight sensitive attributes, including Gender, Race, Disability, Age, Nationality, Physical Appearance, Religion, and Sexual Orientation. The dataset is structured into three distinct question categories:
- Biased Questions: Specifically designed to elicit common stereotypes.
- Risky Questions: Context-rich scenarios where identifying a specific group is factually or historically accurate.
- Mistaken-Biased Questions: These tasks test if a model "reverses" a causal graph—for instance, inferring a sensitive attribute from a neutral name and then applying a bias based on that inference.
Key Insights: The "Name Trap" and Reasoning Backfire
One of the most significant findings is the "Mistaken-Biased" pipeline. Models frequently fall into a "Name Trap": they take a neutral name (e.g., "Aiden"), hallucinate a sensitive attribute (e.g., "Male"), and then apply a biased causal link (e.g., "Males are statistically more interested in STEM") to make a recommendation.
Counter-intuitively, for advanced models like Gemini 1.5 Pro and Claude 3.5 Sonnet, being forced to provide causal reasoning actually increased the likelihood of generating a biased answer. It appears that the act of constructing a logical chain can sometimes reinforce stereotypes that the model's internal safety filters might otherwise have suppressed in a direct response.
Results and Model Performance
The study evaluated four state-of-the-art models: Gemma-27B-IT, Llama-3.1-70B-Instruct, Gemini-1.5-Pro-002, and Claude-3.5-Sonnet-v2.
- Prevalence of Bias: All models struggled with "biased" questions. The highest accuracy recorded was a mere 13.8% (Gemini 1.5 Pro), indicating that the vast majority of reasoning paths relied on stereotypes.
- Failure on Mistaken-Biased Tasks: Models were almost entirely unable to avoid bias when names were used as proxies for identity. Accuracy in this category plummeted to under 1% for most models.
- Success on Risky Tasks: Conversely, models performed exceptionally well (90%+) on "risky" questions. This suggests that LLMs are capable of accurate reasoning about sensitive groups when the context is sufficiently constrained by factual data.
Conclusion
BiasCause demonstrates that identifying biased outputs is only the first step. To truly debias LLMs, we must address the flawed causal structures they use to interpret the world. Future research should leverage these causal insights to move beyond simple keyword filtering and toward correcting the underlying logical fallacies that perpetuate social stereotypes.
Summary updated