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

技能图谱:面向大规模智能体技能的依赖感知结构检索

Graph-of-Skills: Dependency-Aware Structural Retrieval for Massive Agent Skills

University of Pennsylvania(宾夕法尼亚大学);University of Maryland(马里兰大学);Brown University(布朗大学);Carnegie Mellon University(卡内基梅隆大学);Lehigh University(莱斯大学)

Dawei Liu, Zongxia Li, Hongyang Du, Xiyang Wu, Shihang Gui, Yongbei Kuang, Lichao Sun

AI总结:

提出技能图谱(GoS),一种推理时的结构检索层,通过构建可执行技能图并利用混合语义-词汇种子、反向感知个性化PageRank和上下文预算水合,实现依赖感知的技能束检索,在SkillsBench和ALFWorld上显著提升奖励并节省令牌。

摘要:

现代LLM智能体越来越依赖可复用技能,当与个人应用、网页浏览器等接口交互时,技能库可扩展至数千个技能。扩展到更大的技能集带来了两个关键挑战。首先,加载完整技能集会饱和上下文窗口,推高令牌成本、幻觉和延迟。其次,语义检索会找到主题相关的技能,但遗漏其上下游技能的先决条件链,造成先决条件缺口,使检索到的技能束执行不完整。在本文中,我们提出技能图谱(GoS),一种用于大型技能库的推理时结构检索层。GoS离线从技能包构建可执行技能图,然后在推理时通过混合语义-词汇种子、反向感知个性化PageRank和上下文预算水合,检索一个有界、依赖感知的技能束。在SkillsBench和ALFWorld上,GoS在三个模型系列(Claude Sonnet 4.5、MiniMax M2.7和GPT-5.2 Codex)中持续带来显著的奖励提升和令牌节省。在SkillsBench上,使用GPT-5.2 Codex时,GoS相比原始完整技能加载基线实现了25.55%的峰值奖励提升,同时总令牌减少56.72%。消融实验证实了在200到2000个技能库中的这一模式。

英文摘要:

As LLM agents act across personal applications, web browsers, and other interfaces, their reusable skill libraries can scale to thousands of skills. This scale introduces two challenges. First, loading the full library saturates the context window, driving up token costs, hallucination, and latency. Second, semantic retrieval surfaces topically relevant skills but can miss upstream and downstream prerequisite skills, creating a prerequisite gap that leaves the retrieved bundle insufficient for execution. We present Graph-of-Skills (GoS), an inference-time structural retrieval layer for large skill libraries. GoS constructs an executable skill graph offline from skill packages, then retrieves a bounded, dependency-aware bundle through hybrid semantic-lexical seeding, reverse-aware Personalized PageRank, and context-budgeted hydration. Across SkillsBench and ALFWorld, with three model families (Claude Sonnet 4.5, MiniMax M2.7, and GPT-5.2 Codex), GoS attains the highest average reward in all six model-benchmark blocks, at a fraction of the token cost of loading the full library. On SkillsBench with GPT-5.2 Codex it raises average reward by 7.0 absolute points over full skill loading, a 25.6% relative gain, while cutting total tokens by 56.7%. Ablations isolate the mechanism: replacing reverse traversal with forward propagation costs 9.1 reward points, a larger loss than removing the graph altogether. The gain thus comes from traversing dependencies backwards, not from graph diffusion as such. A budget-matched retrieval study holding seeding, reranking, hydration, and context budget fixed reproduces the same ordering, with dependency-pair co-recovery falling from 0.654 to 0.362. Code is available at https://github.com/davidliuk/graph-of-skills

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

↑