HGM-Dual:面向长程规划的谱系感知引导智能体工具优化
HGM-Dual: Lineage-Aware Guided Agent Harness Optimization for Long-Horizon Planning
AI总结:
提出HGM-Dual框架,通过谱系感知上下文和错误条件双路径子生成,在规划任务中以更少评估预算实现比基线更高的案例准确率,性能与HGM变体相当。
摘要:
工具优化可改进智能体的提示词、工具和工作流,是提升基于冻结或闭源大语言模型(LLM)构建的智能体的日益有效的方法。Darwin-Godel机器和Huxley-Godel机器(HGM)等领先方法依赖递归自我改进,主要针对编码任务,其中改进智能体所需的能力与被改进的能力一致。而规划任务中,智能体必须生成满足交互约束的工具调用序列,这打破了这种一致性,开放式自我修改会反复探索无效变更并消耗大量评估预算。我们提出HGM-Dual,一种用于规划智能体的预算高效工具进化的诊断引导框架。首先,HGM-Dual将智能体进化表示为谱系感知上下文,该上下文记录每个祖先的变更、哪些行为改进或退化、哪些修改无效,为编辑者提供明确的编辑结果归因,而非非结构化的过去智能体存档。其次,HGM-Dual引入错误条件的双路径子生成,对于每个选定的父代,生成保留开放式探索的通用子体,以及针对最可能导致父代最高排名约束违反的工具组件的专用子体。HGM-Dual在案例准确率上比最强基线实现了高达14.45%的相对改进,同时以2倍至4倍更少的评估预算达到与HGM变体相当的最终性能。
英文摘要:
Harness optimization, which improves an agent's prompts, tools, and workflows, is an increasingly effective way to enhance agents built on frozen or closed-source LLMs. Leading approaches such as the Darwin--Godel Machine and the Huxley--Godel Machine (HGM) rely on recursive self-improvement and were developed mainly for coding, where the competence needed to improve the agent coincides with the competence being improved. Planning tasks, in which an agent must produce a sequence of tool calls that jointly satisfies interacting constraints, break this alignment. There, open-ended self-modification repeatedly explores ineffective changes and consumes substantial evaluation budgets. We introduce HGM-Dual, a diagnostic-guided framework for budget-efficient harness evolution for planning agents. First, HGM-Dual represents agent evolution as lineage-aware context. This context records what each ancestor changed, which behaviors improved or regressed, and which modifications were ineffective, giving the editor explicit edit-outcome attribution instead of an unstructured archive of past agents. Second, HGM-Dual introduces error-conditioned dual-path child generation. For each selected parent, it generates a general child that preserves open-ended exploration and specialized children that target the harness components most likely responsible for the parent's highest-ranked constraint violations. HGM-Dual outperforms the strongest baseline by up to 14.45% relative improvement in case accuracy while matching HGM variants' final performance with 2x-4x fewer evaluation budget.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。