← Latest papers
💬 NLP

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

This paper introduces a sequential activation patching framework to identify distributed attention-head sub-circuits that causally support Chain-of-Thought reasoning in Large Language Models by tracing temporally spread effects across token positions and validating their functional importance through targeted ablation.

Original authors: Murat Dura, Serkan Öztürk, Selma Tekir

Published 2026-08-25
📖 5 min read🧠 Deep dive

Original authors: Murat Dura, Serkan Öztürk, Selma Tekir

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Large language models are the engines behind many modern artificial intelligence tools, capable of generating human-like text, solving problems, and answering questions. When these models face complex tasks, such as a difficult math word problem, they often perform much better if they are first asked to write out their thinking step-by-step before giving a final answer. This technique, known as "chain-of-thought" prompting, encourages the model to break a problem down into smaller, manageable pieces, much like a human might scratch out calculations on a piece of paper. However, a lingering mystery has been whether these written steps are actually helping the model think, or if they are just a polite performance. It has been unclear if the model is truly using the intermediate text to guide its internal logic, or if it is simply generating plausible-sounding words while secretly relying on a different, hidden process to reach the answer. Understanding this distinction is crucial because if the model is not truly reasoning, its explanations could be misleading, and its reliability in critical situations would be questionable.

To solve this puzzle, researchers at the İzmir Institute of Technology decided to look inside the model's "brain" while it worked. They focused on a specific type of artificial intelligence called a transformer, which processes information through a vast network of interconnected pathways. They wanted to know exactly where and how the chain-of-thought process changes the model's internal activity. Instead of just watching the final output, they used a technique called activation patching. Imagine the model's internal state as a stream of data flowing through different rooms in a building. In a standard run, the model solves a problem without writing out its steps. In a "clean" run, it solves the same problem while writing out its steps. The researchers took the specific data flowing through certain pathways during the "clean" run and swapped them into the "standard" run. By doing this, they could see if injecting the "thinking" data into the "non-thinking" run would cause the model to suddenly start solving the problem correctly, as if it had been given the missing steps.

The team discovered that the model's ability to reason is not stored in a single, isolated spot, but is spread out across a distributed network of pathways that activate in a specific sequence. When they replaced the internal signals of a model that was not thinking with the signals from a model that was, the non-thinking model began to behave like the thinking one. It moved closer to the correct answer and started to follow the same logical path. This suggests that the chain-of-thought prompts do more than just add text to the screen; they actively reorganize the model's internal computation, steering it toward a reasoning mode. The researchers found that this effect was strongest when they swapped signals from the same specific problem, but it still worked, though less strongly, when they swapped signals from a completely different problem. This indicates that the model has learned general patterns for how to think through a problem, not just how to solve one specific equation.

To confirm that these pathways were truly essential, the researchers performed a second experiment where they simply turned off the identified pathways entirely. When they did this, the model's performance collapsed. It didn't just get the final number wrong; it lost the ability to hold its place in the story, often mixing up the details of the example problem with the new question, or failing to even state the final answer in the expected format. The model would sometimes repeat the same phrase over and over or generate numbers that made no sense. These failures showed that the pathways identified by the researchers are not just for writing the explanation; they are the very circuits that keep the model's reasoning on track, help it separate the example from the real task, and ensure it generates the correct numbers.

The study also ruled out the idea that these improvements were just random noise or a side effect of changing any part of the model. When the researchers swapped in random, meaningless data instead of the specific "thinking" signals, the model did not improve. This confirmed that the specific signals carried by these pathways are what matter. The researchers found that these critical pathways are concentrated in the middle and later sections of the model's layers, rather than at the very beginning or end. They act as a support system that helps the model maintain its train of thought, anchor the final answer to the right number, and keep the example problem from contaminating the new one.

Ultimately, the work suggests that chain-of-thought prompting works because it recruits a specific, distributed set of internal circuits that are designed to support step-by-step reasoning. These circuits are not a separate "reasoning module" that sits apart from the rest of the model; rather, they are overlapping components that the model dynamically uses when it is asked to think aloud. When the model is not prompted to think, these circuits are not fully engaged, and the model struggles with complex tasks. When it is prompted, these circuits activate, guiding the model through the necessary steps to reach a solution. The findings provide a clearer picture of how these powerful tools actually work, showing that their ability to explain their reasoning is not just a linguistic phenomenon, but a reflection of a genuine, internal shift in how they process information.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →