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

路径作为策略:基于日志提炼的门控行为树作为可验证的外部化策略,用于安全、鲁棒且高效的智能体

Traversal-as-Policy: Log-Distilled Gated Behavior Trees as Externalized, Verifiable Policies for Safe, Robust, and Efficient Agents

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Worcester Polytechnic Institute(沃斯特理工学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta

Peiran Li, Jiashuo Sun, Fangzhou Lin, Shuo Xing, Tianfu Fu, Suofei Feng, Chaoqun Ni, Zhengzhong Tu

AI总结:

通过日志提炼生成门控行为树作为外部化策略,提升智能体在安全、鲁棒性和效率方面的表现。

摘要:

自主LLM智能体失败的原因在于长期策略仍隐含在模型权重和转录文本中,而安全性是在事后进行补救。我们提出路径作为策略:将隔离的OpenHands执行日志提炼成一个可执行的门控行为树(GBT),并将树遍历——而不是无约束生成——作为任务在覆盖范围内时的控制策略。每个节点编码了一个状态条件化的动作宏,该宏从成功的轨迹中挖掘并合并检查;被不安全轨迹所涉及的宏附带确定性的预执行门控,基于结构化工具上下文和受限制的历史,通过经验引导的单调性更新,使得之前拒绝的不安全上下文无法再次被接受。在运行时,一个轻量级的遍历器匹配基础模型的意图与子宏,按全局和节点局部门控逐个执行宏,当受阻时执行风险意识的最短路径恢复到可行的成功叶子;所访问的路径形成一个紧凑的脊柱内存,取代转录文本回放。在统一的OpenHands沙盒上,对15余种软件、网页、推理和安全/安全基准进行评估,GBT在提高成功率的同时将违规行为驱动至零并减少成本。在SWE-bench Verified(协议A,500个问题)上,GBT-SE将成功率从34.6%提升至73.6%,将违规率从2.8%降至0.2%,并将token/字符使用量从208k/820k降至126k/490k;使用相同的提炼树,8B执行器在SWE-bench Verified上成功率超过一倍(14.0%58.8%),在WebArena上也提升至9.1%37.3%。

英文摘要:

Autonomous LLM agents fail because long-horizon policy remains implicit in model weights and transcripts, while safety is retrofitted post hoc. We propose Traversal-as-Policy: distill sandboxed OpenHands execution logs into a single executable Gated Behavior Tree (GBT) and treat tree traversal -- rather than unconstrained generation -- as the control policy whenever a task is in coverage. Each node encodes a state-conditioned action macro mined and merge-checked from successful trajectories; macros implicated by unsafe traces attach deterministic pre-execution gates over structured tool context and bounded history, updated under experience-grounded monotonicity so previously rejected unsafe contexts cannot be re-admitted. At runtime, a lightweight traverser matches the base model's intent to child macros, executes one macro at a time under global and node-local gating, and when stalled performs risk-aware shortest-path recovery to a feasible success leaf; the visited path forms a compact spine memory that replaces transcript replay. Evaluated in a unified OpenHands sandbox on 15+ software, web, reasoning, and safety/security benchmarks, GBT improves success while driving violations toward zero and reducing cost. On SWE-bench Verified (Protocol A, 500 issues), GBT-SE raises success from 34.6% to 73.6%, reduces violations from 2.8% to 0.2%, and cuts token/character usage from 208k/820k to 126k/490k; with the same distilled tree, 8B executors more than double success on SWE-bench Verified (14.0%58.8%) and WebArena (9.1%37.3%).

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

↑