TL;DR
AttriCoT is a novel black-box method that maps out the step-by-step causal relationships within a language model's chain-of-thought (CoT) explanation. By treating text segments as units in a structural causal model and measuring how removing them impacts the log probabilities of subsequent steps, it efficiently reveals how a model's early "thoughts" influence its final answers.
What Problem Does This Paper Address?
When large language models (LLMs) generate a chain-of-thought (CoT), it looks like human-like reasoning. However, researchers heavily debate CoT faithfulness: does the model actually rely on its stated steps to reach an answer, or is it just hallucinating a plausible-looking justification?
Existing methods to evaluate this either only look at correlation (not causation), require "white-box" access to the model's internal neural weights, or only measure how a perturbation affects the final answer, ignoring the intermediate steps. This paper introduces a way to analyze local causality—the step-to-step internal dynamics of a single, specific CoT trace—using a computationally efficient, black-box approach.
Methods
The authors introduce AttriCoT (Attribution for Chain-of-Thought), which models the CoT process using a linear Structural Causal Model (SCM). The pipeline consists of three main steps:
- Intervene on Units: The input prompt and generated CoT are segmented into "units" (e.g., sentences or lines). AttriCoT uses a Leave-One-Out (LOO) strategy, creating perturbed sequences where one unit is removed at a time.
- Measure Log Probabilities: Instead of slowly re-generating text for every perturbation, AttriCoT runs efficient, non-generative forward passes to measure how the absence of a prior unit changes the conditional log probability of generating the remaining subsequent units.
- Fit a Linear Model: The method runs an $\ell_1$-regularized linear regression to estimate pairwise importance scores, resulting in an attribution matrix where each entry $(i, j)$ represents the causal influence of unit $i$ on unit $j$.
Crucially, because it uses batched forward passes, AttriCoT maps the entire causal structure of $U$ units in $O(U)$ time, making it vastly cheaper than alternative resampling methods.
Datasets
The authors evaluated AttriCoT across five diverse benchmarks spanning different reasoning domains:
- GSM8K: High-school-level multi-step math problems.
- MATH500: Challenging, competition-level mathematics.
- MMLU-Pro: A robust multi-domain dataset covering 14 categories (e.g., History, Law, Physics).
- GPQA-Diamond: Expert-level (PhD) questions in physics, biology, and chemistry.
- ZebraLogic: Complex grid-based logic puzzles.
These were tested using four state-of-the-art reasoning models, including DeepSeek-distilled variants (DS-Qwen3-8B, DS-Llama-8B, DS-Qwen-14B) and a base model (Qwen3-8B).
Key Insights and Ideas
- The "Verification Phase" in Reasoning: By analyzing the Input Ratio (how much the model relies on the original prompt vs. its own generated thoughts), the authors discovered a universal U-shaped pattern. Models rely heavily on the prompt initially, drop their reliance as they build their own internal reasoning chain, and then sharply peak in prompt reliance near the end. This suggests models actively "refer back" to the question to verify their answer before finalizing it.
- Complexity Delays Verification: For harder tasks like logic puzzles (ZebraLogic), this verification peak occurs much later in the generation process compared to simpler math tasks (GSM8K), matching the intuition that complex problems require more internal computation before a model is ready to validate against the prompt.
- Model Architecture Footprints: Distilled reasoning models (like DeepSeek's R1 distillations) exhibit significantly different thought structures and higher attribution score densities than their non-distilled counterparts, showing that reinforcement learning fundamentally alters how models chain their thoughts.
Key Results
To evaluate attribution quality, the authors used the Area Under the Perturbation Curve (AUPC). A higher AUPC means that removing the top-ranked "causal" units causes a rapid drop in the model's confidence, proving the attribution method successfully identified the most critical steps.
- Superior Faithfulness: AttriCoT consistently outperformed both LLM prompting baselines and its closest competitor, Thought Anchors-KL.
- Quantitative Gains: On the GSM8K dataset, AttriCoT achieved a 15–30% AUPC improvement over Thought Anchors and a massive 70–165% improvement over prompting-based attribution methods.
The performance gap remains steady across math, logic, and multi-domain datasets, establishing AttriCoT as a highly robust tool for behavioral faithfulness evaluation.
Limitations and Future Work
While powerful, the authors note a few limitations:
- Linear Assumption: AttriCoT relies on linear structural equations, which might fail to capture highly non-linear token interactions or complex feature dependencies.
- Simple Interventions: The default setup uses simple leave-one-out unit deletions. Exploring joint perturbations (removing multiple steps at once) could yield deeper insights.
- Future Directions: The team plans to explore how these causal attribution matrices shift depending on whether the model ultimately gets the answer right or wrong, and how reasoning structures change across different problem difficulties.
Summary updated