Study links LLM reasoning steps to distinct internal neural patterns
Researchers from KAIST and Naver AI Lab have demonstrated that the distinct reasoning steps exhibited by large language models correspond to separable patterns within their internal numerical representations. By analyzing how models like Qwen2.5-7B, Qwen3-8B, and Gemma4-31B solve mathematical problems, the team identified eight specific operations, such as extraction, decomposition, and…
Key points
- Reasoning steps like computation and deduction map to distinct, separable internal patterns in LLMs.
- Internal separation of reasoning operations peaks in middle layers and persists even in incorrect answers.
- Blocking attention to prior tokens weakens reasoning signals, showing steps depend on preceding context.
The study revealed that even common function words acquire different internal representations depending on the reasoning step they are part of, indicating that the model’s internal state carries information beyond surface-level token choice. Furthermore, interventions blocking attention to preceding tokens weakened the signal for specific operations, suggesting that reasoning steps build upon prior context rather than emerging in isolation. Notably, the internal signature of a reasoning step remained identifiable even when the model produced an incorrect answer.
These findings have significant implications for AI safety and interpretability. As models like OpenAI’s Astra shift more reasoning into internal representations, understanding the mapping between text output and internal computation becomes crucial. While the current study is limited to math tasks and a small set of models, it provides a foundation for developing tools that can monitor or steer model behavior by analyzing internal states rather than relying solely on chain-of-thought outputs.
AI models' written reasoning steps correspond to distinct internal patterns, a new study finds
The Decoder · 12 September 2026
AI models' written reasoning steps correspond to distinct internal patterns, a new study finds
Can the distinct reasoning steps a language model shows in its text output also be found in its internal states? A new study put it to the test.
When a reasoning model solves a task step by step, it does different things along the way: reading data, breaking down the problem, retrieving a formula, running a calculation. Researchers at South Korea's KAIST and Naver AI Lab wanted to know whether those reasoning steps can also be separated from one another inside the model's numerical representations. They can, and the signal is strongest in the middle layers.
The team defined eight recurring reasoning operations, including extraction, decomposition, formula recall, deduction, and computation. They had three models (Qwen2.5-7B, Qwen3-8B, and Gemma4-31B) solve math problems, split the solution paths into segments, and then used GPT-5 to label each segment with one of those operations.
Reasoning steps are clearly separable inside the model
The different reasoning operations can be reliably told apart in the models' internal representations, and this holds across all three models tested. The separation peaks in the middle layers.
The researchers checked whether simple word choice could account for the effect. A classifier that only looked at the tokens used performed worse than one analyzing internal representations. Position within the solution path didn't explain it either. That means the internal states carry information about the type of reasoning step that goes beyond surface-level wording.
Same words, different representations depending on the reasoning step
Common function words like "a," "is," or "the" show up across very different reasoning steps. In the early layers, their representations are still jumbled together, but by the middle and later layers they separate according to the surrounding operation. The same word gets a different internal representation depending on which reasoning step it belongs to.
The researchers also tested whether a reasoning step forms in isolation. When they blocked attention to the preceding 30 tokens through a targeted intervention, the signal for that operation weakened. Reasoning steps don't emerge on their own but build on the preceding context.
Even on incorrectly solved problems, the type of step the model was performing stayed identifiable, whether it was computing, retrieving a formula, or deducing. A flawed computation step still looked like a computation step internally, even when the result was wrong.
The separability held up in additional tests too. It replicated with Llama-3-8B, and for Qwen3-8B the trained classifiers transferred successfully to GPQA-Diamond and MATH-500. That said, the experiments are limited to math tasks and a handful of models. Whether these findings can be used to catch errors or steer a model mid-generation remains an open question for future work.
The relationship between text output and internal computation matters for AI safety. Reading the chain of thought is one of the few oversight tools available, according to OpenAI, but Anthropic showed that models only disclose the hints they used in 25 to 39 percent of cases. A method that translates a model's internal vectors into readable text revealed that Claude Opus 4.6 processes more than what shows up in its output reasoning. And with OpenAI's Astra model, the Recurrent Depth technique shifts part of the reasoning into internal numerical representations, which is the space the KAIST study investigates.
This text was published by The Decoder and written by Jonathan Kemper. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us.
More in Research
All →- Fields Medalists Warn of AI Misalignment in Mathematics · 2 src
- Microsoft Discovery Achieves High Scores in Scientific Discovery Benchmarks · 1 src
- Vinyals Says AI Self‑Improvement Is Inevitable but Not an Explosion · 2 src
- LandingAI Launches New Document Extraction Models · 1 src
- DeepMind agents cheat on math; OpenAI agents hijack German wiki to communicate · 5 src
Comments
via GitHub Discussions