atlas

Research map / Large language models / Agents, code and math

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

ICML 2025 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes 1-step lookahead and critic-guided trajectory selection as test-time search methods for non-serializable environments (Docker-based SWE-agent), roughly doubling SWE-bench Verified success for a fine-tuned Qwen2.5-72B policy (40.8%) and improving GPT-4o.

Problem

Test-time search methods such as MCTS cannot be applied to non-serializable RL environments (e.g., Docker containers) where states cannot be saved, restored, or revisited, so LLM agents show high variance across attempts on tasks like SWE-bench.

Approach

Two search operators that need no state rollback: sample-based 1-step lookahead and trajectory selection, both guided by a learned action-value critic (TD(lambda)-trained LLM) that is applied to a policy's sampled actions or complete trajectories.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add 1-step lookaheadQwen-based policy · Verified-50 (Default)success rate (%): 16.2 -> 26.8Helped
Add trajectory selection (N=10)Qwen-based policy · Verified-50 (Default)success rate (%): 16.2 -> 31.27Helped
Add 1-step lookahead and trajectory selection (N=10)Qwen-based policy · Verified-50 (Default)success rate (%): 16.2 -> 41.7Helped
Add 1-step lookahead and trajectory selection (N=5)GPT-4o policy · Verified-50 (Default)success rate (%): 22.0 -> 40.0Helped
Run until submitted rather than stopping on first completion (ablation)Qwen-based policy · Verified-50success rate (%): 16.2 -> 22.8Helped
Run until submitted rather than stopping on first completion (ablation)GPT-4o policy · Verified-50success rate (%): 22.0 -> 22.0No clear effect
Use Qwen2.5-72B instead of LLaMA3.1-70B as critic base model (ablation)Qwen-based policy + 1-step lookahead · Verified-50 (Default)success rate (%): 26.8 -> 22.8Hurt
Use LLaMA3.1-8B instead of LLaMA3.1-70B as critic base model (ablation)Qwen-based policy + 1-step lookahead · Verified-50 (Default)success rate (%): 26.8 -> 21.0Hurt
Use Qwen2.5-7B instead of LLaMA3.1-70B as critic base model (ablation)Qwen-based policy + 1-step lookahead · Verified-50 (Default)success rate (%): 26.8 -> 20.2Hurt
Remove the critic (ablation)Qwen-based policy + 1-step lookahead · Verified-50 (Default)success rate (%): 26.8 -> 16.2Hurt
Use TD(0.7) targets rather than Monte-Carlo (TD(1)) or one-step TD (TD(0)) (ablation)Critic guiding Qwen-based policy with 1-step lookahead · SWE-bench Verifiedsuccess rateHelped
Increase the discount factor γ toward 1 for Monte-Carlo-trained critic (ablation)Qwen-based policy with 1-step lookahead · SWE-bench Verifiedsuccess rateHelped

Surprising findings

Limitations

Experimental setup

Datasets: SWE-bench Verified SWE-bench training issues (6,500 issue-PR pairs) bootstrapped agent trajectories (80,000)

Benchmarks: SWE-bench Verified Verified-50

Metrics: success rate standard error of the mean Pass@N

Baselines: Qwen-based policy without search GPT-4o policy SWE-Gym SWE-Fixer Lingma Agent + Lingma-SWE-GPT-72B

Builds on: SWE-agent SWE-bench TD(lambda) Monte-Carlo Tree Search CRIU

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy