HGM-Dual:面向长程规划的谱系感知智能体框架优化方法
HGM-Dual: Lineage-Aware Guided Agent Harness Optimization for Long-Horizon Planning
Sakana 系 HGM 的后续工作,专治规划型智能体自我优化瞎折腾的问题,省 2-4 倍评估预算还涨 14% 准确率。
HGM-Dual 是一种针对规划型智能体的框架(harness)优化方法,前作 Huxley-Godel Machine 主要面向编程场景。规划任务中需要生成一串满足多个相互约束的工具调用,开放式自我修改会浪费大量评估预算。HGM-Dual 用谱系感知上下文记录每个祖先改了什么、哪些行为提升或回退,并引入错误条件化的双路径子代生成。在 case accuracy 上相对最强基线提升最高 14.45%,同时用 2 到 4 倍更少的评估预算达到 HGM 变体的最终性能。
HGM-Dual: Lineage-Aware Guided Agent Harness Optimization for Long-Horizon Planning
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.