Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agents
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
- 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineering24 Jan
- 2024Agent Q: Advanced Reasoning and Learning for Autonomous AI Agents13 Aug
- 2023Reasoning with Language Model is Planning with World Model24 May
Other references · 30
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2022Solving math word problems with process- and outcome-based feedbackcited by 871
- 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 723
- 2022Large Language Models Can Self-Improvecited by 656
18 more
- 2024Executable Code Actions Elicit Better LLM Agentscited by 537
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2024Rewarding Progress: Scaling Automated Process Verifiers for LLM Reasoningcited by 267
- 2024Monte Carlo Tree Search Boosts Reasoning via Iterative Preference Learningcited by 238
- 2024Tree Search for Language Model Agentscited by 148
- 2023Controlled Decoding from Language Modelscited by 133
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
- 2024GLoRe: When, Where, and How to Improve LLM Reasoning via Global and Local Refinementscited by 101
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
- 2023OVM, Outcome-supervised Value Models for Planning in Mathematical Reasoningcited by 84
- 2021Learning and Planning in Complex Action Spacescited by 76
- 2024Interpretable Contrastive Monte Carlo Tree Search Reasoningcited by 62
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 57
- 2024Multi-step Problem Solving Through a Verifier: An Empirical Analysis on Model-induced Process Supervisioncited by 51
- 2023Critique Ability of Large Language Modelscited by 20
- 2024CRIU -- Checkpoint Restore in Userspace for computational simulations and scientific applicationscited by 2
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learningcited by 34
- 2025When Agents go Astray: Course-Correcting SWE Agents with PRMscited by 25
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
- 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Searchcited by 9
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineeringcited by 2
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platformscited by 2
- 2026ORACLE-SWE: Quantifying the Contribution of Oracle Information Signals on SWE Agentscited by 1
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agentscited by 0
- 2026Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agentscited by 0
- 2026Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents30 Sep 2026
- 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Search30 May 2026
- 2026ORACLE-SWE: Quantifying the Contribution of Oracle Information Signals on SWE Agents9 Apr 2026
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platforms5 Mar 2026
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineering5 Feb 2026
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025When Agents go Astray: Course-Correcting SWE Agents with PRMs2 Sep 2025
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learning5 Aug 2025
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study10 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks
- 2025AgentSwift: Efficient LLM Agent Design via Value-guided Hierarchical Search
- 2025Where to Search: Measure the Prior-Structured Search Space of LLM Agents
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
- 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomy
- 2026LLMs Improving LLMs: Agentic Discovery for Test-Time Scaling
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System
- 2024Fleet of Agents: Coordinated Problem Solving with Large Language Models