DemoEvolve:利用演示克服智能体框架演化中的稀疏反馈
DemoEvolve: Demonstration-Guided Harness Evolution under Sparse Feedback
AI总结:
提出DemoEvolve方法,通过人类演示引导框架演化,解决长时域随机环境中自生成轨迹因稀疏反馈和高方差导致的脆弱性问题,在Liar's Dice和Balatro任务中验证了其有效性。
摘要:
智能体框架演化通过修改冻结语言模型周围的可执行结构来改进它们。我们将这一范式研究为一种样本高效的快速适应形式:智能体无需更新模型权重,而是通过改变其外部框架来获取任务特定能力,同时保留基础模型的通用能力。先前的工作表明,自生成轨迹可以支持框架搜索,暗示智能体可以通过练习获得新的任务能力。然而,在长时域随机环境中,自我练习变得脆弱:奖励稀疏,结果方差高,且失败难以归因于具体的框架机制。我们引入了DemoEvolve,一种基于演示引导的框架演化方法。当仅依赖奖励的搜索过于宽泛和嘈杂时,胜任的人类轨迹作为编码提议者的专家参考经验,指导框架级别的诊断和编辑。在Liar's Dice上的实验表明,当回合短且失败可归因时,自轨迹演化可以工作。相比之下,Balatro暴露了更困难的长时域随机场景,其中自轨迹演化被稀疏反馈和候选选择噪声误导,而仅靠教程式文本知识无法带来稳定的改进。在相同的有限预算下,DemoEvolve产生了更有效和可审计的框架编辑,并实现了更好的性能。总体而言,演示使稀疏反馈的框架演化更具可诊断性、可定位性和稳定性。
英文摘要:
Harness evolution enables frozen language model agents to adapt to unfamiliar tasks by modifying the external programs that govern their behavior. For long-horizon tasks, each rollout is costly, and a limited interaction budget may yield few examples of effective behavior. Sparse, delayed feedback also makes it difficult for a coding agent to diagnose failures and determine which modifications will improve performance. We present DemoEvolve, which uses human demonstrations to guide harness evolution under limited interaction budgets. The coding agent examines demonstrations alongside its own rollout history, extracts strategies and the conditions under which they apply, and turns them into reusable harness components. We compare demonstration guidance with self-rollout evolution and augmentation with retrieved textual knowledge under the same evolution procedure and agent interaction budget. On held-out seeds, DemoEvolve improves mean capped final-round progress from 16.83 to 20.00 in Balatro and mean floor reached from 18.17 to 28.83 in Slay the Spire 2, compared with the respective base harnesses. These results suggest that demonstrations can help harness evolution make better use of limited interaction experience by providing concrete guidance for diagnosis and modification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。