arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.06893cs.AI
收藏

工作流到技能:通过路由-工作流-语义-附件分解创建技能

Workflow-to-Skill: Skill Creation via Routing-Workflow-Semantics-Attachments Decomposition

Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, School of Cyber Science and Engineering, Wuhan University(航天信息安全部门与可信计算重点实验室,教育部,网络安全科学与工程学院,武汉大学);Nanchang University(南昌大学)

Yuyang Zhang, Xinyuan Han, Xudong Jiang, Run Wang

AI总结:

提出RWSA中间表示和W2S框架,从异构交互证据中自动构建技能,通过分解工作流结构、执行语义和运行时附件,提升行为重放一致性10.5%。

摘要:

大型语言模型代理越来越依赖技能来编码程序性知识,但高质量技能的手工编写成本高昂。本文研究从异构交互证据(包括演示、代理轨迹、工具痕迹和执行日志)自动构建技能。我们认为,从痕迹到技能的构建并非简单的摘要任务,因为痕迹是碎片化、冗余的,并且可能遗漏罕见但安全关键的行为。为此,我们引入RWSA,一种面向工作流的中间表示,将技能分解为工作流结构、执行语义和运行时附件,捕获任务分解、控制流、验证、安全、回滚和状态管理。基于RWSA,我们提出W2S框架,该框架分割痕迹、诱导局部技能草稿、对齐共享结构、协调分支、压缩冗余,同时保留证据和置信度注释。在70个技能上的实验表明,W2S相比基于摘要和提示的基线,行为重放一致性提高了10.5%,凸显了将痕迹视为可执行运行时规范而非可压缩文本的必要性。

英文摘要:

Large language model agents increasingly rely on Skills to encode procedural knowledge, yet high-quality Skills remain costly to hand-write. This paper studies automatic Skill construction from heterogeneous interaction evidence, including demonstrations, agent trajectories, tool traces, and execution logs. We argue that trace-to-skill construction is not simple summarization tasks, because traces are fragmented, redundant, and may miss rare but safety-critical behaviors. To address this, we introduce RWSA, a workflow-oriented intermediate representation that decomposes Skills into Workflow structure, execution Semantics, and runtime Attachments, capturing task decomposition, control flow, verification, safety, rollback, and state management. Building on RWSA, we propose W2S, a framework that segments traces, induces local Skill drafts, aligns shared structures, reconciles branches, and compresses redundancy while preserving evidence and confidence annotations. Experiments on 70 Skills show that W2S improves behavioral replay consistency by 10.5% over summarization- and prompting-based baselines, highlighting the need to treat traces as executable runtime specifications rather than compressible text.

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

↑