消除不确定性:通过编程编译实现智能体技能的自进化
Compile Away Uncertainty: Self-Evolving Agent Skills via Programmatic Compilation
AI总结:
研究针对自进化智能体技能执行时的不确定性问题,提出SkillCompiler框架,通过将规范操作编译为可执行程序并复用程序资产,在多基准和模型上实现任务性能最高32.33%的提升。
摘要:
自进化智能体技能使AI智能体能够从交互经验中积累和完善可复用的过程性知识,且无需更新模型参数。然而,由于这类技能通常以文本形式表示并通过大语言模型(LLM)推理执行,即使是之前学习过的过程也必须被反复解释和生成,这会在每次执行中引入可避免的不确定性。相比之下,程序执行是确定性的且可独立验证的。直观来看,将规范明确的操作转换为可执行程序可以减少对LLM推理的依赖,从而降低执行不确定性。受这一直觉启发,我们提出了SKillCompiler,这是一个将编程编译整合到技能进化过程中的自进化技能框架。具体而言,SkillCompiler采用了感知可执行性的技能编译策略,该策略将技能分解为细粒度操作,分析其可执行性,并构建混合技能框架,在保留LLM推理以处理依赖上下文的操作的同时,将规范明确的操作编译为经过验证的程序。为避免冗余的程序合成并使可执行知识能在不断进化的技能中积累,我们进一步设计了程序资产复用机制,该机制将经过验证的程序组织为可复用资产,在适用时检索现有实现,仅在必要时合成并验证新程序。在五个基准测试和六个模型系列上进行的大量实验表明,SkillCompiler始终优于最先进的方法,在任务性能上实现了高达32.33%的提升。
英文摘要:
Self-evolving agent skills enable AI agents to accumulate and refine reusable procedural knowledge from interaction experience without updating model parameters. However, since such skills are typically represented as textual documents and executed through LLM reasoning, even previously learned procedures must be repeatedly interpreted and regenerated, introducing avoidable uncertainty into every execution. In contrast, program execution is deterministic and independently verifiable. Intuitively, transforming well-specified operations into executable programs can reduce reliance on LLM reasoning and, consequently, reduce execution uncertainty. Motivated by this intuition, we introduce SKillCompiler, a self-evolving skill framework that integrates programmatic compilation into the skill evolution process. Specifically, SkillCompiler adopts an executability-aware skill compilation strategy that decomposes skills into fine-grained operations, analyzes their executability, and constructs hybrid skill skeletons that retain LLM reasoning for context-dependent operations while compiling well-specified ones into validated programs. To avoid redundant program synthesis and enable executable knowledge to accumulate across evolving skills, we further design a program asset reuse mechanism that organizes validated programs as reusable assets, retrieves existing implementations whenever applicable, and synthesizes and verifies new programs only when necessary. Extensive experiments on five benchmarks and six model families demonstrate that SkillCompiler consistently outperforms state-of-the-art methods, achieving up to 32.33\% improvement in task performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。