Abstract
Chain-of-thought emerges as a promising technique for eliciting reasoning capabilities from Large Language Models (LLMs). However, it does not always improve task performance or accurately represent reasoning processes, leaving unresolved questions about its usage. In this paper, we diagnose the underlying mechanism by comparing the reasoning process of LLMs with humans, using causal analysis to understand the relationships between the problem instruction, reasoning, and the answer in LLMs. Our empirical study reveals that LLMs often deviate from the ideal causal chain, resulting in spurious correlations and potential consistency errors (inconsistent reasoning and answers). We also examine various factors influencing the causal structure, finding that in-context learning with examples strengthens it, while post-training techniques like supervised fine-tuning and reinforcement learning on human feedback weaken it. To our surprise, the causal structure cannot be strengthened by enlarging the model size only, urging research on new techniques. We hope that this preliminary study will shed light on understanding and improving the reasoning process in LLM.
Introduction
Chain-of-Thought (CoT) prompting has significantly boosted Large Language Model (LLM) performance on complex tasks. However, researchers have long questioned its faithfulness: does the model actually "think" through the steps to reach a conclusion, or is the CoT just a decorative hallucination? This paper addresses the lack of a formal framework to diagnose these mechanisms, aiming to determine if LLMs follow the "ideal causal chain" ($Instruction \to Reasoning \to Answer$) characteristic of rational human thought.
Methodology: Causal Intervention
The researchers treat problem-solving as a system of three variables: Instruction ($Z$), CoT Reasoning ($X$), and Answer ($Y$). They employ Causal Intervention—specifically measuring the Average Treatment Effect (ATE)—to identify the Structural Causal Model (SCM) governing a model's behavior on a specific task.
By systematically corrupting instructions (adding bias or randomizing text) and reasoning steps (using "golden" vs. "random" CoT), the authors categorize LLM behavior into four SCM types:
- Type I (Causal Chain): The ideal. $Z$ causes $X$, and $X$ causes $Y$. The answer depends entirely on the reasoning.
- Type II (Common Cause): The "Explainer." $Z$ causes both $X$ and $Y$ independently. The model "guesses" the answer from the prompt and then writes a reasoning chain to match it.
- Type III (Full Connection): A mixture of reasoning and explaining.
- Type IV (Isolation): No significant causal links; the answer is essentially random or direct.
Key Insights and Results
The study evaluated models including GPT-3.5-turbo, GPT-4, and Llama2 across arithmetic, math word problems (GSM8K), and logical reasoning tasks (FOLIO, LogiQA).
- LLMs are often "Explainers," not "Reasoners": In many tasks, models exhibit Type II or III behavior. In 6-digit addition, 74.4% of GPT-4's correct answers followed incorrect reasoning steps.
- The SFT/RLHF Paradox: Surprisingly, Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) can actually weaken the causal chain. These techniques may encourage models to produce human-pleasing explanations that are decoupled from the actual computation of the answer.
- In-Context Learning (ICL) as a Causal Anchor: Providing few-shot examples significantly strengthens the causal link between reasoning and the answer compared to zero-shot prompting. For GPT-3.5-turbo, ICL reduced the spurious influence of the instruction ($Z \to Y$) from 0.122 to 0.065.
- Scale is Not a Silver Bullet: Moving from GPT-3.5 to GPT-4 improves accuracy but doesn't necessarily move the model toward a Type I Causal Chain. GPT-4 still shows significant "explaining" behavior in complex logic and simple arithmetic.
Conclusion
This study reveals that LLMs frequently rely on spurious correlations rather than faithful reasoning paths. The findings suggest that current training paradigms may inadvertently reward "correct-looking" hallucinations. Future work should explore causal regulation during training to force models to rely more heavily on intermediate reasoning steps, potentially leading to more robust and faithful AI reasoning.
Summary updated