arXiv:2609.04753cs.CLSep 2026

Manuscript Offprint

arXiv:2609.04753

Beneath the Surface of Chains-of-Thought: A Mechanistic Interpretation of Reasoning Operations in LLMs

Seogyeong Jeong, Jaehui Hwang, Dongyoon Han, Geonmo Gu, Alice Oh, Taekyung Kim

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

Abstract

Reasoning in large language models unfolds through diverse functional operations, such as problem formulation, goal decomposition, and deduction. Although these operations are explicitly distinguished in text, little is known about how they are geometrically organized in representation spaces. To this end, we investigate whether distinct reasoning operations exhibit corresponding geometric structure in hidden representations. We find that operations are separable in held-out representations, with separability peaking in middle layers, and verify that this structure is not explained by lexical or positional confounds. Across layers, token-wise operation-alignment becomes more distributed over spans, while identical surface tokens are represented differently depending on the operation of its surrounding chunk. Attention-masking interventions further show that operation-aligned representations at chunk onset depend on preceding reasoning context. Consequently, our work demonstrates that language models maintain representational correspondence between linguistic reasoning expressions and their internal geometric structures. Code and project materials are available at https://github.com/naver-ai/beneath-cot.

1 Introduction

Recent reasoning-oriented LLMs (Xu et al., 2025a) have achieved strong performance on multi-step problem-solving tasks. Crucially, their training increasingly optimizes not only final-answer correctness but also the reasoning trajectories that produce those answers (Guo et al., 2025; Zhang et al., 2025b), through methods such as reinforcement learning and search algorithm (Li et al., 2025). As reasoning trajectories become objects of optimiza-

tion, a central question is what structure these training objectives are shaping inside the model.

A deeper understanding of LLM reasoning therefore requires examining not only the generated reasoning traces, but also how the reasoning operations expressed in those traces are internally represented. In this work, we ask whether the hidden representations produced during chain-of-thought (CoT) reasoning (Wei et al., 2022) encode the reasoning operation being performed, beyond the lexical identity of the current token. We further ask whether instances of the same operation exhibit shared representational structure across different problems and reasoning contexts.

Prior work suggests that reasoning involves continuous latent dynamics (Hao et al., 2025; Shen et al., 2025; Xu et al., 2025b; Sun et al., 2026) and that hidden representations encode signals associated with answer correctness (Zhang et al., 2025a). However, it remains unclear how the distinct reasoning operations expressed within a CoT trace are organized in representation space, or whether their organization generalizes across tokens and problems. We therefore study the representational geometry of textually explicit reasoning operations in reasoning LLMs. Specifically, we ask: (1) Do instances of the same reasoning operation share geometric structure beyond their lexical and problem-specific content? (2) Where and when does this operation-level structure emerge across model layers and reasoning trajectories? (3) How is this structure affected by contextual factors such as token identity, operation position, and execution correctness?

To answer these questions, we categorize reasoning operations using Polya’s problem-solving framework from How to Solve It (Pólya, 1945), which provides a coarse-grained taxonomy of stages. We apply this taxonomy to generated reasoning traces and analyze the corresponding hidden representations on mathematical reasoning datasets,

*Work done during an internship at NAVER AI Lab. †Corresponding authors.

Figure

Figure 1: Overview of reasoning-vector analysis. Given an input problem and the model-generated reasoning trace, we probe hidden representations with reasoning operation vectors corresponding to different reasoning operations. The left panel shows token-level reasoning operation-alignment scores over the generated text, while the right panel projects span representations onto Decomposition and Recall reasoning-vector axes. Regions with strong reasoning operation-specific signals appear along the corresponding directions.

including DAPO-MATH-17K (Yu et al., 2025) and TheoremQA (Chen et al., 2023). We further examine multiple reasoning-oriented LLMs from the Qwen and Gemma families to assess whether operation-level structures are consistently observed across model families.

Our key findings are as follows: (1) reasoning operations are separable in held-out hidden representations, with separability peaking in middle layers (§3.2); (2) operation signals become distributed across spans and contextualize even identical surface tokens (§3.3); (3) attention masking shows that preceding reasoning context causally contributes to subsequent operation representations (§3.4); and (4) operation geometry persists but weakens under factual errors (§3.5).

Our findings suggest that language models maintain a representational correspondence between explicitly expressed reasoning operations in text and their internal geometric organization. By bringing the reasoning trace from the output text level down to the internal representation level, our work offers a new lens through which to examine LLM cognition. As emerging paradigms increasingly optimize the reasoning process itself, elucidating these internal mechanisms lays the vital groundwork for improving reasoning capabilities through direct latent space interventions.

References (10)