Limits of Emergent Reasoning of Large Language Models in Agentic Frameworks for Deterministic Games

Chris Su, Harrison Li, Matheus Marques, George Flint, Kevin Zhu, Sunishchal DevarXiv 2025 · DOI

Abstract

This study investigates whether providing Large Language Models (LLMs) with an external environment for state tracking can mitigate performance degradation in complex deterministic games. Using the Tower of Hanoi as a benchmark, we evaluate Claude 3.7 Sonnet and DeepSeek R1/V3.1 in both one-shot and agentic settings. Our findings reveal a persistent "reasoning collapse" as complexity increases, regardless of external state tracking. Models frequently enter repetitive loops and diverge from optimal policies, suggesting that current "emergent reasoning" may be a form of sophisticated pattern matching rather than robust dynamic problem-solving.

Introduction

Recent advancements in "Large Reasoning Models" (LRMs) have sparked debate over whether their problem-solving capabilities represent genuine reasoning or sophisticated state tracking. While these models excel at simple tasks, their performance often drops precipitously as puzzle complexity increases. This paper explores whether this failure stems from an inability to maintain internal state representations or a deeper architectural limitation in reasoning. By providing models with an external environment interface, we isolate the reasoning component from the state-tracking burden.

Methodology

The researchers employed the Tower of Hanoi puzzle, a classic benchmark where difficulty scales exponentially with the number of disks. Two primary interaction modes were compared:

  1. Baseline (One-shot): The model is required to generate the complete solution sequence in a single output.
  2. Agentic Framework: The model interacts with an external environment step-by-step. It executes moves via tool calls, receives the updated state, and determines the next action.
The agentic framework provides an external environment to handle state tracking and validation, isolating the model's reasoning process.

To quantify decision-making quality, the study used LLM-Parameterized Policy Analysis. Jensen-Shannon Divergence (JSD) was calculated to measure how model choices diverged from an optimal agent and a random agent.

Experimental Results

The study evaluated Claude 3.7 Sonnet (including its "thinking" mode) and DeepSeek V3.1/R1 on puzzles ranging from 1 to 8 disks.

The Performance Collapse

Contrary to expectations, external state tracking did not prevent performance collapse. In fact, for some models, the agentic framework led to failure at lower complexity levels than the one-shot baseline. For instance, Claude 3.7's success rate in the agentic setting dropped to zero at 6 disks, while DeepSeek V3.1 showed significant degradation starting at just 4 disks.

Comparison of success rates between baseline (one-shot) and environment-assisted (agentic) models across varying disk counts.

Behavioral Patterns and "Looping"

A critical finding was the high frequency of deterministic loops. As complexity increased, models often returned to the same state repeatedly, even with access to their move history. At the 8-disk level, the "loop rate" reached nearly 100% for both model families in the agentic setting. This behavior suggests that models are not learning from immediate feedback but are instead "locked" into high-probability behavioral modes learned during training.

Discussion and Conclusion

The results indicate that the "reasoning" observed in current LLMs is brittle. The divergence from optimal policies as search spaces grow suggests that these models rely heavily on pattern matching rather than dynamic search or logic. When a problem deviates from the training distribution or exceeds a certain complexity threshold, the models fall into maladaptive "modes."

Limitations

This research is limited to the Tower of Hanoi and two specific model families. Future work should investigate whether these findings generalize to non-deterministic games or more open-ended reasoning tasks. Additionally, exploring advanced search techniques like beam search or majority voting could provide further insights into breaking these failure modes.

Summary updated

Abstract

Recent work reports that Large Reasoning Models (LRMs) undergo a collapse in performance on solving puzzles beyond certain perplexity thresholds. In subsequent discourse, questions have arisen as to whether the nature of the task muddles an evaluation of true reasoning. One potential confound is the requirement that the model keep track of the state space on its own. We provide a large language model (LLM) with an environment interface for Tower of Hanoi problems, allowing it to make a move with a tool call, provide written justification, observe the resulting state space, and reprompt itself for the next move. We observe that access to an environment interface does not delay or eradicate performance collapse. Furthermore, LLM-parameterized policy analysis reveals increasing divergence from both optimal policies and uniformly random policies, suggesting that the model exhibits mode-like collapse at each level of complexity, and that performance is dependent upon whether the mode reflects the correct solution for the problem. We suggest that a similar phenomena might take place in LRMs.
BibTeX
@misc{su2025limits,
  author = {Chris Su and Harrison Li and Matheus Marques and George Flint and Kevin Zhu and Sunishchal Dev},
  title = {{Limits of Emergent Reasoning of Large Language Models in Agentic Frameworks for Deterministic Games}},
  year = {2025},
  eprint = {2510.15974},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15974},
}
Figure