Written AI reasoning maps onto hidden model states
Researchers at South Korea's KAIST and Naver AI Lab found that written AI reasoning steps correspond to distinguishable internal patterns. The signal was strongest in the middle layers and held across the tested models, though the work remains limited to math tasks and a handful of systems.
When a reasoning model explains a math solution step by step, its text appears to move through different operations: pulling out information, breaking a problem apart, recalling a formula, making a deduction, or carrying out a calculation. A study from researchers at South Korea's KAIST and Naver AI Lab asks whether those visible steps also show up inside the model's numerical representations.
The answer, within the limits of the experiment, is yes. The researchers found that different reasoning operations can be separated inside the models they tested, with the clearest signal appearing in the middle layers.
What the researchers tested
The team defined eight recurring reasoning operations. The source names examples including extraction, decomposition, formula recall, deduction, and computation. These categories were used to describe different parts of a model's solution process rather than treating the full answer as one undifferentiated block of text.
Three models were used in the main tests: Qwen2.5-7B, Qwen3-8B, and Gemma4-31B. The models solved math problems, and their solution paths were split into segments. GPT-5 then labeled each segment with one of the defined reasoning operations.
That setup let the researchers compare two things: what the model was visibly doing in its written reasoning, and what could be detected in its internal states during those parts of the answer. The central question was not simply whether the output text used different words. It was whether the model's hidden numerical activity carried a separable signal for the kind of reasoning step being performed.
The strongest signal appeared in the middle layers
Across the three models, the different reasoning operations were reliably distinguishable in internal representations. The separation was not uniform through the whole model. It peaked in the middle layers, suggesting that this part of the model carried the clearest information about the current reasoning operation.
The researchers also checked whether the result could be explained by surface wording alone. A classifier that looked only at the tokens performed worse than one using internal representations. The position of a segment within the solution path did not explain the pattern either.
That matters because chain-of-thought style output can be easy to overread. If a model writes a step that looks like computation, it is tempting to assume the text alone tells us what is happening. This study suggests the internal states contain additional information about the operation type beyond the words and beyond where the step appears in the answer.
Same words can carry different internal patterns
One of the more revealing tests involved common function words such as a, is, and the. These words appear across many kinds of reasoning steps, so they help separate the effect of the surrounding reasoning operation from the identity of the word itself.
In early layers, the representations of these common words were still mixed together. By the middle and later layers, they separated according to the operation around them. In other words, the same word could take on a different internal representation depending on whether it appeared during extraction, formula recall, deduction, computation, or another step.
The researchers also tested whether a reasoning operation forms independently from the surrounding context. They blocked attention to the preceding 30 tokens through a targeted intervention. When they did that, the signal for the operation weakened.
That result points to a context-dependent process. A reasoning step is not just a standalone label attached to a slice of text. It appears to build on what came before it, which fits the way multi-step problem solving usually works: later steps depend on prior information, prior structure, and prior intermediate results.
Wrong answers still had identifiable steps
The study also examined incorrectly solved problems. Even when the final result was wrong, the type of step being performed remained identifiable internally. A flawed computation step still showed up as computation inside the model, even if that computation led to an incorrect answer.
This distinction is important. Detecting the kind of reasoning operation is not the same as verifying that the operation is correct. The study shows separability of operation type, not automatic error detection. A model can be internally recognizable as computing, retrieving a formula, or deducing while still producing a bad solution.
The separability also held up in additional tests. The source reports that the result replicated with Llama-3-8B. For Qwen3-8B, trained classifiers transferred successfully to GPQA-Diamond and MATH-500.
Still, the scope is limited. The experiments focused on math tasks and a handful of models. Whether this kind of internal signal can be used to catch mistakes or guide a model while it is generating remains unresolved future work.
Why this matters for AI oversight
The relationship between written reasoning and internal computation is a major question for AI safety. If visible reasoning steps reflect meaningful internal states, then written chains of thought may offer some oversight value. But the source also points to reasons for caution.
OpenAI is described as treating chain-of-thought reading as one of the few oversight tools available. At the same time, Anthropic showed that models only disclose the hints they used in 25 to 39 percent of cases. That means written reasoning may be informative without being complete.
The source also notes related work showing that Claude Opus 4.6 processes more than what appears in its output reasoning, using a method that translates internal vectors into readable text. It also mentions OpenAI's Astra model, where the Recurrent Depth technique moves part of the reasoning into internal numerical representations.
Seen in that context, the KAIST and Naver AI Lab study gives a narrower but useful result: for the tested math settings, written reasoning operations correspond to distinct internal patterns. The finding does not prove that models are fully transparent when they explain themselves. It does suggest that the internal space where reasoning happens may be structured enough to study, compare, and possibly monitor in more detail.
Read next