编码智能体能否在不发生遗忘的情况下维持持续进化?
Can Coding Agents Sustain Continual Evolution without Forgetting?
AI总结:
本文探究编码智能体工具集跨任务持续进化的遗忘问题,通过实证研究发现后续任务进化会损害先前任务性能,总结见解为工具集持续自进化提供方向。
摘要:
近年来,利用自进化已成为提升智能体性能的重要范式。现有研究表明,进化智能体的工具集(harness)可在不修改基础模型参数的情况下有效增强智能体能力。我们发现,现有方法大多在单一任务上研究智能体进化,而在实践中,编码智能体可能需要随时间处理多种任务类型。智能体工具集能否在跨多个任务持续进化且不遭受灾难性遗忘,仍是一个重要的开放问题。本文通过对持续工具集自进化的综合实证研究来探究该问题。我们将三个软件工程任务数据集整理为六个不同的进化方向,并应用两种代表性的工具集进化方法沿这些方向执行持续进化。实验结果显示,在后续数据集上的进化会大幅损害先前见过数据集上的性能。例如,使用DeepSeek-V4-Flash-0731时,Meta-Harness在SWE-Bench上进化后性能提升至94.0%,但在FeatureBench上进一步进化后,第五轮时其在SWE-Bench上的性能降至32.0%,相对下降了66%。最后,基于实验发现,我们总结了若干见解,为智能体工具集的持续自进化提供方向,代码可在该https URL获取。
英文摘要:
Recently, harness self-evolution has emerged as an important paradigm for improving agent performance. Prior studies show that evolving the agent harness can effectively enhance agent capabilities without modifying the foundation model's parameters. We find that existing approaches largely study agent evolution on a single task. In practice, coding agents may need to handle multiple task types over time. Whether an agent harness can continuously evolve across multiple tasks without suffering from catastrophic forgetting remains an important open question. In this paper, we investigate this open question through a comprehensive empirical study of continual harness self-evolution. We organize three software engineering task datasets into six different evolution directions and apply two representative harness evolution methods to perform continual evolution along these directions. Our experimental results show that evolution on a subsequent dataset can substantially undermine the performance on previously seen datasets. For example, with DeepSeek-V4-Flash-0731, Meta-Harness improves its performance on SWE-Bench to 94.0% after evolution. However, after further evolution on FeatureBench, its performance on SWE-Bench drops to 32.0% by the fifth round, corresponding to a 66% relative decrease. Finally, based on our experimental findings, we identify several insights, providing directions for the continual self-evolution of agent harnesses. Code is available at https://github.com/THU-Agent/continual-harness-evolution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。