mlsanityData to 7 Oct 2026

Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agents

arXiv 2505.13652 ↗First posted 19 May 2025cs.SE cs.CLcited by 9

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Large language models (LLMs) have recently achieved remarkable results in complex multi-step tasks, such as mathematical reasoning and agentic software engineering. However, they often struggle to maintain consistent performance across multiple solution attempts. One effective approach to narrow the gap between average-case and best-case performance is guided test-time search, which explores multiple solution paths to identify the most promising one. Unfortunately, effective search techniques (e.g. MCTS) are often unsuitable for non-serializable RL environments, such as Docker containers, where intermediate environment states cannot be easily saved and restored. We investigate two complementary search strategies applicable to such environments: 1-step lookahead and trajectory selection, both guided by a learned action-value function estimator. On the SWE-bench Verified benchmark, a key testbed for agentic software engineering, we find these methods to double the average success rate of a fine-tuned Qwen-72B model, achieving 40.8%, the new state-of-the-art for open-weights models. Additionally, we show that these techniques are transferable to more advanced closed models, yielding similar improvements with GPT-4o.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 33 of its 41 references that are in the map. First posted on arXiv 19 May 2025.

Builds on

33 of 41 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineering24 Jan
  2. 2024Agent Q: Advanced Reasoning and Learning for Autonomous AI Agents13 Aug
  3. 2023Reasoning with Language Model is Planning with World Model24 May

Other references · 30

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  6. 2023Let's Verify Step by Stepcited by 3,598
  7. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  9. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
  10. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  11. 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 723
  12. 2022Large Language Models Can Self-Improvecited by 656
18 more
  1. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  2. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
  3. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
  4. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  5. 2024Rewarding Progress: Scaling Automated Process Verifiers for LLM Reasoningcited by 267
  6. 2024Monte Carlo Tree Search Boosts Reasoning via Iterative Preference Learningcited by 238
  7. 2024Tree Search for Language Model Agentscited by 148
  8. 2023Controlled Decoding from Language Modelscited by 133
  9. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
  10. 2024GLoRe: When, Where, and How to Improve LLM Reasoning via Global and Local Refinementscited by 101
  11. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
  12. 2023OVM, Outcome-supervised Value Models for Planning in Mathematical Reasoningcited by 84
  13. 2021Learning and Planning in Complex Action Spacescited by 76
  14. 2024Interpretable Contrastive Monte Carlo Tree Search Reasoningcited by 62
  15. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 57
  16. 2024Multi-step Problem Solving Through a Verifier: An Empirical Analysis on Model-induced Process Supervisioncited by 51
  17. 2023Critique Ability of Large Language Modelscited by 20
  18. 2024CRIU -- Checkpoint Restore in Userspace for computational simulations and scientific applicationscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 5.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks
  2. 2025AgentSwift: Efficient LLM Agent Design via Value-guided Hierarchical Search
  3. 2025Where to Search: Measure the Prior-Structured Search Space of LLM Agents
  4. 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
  5. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomy
  6. 2026LLMs Improving LLMs: Agentic Discovery for Test-Time Scaling
  7. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System
  8. 2024Fleet of Agents: Coordinated Problem Solving with Large Language Models