arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.02085cs.AI
收藏

SE-Agent:基于LLM智能体多步推理中的自演化轨迹优化

SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agents

THU(清华大学);StepFun;UofT(多伦多大学);PKU(北京大学);UCAS(中国科学院大学);CASIA(中国科学院自动化研究所);UCR(加州大学尔湾分校);USYD(新南威尔士大学);UMN(明尼苏达大学)

Jiaye Lin, Yifu Guo, Yuzhen Han, Sen Hu, Ziyi Ni, Licheng Wang, Mingguang Chen, Hongzhang Liu, Ronghao Chen, Yangfan He, Daxin Jiang, Binxing Jiao, Chen Hu, Huacan Wang

AI总结:

针对LLM智能体多步推理中交互轨迹利用不足的问题,提出自演化框架SE-Agent,通过修正、重组和细化迭代优化轨迹,在SWE-bench Verified上实现高达55%的相对提升并达到SOTA。

摘要:

基于大语言模型(LLM)的智能体近期在复杂推理和工具使用方面,通过与环境的多次交互展现出了令人印象深刻的能力。尽管这些智能体具有处理复杂任务的潜力,但其问题解决过程,即引导任务完成的智能体交互轨迹,仍未得到充分利用。这些轨迹包含丰富的反馈,能够引导智能体朝着正确方向准确解决问题。尽管蒙特卡洛树搜索(MCTS)等主流方法能有效平衡探索与利用,但它们忽略了不同轨迹间的相互依赖性,且缺乏搜索空间的多样性,导致冗余推理和次优结果。为应对这些挑战,我们提出了SE-Agent,这是一个使智能体能够迭代优化其推理过程的自演化框架。该方法通过三个关键操作重新审视并增强先前的试点轨迹:修正、重组和细化。这种演化机制带来了两个关键优势:(1)通过在先前轨迹的引导下智能探索多样化的解决路径,将搜索空间扩展至局部最优解之外;(2)利用跨轨迹启发,在减轻次优推理路径影响的同时高效提升性能。通过这些机制,SE-Agent实现了持续的自演化,逐步提升推理质量。我们在SWE-bench Verified上评估了SE-Agent以解决真实的GitHub问题。在五个强大LLM上的实验结果表明,集成SE-Agent带来了高达55%的相对提升,在SWE-bench Verified上的所有开源智能体中实现了最先进的性能。我们的代码和演示材料已在 https://github.com/JARVIS-Xs/SE-Agent 公开。

英文摘要:

Large Language Model (LLM)-based agents have recently shown impressive capabilities in complex reasoning and tool use via multi-step interactions with their environments. While these agents have the potential to tackle complicated tasks, their problem-solving process, i.e., agents' interaction trajectory leading to task completion, remains underexploited. These trajectories contain rich feedback that can navigate agents toward the right directions for solving problems correctly. Although prevailing approaches, such as Monte Carlo Tree Search (MCTS), can effectively balance exploration and exploitation, they ignore the interdependence among various trajectories and lack the diversity of search spaces, which leads to redundant reasoning and suboptimal outcomes. To address these challenges, we propose SE-Agent, a Self-Evolution framework that enables Agents to optimize their reasoning processes iteratively. Our approach revisits and enhances former pilot trajectories through three key operations: revision, recombination, and refinement. This evolutionary mechanism enables two critical advantages: (1) it expands the search space beyond local optima by intelligently exploring diverse solution paths guided by previous trajectories, and (2) it leverages cross-trajectory inspiration to efficiently enhance performance while mitigating the impact of suboptimal reasoning paths. Through these mechanisms, SE-Agent achieves continuous self-evolution that incrementally improves reasoning quality. We evaluate SE-Agent on SWE-bench Verified to resolve real-world GitHub issues. Experimental results across five strong LLMs show that integrating SE-Agent delivers up to 55% relative improvement, achieving state-of-the-art performance among all open-source agents on SWE-bench Verified. Our code and demonstration materials are publicly available at https://github.com/JARVIS-Xs/SE-Agent.

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

↑