TL;DR
Large Language Models (LLMs) often generate Chain-of-Thought (CoT) explanations that look plausible but don't actually match their internal reasoning. This paper introduces CIE-SCORER, a scalable framework that detects this "unfaithfulness" by measuring the structural discrepancy between an LLM's internal computational circuits and its external text output.
What Problem Does This Paper Address?
Chain-of-Thought (CoT) prompting helps LLMs solve complex problems by generating step-by-step rationales. However, these rationales aren't always faithful—the model might arrive at an answer internally using one mechanism but output a completely different, plausible-sounding justification (post-hoc rationalization).
Existing methods to detect this either look only at surface-level text features (like consistency) or try to map out the model's entire internal neural "circuitry," which is computationally brutal and doesn't scale to long text. The authors tackle the challenge of efficiently using internal mechanistic interpretability signals to audit individual instances of CoT reasoning without breaking the computational bank.
Methods
The authors propose CIE-SCORER (Circuit-guided Internal-External Discrepancy Scorer), which operates in three main phases:
- Token Selection: Instead of tracing every single token in a sentence, it filters for "informative" tokens using a combination of token-level entropy (uncertainty) and counterfactual necessity (how much changing the token alters the semantic meaning and downstream prediction).
- Circuit vs. Text Representation: For the selected tokens, it builds a compact sentence-level internal attribution circuit mapping the information flow through the layers. This circuit is compressed into an internal embedding using a Graph Neural Network (GNN). Concurrently, the external text representation is extracted from the model's hidden states and aligned via a lightweight adaptor.
- Graph Discrepancy: It constructs two trace-level sentence graphs (one internal, one external) using a shared rule that captures temporal flow and semantic similarity. Finally, it calculates the Fused Gromov–Wasserstein (FGW) distance between these two graphs. A high discrepancy score indicates that the text rationale diverges from the internal computation, signaling unfaithfulness.
Datasets
The framework was evaluated using FaithCoT-Bench, a benchmark specifically designed for instance-level CoT unfaithfulness detection. It spans four distinct reasoning domains:
- LogicQA: Logical deductive reasoning.
- TruthfulQA: Factual reasoning designed to mimic common human misconceptions.
- AQuA: Step-by-step algebraic and mathematical word problems.
- HLE-Bio: Knowledge-intensive biomedical reasoning.
Key Insights and Ideas
- Not all tokens are created equal: Tracing full circuits is a massive scalability bottleneck. By combining uncertainty (entropy) with causal impact (counterfactual necessity), CIE-SCORER filters out redundant tokens (like connectives) while retaining the core reasoning signals.
- Different types of unfaithfulness leave different footprints: The authors broke down unfaithfulness into post-hoc reasoning (rationalizing a predetermined answer) and spurious reasoning chains (locally coherent steps that break global logic). Post-hoc reasoning correlates strongly with feature-level discrepancy (mismatched content), whereas spurious chains correlate with structure-level discrepancy (broken dependencies).
- Structure matters: The ablation studies show that removing the internal GNN or graph edges significantly hurts performance, proving that treating internal circuits as structured graphs is superior to using simple summary statistics.
Key Results
- State-of-the-Art Performance: CIE-SCORER consistently outperforms 11 representative baselines (including counterfactual, logit-based, and LLM-as-judge methods) across all four datasets. It improves accuracy by up to 11.5 points on Logic-QA and 10.0 points on Truthful-QA compared to the next best methods.
- Efficiency Gains: Compared to full-circuit tracing methods like CRV (which ran out of memory on LogicQA and HLE-Bio), CIE-SCORER reduces peak memory usage by 48.3%–55.2% and cuts the number of traced tokens by 62.4%–68.6%. It also achieved runtime reductions of up to 67.6% on TruthfulQA.
Limitations and Future Work
- White-Box Requirement: Because it relies on internal circuit tracing and hidden states, CIE-SCORER requires full access to model weights and activations. It cannot be used on closed-source, API-only models like GPT-4.
- Scope: The evaluation was limited to textual CoT traces from a single backbone architecture family (Llama-3.1-8B). Expanding this evaluation to more diverse model families, broader domains, and multimodal reasoning settings remains an open area for future research.
Summary updated