Manuscript Offprint

arXiv:2608.22332

Mechanistic Interpretability of Chain-of-Thought Reasoning via Sequential Activation Patching

Murat Dura, Serkan Öztürk, Selma Tekir

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

A PREPRINT

Murat Dura ∗^{*}

Department of Computer Engineering

İzmir Institute of Technology

İzmir, Türkiye

Serkan Öztürk ∗^{*}

Department of Computer Engineering

İzmir Institute of Technology

İzmir, Türkiye

Selma Tekir

Department of Computer Engineering

İzmir Institute of Technology

İzmir, Türkiye

August 25, 2026

ABSTRACT

Large Language Models (LLMs) demonstrate remarkable problem-solving capabilities when guided by Chain-of-Thought (CoT) prompting, yet the internal mechanisms underlying these improvements remain poorly understood. In this work, we investigate where CoT-related causal effects emerge across the generated reasoning trajectory and which attention heads carry signals that contribute to final-answer computation. Because CoT reasoning unfolds over multiple generated tokens, standard activation patching at a single static token position is insufficient to characterize these temporally distributed effects. To address this limitation, we introduce a sequential activation patching framework that traces CoT-conditioned attention-head activations across token positions and aggregates their effects using Part-of-Speech-guided analysis. We further introduce Sequential Multi-Head Patching to evaluate the joint contribution of distributed head sets, together with cross-question and random-activation controls. Targeted zero-ablation experiments show that the identified heads are functionally important for successful answer generation and affect several overlapping mechanisms, including reasoning-trajectory maintenance, answer anchoring, exemplar–target separation, and numerical generation. Overall, our results provide evidence for distributed reasoning-support sub-circuits associated with CoT-conditioned computation.

Keywords CoT faithfulness · Mechanistic interpretability · Sequential Activation Patching

1 Introduction

Large Language Models (LLMs) have demonstrated strong performance on complex reasoning tasks when guided by Chain-of-Thought (CoT) prompting, where the model is encouraged to produce intermediate reasoning steps before committing to a final answer [Wei et al., 2022]. This improvement is especially visible in mathematical and multi-step problem solving, where prompt-based CoT often helps the model decompose a problem into smaller computational stages. Throughout this paper, we use “CoT” to refer specifically to prompt-based CoT elicited from standard language models, rather than reasoning traces generated by specialized reasoning models. However, the mechanism behind this improvement remains poorly understood. In particular, it is still unclear whether CoT merely changes the surface form of the generated text, or whether it causally reorganizes the model’s internal computation in a way that supports reasoning. This question is closely tied to the broader problem of CoT faithfulness. Although CoT traces are often read

∗^{*}These authors contributed equally to this work.

A PREPRINT

as explanations of the model's reasoning process, prior work has shown that generated rationales can be misleading. Turpin et al. [2023] demonstrate that models may rationalize answers influenced by biased or misleading features while failing to acknowledge those influences in the explanation. Similarly, other studies have shown that the causal role of intermediate reasoning steps varies across tasks, models, and evaluation settings [Lanham et al., 2023, Paul et al., 2024]. These findings suggest that CoT should not be treated as automatically faithful simply because it produces plausible intermediate text. At the same time, recent work also cautions against equating incomplete verbalization with unfaithfulness. Zaman and Srivastava [2026] argue that a CoT trace may be faithful even when it does not explicitly verbalize every causally relevant feature. In their analysis, many CoT outputs labeled as unfaithful by hint-verbalization-based metrics are judged faithful under alternative metrics, and causal mediation analysis shows that even non-verbalized hints can still influence predictions through the CoT.

Mechanistic interpretability provides tools for studying this internal role more directly. Activation patching, logit-based analysis, and distribution-level comparisons can test whether specific internal activations causally shift model behavior toward a target computation [Zhang and Nanda, 2024, Dutta et al., 2024]. Recent mechanistic work further suggests that CoT changes the structure of internal representations, for example by inducing sparser or more specialized activation patterns during reasoning [Chen et al., 2026]. However, standard intervention methods are often applied at isolated token positions, whereas CoT reasoning unfolds across a sequence of generated tokens. This creates a gap between the temporal nature of CoT and the static structure of many existing mechanistic analyses.

Rather than asking whether CoT prompting alters the model's internal computation, we focus on where and how these CoT-related effects are distributed across the generated reasoning trajectory. Specifically, we investigate which generated token positions and which attention heads carry causally relevant signals that distinguish CoT from No-CoT computation and contribute to final-answer generation. This formulation motivates our sequential intervention framework, which traces CoT-conditioned activations across token positions and attention heads rather than restricting the analysis to a single static intervention point.

We investigate these questions in the setting of mathematical word problems, using Qwen2.5-0.5B [Qwen et al., 2025], where the reasoning structure is relatively well-defined and the contrast between CoT and No-CoT prompting can be directly examined. We analyze whether CoT-conditioned internal activations can causally move No-CoT executions toward CoT-like behavior. We adopt sequential activation patching, where the outputs of attention heads from the clean run (the CoT prompting condition) are injected into the corrupted run (No-CoT). This setting allows us to ask whether intervention-sensitive internal components carry signals that influence the final answer. We summarize our contributions as follows:

• We adopt a many-to-one, sequential activation patching strategy, where the outputs of CoT attention heads are injected into No-CoT. Using distribution-level and logit-level metrics, we show that sequential activation patching moves No-CoT executions toward CoT behavior, suggesting that CoT-conditioned activations causally contribute to final-answer computation. We publicly share our code to support reproducibility. 2^{2}

• Targeted CoT activation patching consistently moves No-CoT executions toward CoT-like behavior, while cross-question patching shows weaker but still meaningful transfer, suggesting that the identified activations are not limited to problem-specific tokens. In contrast, random activation patching fails to produce the same effect, indicating that the observed improvements are driven by structured CoT-related signals rather than arbitrary perturbations.

• Targeted zero-ablation further shows that the identified components are functionally important for successful reasoning. Removing them disrupts not only final-answer accuracy, but also auxiliary mechanisms such as answer anchoring, exemplar–target separation, answer-slot binding, and numerical generation. We therefore interpret the discovered structure as a distributed reasoning-support sub-circuit dynamically recruited by CoT.

References (48)