Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens

Kaya Stechly, Karthik Valmeekam, Atharva Gundawar, Vardhan Palod, Subbarao Kambhampati · DOI

Abstract

The prevailing intuition in large language model (LLM) research is that "Chain-of-Thought" (CoT) reasoning must be logically sound to be effective. This study challenges that assumption by training models on maze-solving tasks using irrelevant or "swapped" reasoning traces. We demonstrate that these "reasonless" tokens provide a significant performance boost, often outperforming models trained on correct logic, particularly in out-of-distribution (OOD) scenarios. Our findings suggest that the benefit of intermediate tokens may stem from increased computational budget rather than semantic correctness.

Introduction

The recent success of "Long Chain-of-Thought" models, such as DeepSeek-R1, has led to a widespread belief that models are "thinking" through problems step-by-step. We often interpret intermediate tokens like "aha!" or "wait..." as evidence of internal reasoning. However, it remains unclear whether the meaning of these traces actually drives performance or if the model simply benefits from the additional computational steps and consistent formatting. This paper investigates this "semantic disconnect" by disentangling reasoning from token generation.

Methodology

We utilized 0.5B parameter Qwen models trained from scratch on shortest-path problems in 30x30 grid mazes. The models were trained on linearized execution traces of the A* search algorithm.

The "Swapped" Experiment

To test the necessity of semantic correctness, we created a "Swapped" dataset. In this setup, the reasoning trace for Problem A was randomly paired with the solution for Problem B. Consequently, the intermediate tokens were structurally valid (resembling A* traces) but entirely irrelevant to the specific maze being solved.

Example of a linearized reasoning trace with markers for invalid steps.

Key Findings

The Semantic Disconnect

Our experiments revealed that models frequently reach the correct solution even when their intermediate reasoning is logically invalid. Trace validity—the degree to which a trace follows the rules of the task—proved to be a poor predictor of final plan accuracy.

The "Reasonless" Boost

Surprisingly, models trained on irrelevant "Swapped" traces achieved performance comparable to, and in some cases better than, models trained on perfectly correct traces. On the standard Wilson maze dataset, the "Swapped" model achieved 83.3% accuracy compared to 79.9% for the "Normal" model. Both significantly outperformed the solution-only baseline of 10.0%.

Superior OOD Generalization

The most striking result was the robustness of "Swapped" models on out-of-distribution tasks. When tested on "Drunkard's Walk" mazes (which feature cave-like structures with loops), the standard model trained on Wilson mazes failed entirely (0% accuracy). In contrast, the "Swapped" version maintained 11.7% accuracy. In other OOD tests, the swapped model reached 95.4% accuracy, far exceeding the normal model's 62.1%.

Performance metrics as the percentage of swapped traces increases. Note that plan accuracy remains high even as trace validity drops.

Reinforcement Learning and Logic

We applied Group Relative Policy Optimization (GRPO) to see if optimizing for final answer correctness would naturally improve the logic of the intermediate traces. While GRPO successfully boosted final answer accuracy, it often decreased the validity of the reasoning traces. The models learned to "game" the final answer without improving their internal logical consistency, further highlighting the disconnect between "thinking" and "answering."

Conclusion

Our results suggest that the community should reconsider the role of human-interpretable logic in CoT traces. The benefit of these tokens may not lie in their semantic content but in providing a "computational cushion" or a consistent prompt augmentation that helps the transformer navigate complex state spaces. Future research should explore "latent" or "uninterpretable" prompt augmentations that maximize performance rather than focusing solely on human-readable reasoning.

Summary updated

BibTeX
@article{stechly2026beyond,
  author = {Kaya Stechly and Karthik Valmeekam and Atharva Gundawar and Vardhan Palod and Subbarao Kambhampati},
  title = {{Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure