arXiv:2609.38107cs.CLSep 2026

Manuscript Offprint

arXiv:2609.38107

Correct Answers, Invalid Traces: What Verifiable Grade-School Math Reveals About Chain-of-Thought Traces

Ratish Puduppully, Pranabendu Misra, Paarth Iyer, Durgesh Kalwar, Vardhan Palod, Subbarao Kambhampati

Ratish Puduppully

IT University of Copenhagen

rapu@itu.dk

Paarth Iyer

Indian Institute of Technology Jammu

paarthiyer1234@gmail.com

Vardhan Palod

Arizona State University

vpalod@asu.edu

Pranabendu Misra

Chennai Mathematical Institute

pranabendu@cmi.ac.in

Durgesh Kalwar

Arizona State University

dkalwar@asu.edu

Subbarao Kambhampati

Arizona State University

rao@asu.edu

ABSTRACT

Chain-of-thought traces are widely read as records of how models reach their answers, informing debugging, agent auditing, and claims about reasoning. Testing this interpretation is difficult because natural-language thinking traces are rarely mechanically verifiable. We revisit it in iGSM, a synthetic grade-school mathematics benchmark designed to study thinking traces and used to support claims of learned reasoning and planning. Crucially, iGSM exposes the exact quantities and dependencies that a correct solution should use, allowing generated traces to be checked programmatically step by step and enabling us to test whether correct answers are reliably accompanied by valid traces. We first evaluate models trained exclusively on valid, minimal traces. Answer correctness and trace validity nearly coincide in distribution but decouple out of distribution: on the hardest instances, 31.6% of correct answers have invalid traces, over half of which pass all syntactic and arithmetic checks but fail semantic dependency checks. We then intervene on trace supervision. Non-minimal training traces induce non-minimal outputs, while re-asking the same problem with a different query reveals computations inherited from the original query, weakening minimality as evidence of selective planning. Shuffling tokens in 10% of training trace sentences preserves near-clean accuracy even out of distribution despite no trace passing verification. Swapped training traces likewise retain high in-distribution accuracy. We discuss the implications of these findings for chain-of-thought monitoring and interpretation in the context of AI safety.

1 INTRODUCTION

Chain-of-thought (CoT) prompting (Wei et al., 2022) became popular as a technique for eliciting step-by-step solutions from large language models (LLMs), and substantially improved performance on a range of reasoning tasks. Subsequent work showed that it can be elicited via simple Zero-shot-CoT (Kojima et al., 2022) prompting: “Let’s think step by step”. Soon CoT was incorporated into training as well. STaR (Zelikman et al., 2022) iteratively generates reasoning traces, retains those that lead to the correct final answer, and fine-tunes the model on these successful traces. These results established that model-generated intermediate reasoning could serve both as additional computation at inference time and as a source of training signal.

Modern reasoning models extend this idea to a much larger scale through reinforcement-learning (RL)-based post-training. Models generate extended CoT trajectories, often referred to as ‘think-ing traces' or 'reasoning traces', and are rewarded when those trajectories lead to successful outcomes (Guo et al., 2025; Kimi Team et al., 2025). In prominent published training recipes, this reward is primarily outcome based, rather than step-level process rewards. DeepSeek-R1-Zero trains with Group Relative Policy Optimization (GRPO) (Shao et al., 2024), using rule-based rewards for answer correctness and output format without directly considering the content of the reasoning traces (Guo et al., 2025). Kimi K1.5 likewise evaluates generated reasoning traces largely by whether they lead to a correct final answer (Kimi Team et al., 2025). Such training therefore directly incentivizes intermediate thinking traces that help produce correct answers, but that does not enforce that the emitted trace is itself a valid derivation of that answer. Process-supervision approaches do attempt to close this gap by assigning feedback to intermediate reasoning steps (Lightman et al., 2024; Wang et al., 2024), but they remain unused in these recipes.

At inference time, these models produce natural-language thinking traces that often resemble a coherent sequence of arguments, deductions, plans, and revisions, making it tempting to read them as an account of what the model is doing and why. This becomes especially consequential when reasoning models are embedded in agents: models instructed to adopt particular roles or personas, use tools and take actions in an external environment. In multi-agent settings, many such agents may interact through complex and partially autonomous processes to achieve a given goal, with limited human supervision (Li et al., 2023; Wu et al., 2024; Chen et al., 2024). There is also a tendency to conduct post-hoc analysis of the agents' thinking traces, with the intention of understanding how these interactions unfolded; see e.g. (Greenblatt et al., 2026; Yao et al., 2026).

With growing emphasis on AI safety and oversight, thinking traces have become a key interface for monitoring and interpreting model behavior. Researchers use them to assess explanation faithfulness (Turpin et al., 2023; Lanham et al., 2023; Chen et al., 2025), detect undesirable strategies such as reward hacking (Baker et al., 2025), and interpret complex multi-agent behavior (Greenblatt et al., 2026; Yao et al., 2026). A recent METR investigation, for example, analyzed the raw thinking traces of a large group of interacting agents and reported coordination, recruitment of other agents into risky experiments, and an agent's trace explicitly contemplating sacrificing its own success for the benefit of the collective (Greenblatt et al., 2026). Popular coverage has framed such coordination as a form of "collective intelligence" (Lyons, 2026; Wong, 2026).

The above monitoring, interpretation and analysis all rely, explicitly or implicitly, on an important assumption: the emitted thinking trace is faithful, or at least reliably correlated, to how the model arrived at its final answer. However, the fact that a thinking trace is useful to the model for producing a correct answer does not, by itself, establish this. It does not even establish that the emitted trace is a valid derivation of the final answer. Understanding when, how and to what extent thinking traces can be reliably interpreted as records of a model's reasoning is the central motivation of our work.

Our Results. Natural-language thinking traces cannot be checked mechanically, so their validity is rarely tested directly. We therefore study iGSM (Ye et al., 2025a), a synthetic grade-school mathematics benchmark, in which the quantities and dependencies underlying each problem are known and model generated traces can be checked programmatically to identify the causes behind why a trace is invalid. This lets us separate two questions that are often conflated: Was the final answer correct? and Was the thinking trace a valid derivation of that answer?

Prior work interprets the out-of-distribution generalization, minimal solutions, and hidden-state probes of models trained on iGSM as evidence of learned reasoning and planning (Ye et al., 2025a). We ask what an external observer can justifiably infer about the model's capabilities and computation from the thinking traces alone. We therefore ask a precise and directly measurable question: When a model produces the correct final answer, does the emitted thinking trace constitute a valid derivation of that answer? If a correct answer is frequently accompanied by an invalid trace, then properties of that trace cannot be used straightforwardly as evidence for the model's underlying reasoning process.

We carry out a series of experiments to investigate the above and other related questions on the interpretability of thinking traces. We use the setting of Ye et al.: training GPT-2 (Radford et al., 2019) size models trained on iGSM problem instances. Our first experiment evaluates models trained only on standard valid, minimal traces, which we call the clean model. Answer correctness and trace validity nearly coincide in distribution, but diverge as reasoning depth moves out of distribution. On the hardest problems, 31.6% of correct answers are accompanied by invalid traces. Thus, even under the unusually favorable conditions of synthetic data, a fixed trace grammar, clean supervision, and a formally checkable task, a correct answer does not reliably certify the validity of the trace. Further, these failures need not be obvious from a surface inspection: more than half of these invalid traces pass all syntactic and arithmetic checks, and only fail semantic checks based on the problem's dependencies.

The analysis of the clean model also identifies a concern for interpreting thinking traces under distribution shift. As problem difficulty increases beyond what was seen during training, the gap between answer correctness and trace validity grows wider. These failures arise despite training on valid thinking traces, and without any incentives to conceal behavior. This could have implications for AI safety, trace monitoring and interpretation: thinking trace reliability on familiar tasks could deteriorate when the input distribution shifts.

Next, we intervene on the trace supervision and on the query. Training on valid but non-minimal traces substantially changes the minimality of generated solutions, while re-asking the same problem about a different quantity reveals computations inherited from the original query. These results show that minimality alone is insufficient evidence that the model independently selected exactly the computations required by the current question.

Finally we consider stronger interventions that destroy trace semantics more directly. Models trained on traces swapped between unrelated problems still answer 82% of in-distribution problems correctly, despite never emitting a valid trace. Next, models trained on traces where 10% tokens of the prefix sentences are randomly shuffled, nearly preserve clean-traces model accuracy, even out of distribution, again with no generated trace passing verification. Larger shuffling progressively harms generalization. The above results along with the results on non-minimal traces establish two points. First, a trace can help the model while being far from a valid derivation. Second, features of the trace that look like reasoning, such as minimality, and coherence can be inherited from the training data rather than worked out by the model.

Our conclusions are deliberately narrower than “chain-of-thought does not matter.” An invalid emitted trace does not show that no useful reasoning occurred internally, and our experiments do not measure whether the trace is a faithful record of the computation that produced the answer. Rather, they show that answer correctness, trace validity, and other properties such as minimality can come apart, and that their relationship deteriorates under distribution shift. This is important when the thinking traces are used as evidence about how a model reasons or as a signal for interpretation and monitoring. Recent work has proposed monitoring reasoning traces for reward hacking and other undesirable behavior (Baker et al., 2025; Korbak et al., 2025), while other studies find that important causal influences may go unmentioned in the generated reasoning (Chen et al., 2025). A setting such as iGSM, in which trace validity can be checked exactly, therefore provides a controlled test environment of a condition that any stronger claim about the meaning of thinking traces must satisfy.

References (50)