arXiv:2605.10114cs.CL2026-05被引 7

让大模型任务执行更高效:用技能图谱编译上下文,提升准确率11.7%。

SkillRAE: Agent Skill-Based Context Compilation for Retrieval-Augmented Execution

论文配图:SkillRAE: Agent Skill-Based Context Compilation for Retrieval-Augmented Execution
图 1 · 摘自论文原文
  • 构建多层级技能图谱,关联技能与可复用单元
  • 在线阶段实现带证据导出的技能排序检索与紧凑编译
  • 显著提升任务执行准确率,适合复杂任务自动化场景

基于大语言模型的智能体(如OpenClaw)在处理文档密集型工作流和数据密集型分析等任务时,越来越依赖可复用的技能库。随着技能库规模增长,检索增强执行(RAE)逐渐成为关键范式:先检索外部技能与知识,再编译上下文,最后执行任务。现有研究主要聚焦于优化技能检索与任务执行,却忽视了如何将选定的技能证据组织成紧凑、可信且可直接使用的上下文。为此,本文提出SkillRAE,一种两阶段的RAE方法,专注于技能驱动的上下文编译。离线阶段构建包含技能社区、技能及可复用子单元的多层级技能图谱,以捕捉其关系;在线阶段先进行基于子单元证据导出的技能排序检索,再通过救赎感知的紧凑编译恢复关键信息。该流程将粗粒度技能集转化为任务特定、紧凑、可执行的上下文。在两个公开基准上的实验表明,SkillRAE相较基线有显著提升,例如在SkillsBench上比当前最优方法提升11.7%。消融实验进一步证明,上下文编译是核心贡献,而非简单提示拼接。

原文摘要 · Abstract (English)

Large Language Model (LLM)-based agents (e.g., OpenClaw) increasingly rely on reusable skill libraries to solve artifact-rich tasks such as document-centric workflows and data-intensive analysis. As these libraries grow, a few works have attempted to study the Retrieval-Augmented Execution (RAE), which often first retrieves some external skills and other knowledge, then compiles the context using retrieved skills, and finally executes the task. Existing works mainly focus on optimizing skill retrieval and task execution, and they pay little attention to how to effectively organize the selected skill evidence in a form that is compact, grounded, and immediately usable for the downstream executors to complete tasks. To fill this gap, we propose SkillRAE, a two-stage RAE approach focusing on skill-based context compilation, which consists of the offline and online stages. Specifically, in the offline indexing stage, it builds a multi-level skill graph over skill communities, skills, and reusable subunits, for capturing their relationships. In the online retrieval stage, it first performs skill-ranked retrieval with selected-subunit evidence export in the graph, and then applies rescue-aware compact compilation to recover the key evidence. Together, these components compile a coarse-ranked skill set into a task-specific context that is compact, grounded, and immediately usable. Experiments on two public benchmarks show that SkillRAE achieves a significant improvement over baselines for RAE. For example, on SkillsBench, it achieves an improvement of 11.7% over the SOTA method. Ablation studies further show that our context compilation is crucial, instead of a mere prompt addition.

大模型代理检索增强技能图谱

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。