从技能文本到技能结构:面向智能体技能的调度-结构-逻辑表示
From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skills
AI总结:
本文提出调度-结构-逻辑(SSL)表示法,通过解耦技能调度信号、执行结构和逻辑证据,提升智能体技能的可搜索性和可审查性,实验表明其在技能发现和风险评估任务中优于纯文本基线。
摘要:
LLM智能体日益依赖可重用的技能,这些能力包结合了指令、控制流、约束和工具调用。然而,当前大多数智能体系统中,技能仍以文本密集型 artifacts 表示,包括 SKILL{.}md 风格文档和结构化记录,其机器可利用的证据大多仍嵌套在自然语言描述中。这给以技能为中心的智能体系统带来了挑战:管理技能集合和使用技能支持智能体,都要求对调用接口、执行结构和具体副作用进行推理,这些往往纠缠在单一文本表层中。因此,显式表示技能知识可能有助于使这些 artifacts 更容易被机器获取和利用。基于 Memory Organization Packets、Script Theory 和 Conceptual Dependency 等经典语言知识表示理论,我们引入了迄今为止首次针对智能体技能 artifacts 的结构化表示,即调度-结构-逻辑(SSL)表示。我们通过基于 LLM 的归一化器实例化 SSL,并在两个任务(技能发现和风险评估)的技能语料库上进行评估,结果优于纯文本基线:在技能发现任务中,SSL 将 MRR 从 0.573 提高到 0.707;在风险评估任务中,它将宏 F1 从 0.744 提高到 0.787。这些发现表明,显式、源导向的结构使智能体技能更容易被搜索和审查。它们也表明 SSL 应被视为迈向更可检查、可重用和操作上可行的技能表示的实用步骤,而非最终标准或端到端机制。
英文摘要:
LLM agents increasingly rely on reusable skills, capability packages that combine instructions, control flow, constraints, and tool calls. In most current agent systems, however, skills are still represented by text-heavy artifacts, including SKILL{.}md-style documents and structured records whose machine-usable evidence remains embedded largely in natural-language descriptions. This poses a challenge for skill-centered agent systems: managing skill collections and using skills to support agent both require reasoning over invocation interfaces, execution structure, and concrete side effects that are often entangled in a single textual surface. An explicit representation of skill knowledge may therefore help make these artifacts easier for machines to acquire and leverage. Drawing on Memory Organization Packets, Script Theory, and Conceptual Dependency from Schank and Abelson's classical work on linguistic knowledge representation, we introduce what is, to our knowledge, the first structured representation for agent skill artifacts that disentangles skill-level scheduling signals, scene-level execution structure, and logic-level action and resource-use evidence: the Scheduling-Structural-Logical (SSL) representation. We instantiate SSL with an LLM-based normalizer and evaluate it on a corpus of skills in two tasks, Skill Discovery and Risk Assessment, and superiorly outperform the text-only baselines: in Skill Discovery, SSL improves MRR from 0.573 to 0.707; in Risk Assessment, it improves macro F1 from 0.744 to 0.787. These findings reveal that explicit, source-grounded structure makes agent skills easier to search and review. They also suggest that SSL is best understood as a practical step toward more inspectable, reusable, and operationally actionable skill representations for agent systems, rather than as a finished standard or an end-to-end mechanism for managing and using skills.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。