arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.13652cs.SEcs.CL
收藏

不可序列化环境中的引导搜索策略及其在软件工程智能体中的应用

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

Nebius
Karina Zainullina, Alexander Golubev, Maria Trofimova, Sergei Polezhaev, Ibragim Badertdinov, Daria Litvintseva, Simon Karasik, Filipp Fisin, Sergei Skvortsov, … 展开作者

Karina Zainullina, Alexander Golubev, Maria Trofimova, Sergei Polezhaev, Ibragim Badertdinov, Daria Litvintseva, Simon Karasik, Filipp Fisin, Sergei Skvortsov, Maksim Nekrashevich, Anton Shevtsov, Boris Yangel

AI总结:

针对大语言模型在多步任务中性能不稳定、现有搜索技术不适用于不可序列化环境的问题,提出两种由动作-价值函数引导的搜索策略,在SWE-bench Verified基准上显著提升了开源与闭源模型的软件工程任务成功率。

摘要:

大语言模型(LLMs)近期在数学推理、智能体软件工程等复杂多步任务中取得了显著成果,但它们在多次解题尝试中往往难以维持稳定的性能。缩小平均性能与最佳性能差距的一种有效方法是引导式测试时搜索,该方法探索多条解题路径以找出最具潜力的方案。遗憾的是,蒙特卡洛树搜索(MCTS)等有效搜索技术通常不适用于Docker容器这类不可序列化强化学习(RL)环境,此类环境中难以轻松保存和恢复中间环境状态。我们研究了两种适用于这类环境的互补搜索策略:1步前瞻和轨迹选择,二者均由学习得到的动作-价值函数估计器引导。在智能体软件工程的核心测试平台SWE-bench Verified基准上,我们发现这些方法使经过微调的Qwen-72B模型的平均成功率提升了一倍,达到40.8%,创下了开源权重模型的新纪录。此外,我们还证明这些技术可迁移到更先进的闭源模型,在GPT-4o上也取得了类似的性能提升。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑