arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.08348cs.CL
收藏

Bayesian-Agent:面向LLM Agent框架的后验引导技能演化

Bayesian-Agent: Posterior-Guided Skill Evolution Across LLM Agent Harnesses

IDEA Research(IDEA研究院);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));DataArcTech Ltd.(DataArcTech有限公司)

Xiaojun Wu, Cehao Yang, Honghao Liu, Xueyuan Lin, Wenjie Zhang, Zhichao Shi, Xuhui Jiang, Chengjin Xu, Jia Li, Jian Guo

AI总结:

提出Bayesian-Agent框架,将可复用技能视为假设,通过后验分布指导技能演化(如修补、拆分、压缩等),在多个基准上显著提升性能,表明Agent技能演化应视为后验引导的框架优化。

摘要:

LLM agent越来越依赖外部推理条件:提示、工具、记忆、SOP、技能和框架反馈。这些资产可以在不改变模型权重的情况下改进任务执行,但通常通过启发式反思或重用观察到的成功和失败来修订,仿佛计数本身是可靠的信念。我们引入了\textbf{Bayesian-Agent},一个原生且跨框架的框架,将可重用技能和SOP视为关于冻结模型在特定提示、上下文和框架环境下是否会成功的假设。Bayesian-Agent记录经过验证的轨迹证据,维护每个技能的特征条件分类后验,并将后验状态映射为可检查的动作,如修补、拆分、压缩、退役和探索。面向模型的提示获得可执行的防护栏和故障模式修补,而后验摘要仍可用于审计。使用\texttt{deepseek-v4-flash},增量修复将SOP-Bench从80%提升到95%,Lifelong AgentBench从90%提升到100%,RealFin-Bench从45%提升到65%。我们进一步评估了Bayesian-Agent的原生后端以及可选的GenericAgent、mini-swe-agent和Claude Code后端。结果包括正面、负面、饱和和案例研究设置,表明Agent技能演化最好被视为后验引导的框架优化,而非未校准的提示积累。源代码可在https://github.com/DataArcTech/Bayesian-Agent获取。

英文摘要:

LLM agents increasingly rely on prompts, tools, memory, SOPs, skills, and harness feedback, yet current self-evolution pipelines often update these assets through heuristic reflection or raw success counts. Such updates are brittle when trajectories are sparse, expensive, and context-dependent. We introduce Bayesian-Agent, a native and cross-harness framework that treats reusable agent skills as Bayesian evidence objects. Bayesian-Agent records verified trajectories, maintains posterior beliefs over skill reliability and failure modes, and turns those beliefs into auditable skill actions and model-facing guardrails. This posterior view provides a finite-sample alternative to raw empirical-rate skill updates and frames prompt, context, and harness engineering as inference over the external decision environment. On RealFin-Bench, Bayesian skill evolution matches or improves the raw empirical-rate control and yields large gains on native runs. In the incremental mode, incremental repair improves SOP-Bench from 80\% to 95\%, Lifelong AgentBench from 90\% to 100\%, and RealFin-Bench from 45\% to 65\%. Backend and model-scaling ablations further show that posterior-guided repair can operate across BA native, MiniSWEAgent, and Claude Code, provided the harness produces verifiable task artifacts. The source code is available at https://github.com/DataArcTech/Bayesian-Agent.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑