GSM-Agent: Understanding Agentic Reasoning Using Controllable Environments

Hanlin Zhu, Tianyu Guo, Song Mei, Stuart Russell, Nikhil Ghosh, Alberto Bietti, Jiantao Jiao · DOI

Abstract

Current evaluations of Large Language Models (LLMs) often conflate raw mathematical reasoning with agentic capabilities like information retrieval and tool use. We introduce GSM-AGENT, a benchmark that disentangles these skills by embedding grade-school math premises within a searchable, controllable database. Our analysis reveals that high-performing agents are characterized not just by more interactions, but by specific "revisiting" behaviors—returning to previously seen information to refine reasoning. While frontier models like GPT-5 demonstrate these patterns naturally, open-source models struggle, showing significant performance drops when required to proactively find information.

Introduction

Frontier LLMs have reached impressive heights in static reasoning tasks where all necessary facts are provided in the prompt. However, real-world AI agents operate in environments where information is fragmented and must be actively sought. Current agent benchmarks often introduce "noise" by mixing agentic challenges with domain-specific expertise. If a model fails a complex task, it is unclear whether the failure stems from a lack of domain knowledge or an inability to navigate the environment. GSM-AGENT addresses this by using simple grade-school math (GSM8K) as the reasoning core while hiding the required premises inside a controllable database of context-rich documents.

The GSM-AGENT Benchmark

To create a realistic agentic environment, the researchers developed a multi-step pipeline to transform the GSM8K dataset. First, each math problem is decomposed into a core question and its constituent premises. These premises are then expanded into "context-rich" documents—such as emails, receipts, or diary entries—to simulate real-world retrieval scenarios.

The GSM-AGENT pipeline: decomposing math problems into premises and generating context-rich documents.

These documents are placed in a searchable database alongside distractors. Agents must use tools like Search and NextPage to locate the necessary facts before they can solve the underlying math problem. This setup provides an "apples-to-apples" comparison between a model's static reasoning and its agentic performance.

Analyzing Agentic Reasoning

The study introduces the Agentic Reasoning Graph to visualize and categorize model behavior. By clustering database document embeddings into 250 "nodes," the researchers tracked agent movements as:

  • Exploration: Visiting a new node.
  • Exploitation: Staying within a node.
  • Revisit: Returning to a previously visited node.

A key discovery is the "Revisit Correlation." High-performing models like GPT-5 and o3 frequently revisit information, suggesting a self-correcting or refining process. In contrast, weaker models often "exploit" a single node repeatedly without finding the correct information, leading to failure.

Experimental Results

The performance gap between static reasoning and agentic reasoning is substantial. Even for grade-school math, frontier models like GPT-5 see a 33% drop in accuracy when they must find the premises themselves. Open-source models like DeepSeek-V3 and Llama-4-Scout face even steeper declines, with performance dropping by up to 80%.

Accuracy scaling across interaction rounds for different LLMs.

Crucially, simply increasing the number of interaction rounds (interaction-time scaling) does not guarantee success. As shown in the scaling plots, if a model lacks effective search and revisiting strategies, additional steps yield diminishing returns. To address this, the researchers introduced Tool-Augmented Scaling, providing models with explicit Revisit() and Thinking() tools. This intervention significantly boosted the performance of open-source models, suggesting that agentic intelligence can be enhanced through better tool design.

Conclusion

GSM-AGENT highlights that the bottleneck for current AI agents is often the ability to manage information flow and revisit critical data. While proprietary models exhibit these behaviors more naturally, open-source models can be improved by incorporating specialized tools that encourage better reasoning patterns. Future work will involve expanding this framework to more complex domains like law and medicine and developing more sophisticated memory management tools for agents.

Summary updated

BibTeX
@misc{zhu2025gsm,
  author = {Hanlin Zhu and Tianyu Guo and Song Mei and Stuart Russell and Nikhil Ghosh and Alberto Bietti and Jiantao Jiao},
  title = {{GSM-Agent: Understanding Agentic Reasoning Using Controllable Environments}},
  year = {2025},
  eprint = {2509.21998},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21998},
}
Figure