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

SkillRouter:大规模LLM代理中的技能路由

SkillRouter: Skill Routing for LLM Agents at Scale

Alibaba Group(阿里巴巴集团)

YanZhao Zheng, ZhenTao Zhang, Chao Ma, YuanQiang Yu, JiHuai Zhu, Yong Wu, Tianze Xu, Baohua Dong, Hangcheng Zhu, Ruohui Huang, Gang Yu

AI总结:

本文提出SkillRouter,通过全文本检索和重排序提升大规模LLM代理的技能路由性能,实验显示隐藏技能体导致路由准确率下降31-44个百分点,SkillRouter在基准测试中达到74.0%的Hit@1性能。

摘要:

可重用的技能使LLM代理能够将任务特定的程序、工具特性及执行指导封装成模块化组件。随着技能生态系统扩展到数万条目,推理时暴露每个技能变得不可行,从而产生技能路由问题:给定用户任务,系统必须在下游规划或执行前识别相关技能。现有代理堆栈通常依赖逐步披露,仅暴露技能名称和描述而隐藏完整实现体。我们在此基础上评估了这一设计选择,在一个基于SkillsBench的基准测试中,约有8万候选技能,针对实际重要的大规模技能注册表设置。在稀疏、密集和重排序基线中,隐藏技能体导致路由准确率下降31-44个百分点,显示完整技能文本是该设置中的关键路由信号而非次要元数据优化。受此发现启发,我们提出了SkillRouter,一个紧凑的12亿参数全文本检索和重排序流水线。SkillRouter在我们的基准测试中达到74.0%的Hit@1性能——在我们评估的基线中最强的平均Top-1路由性能——同时使用比最强基线流水线少13倍的参数,并运行速度快5.8倍。排名收益进一步泛化到一个独立构建的补充基准。在四个编码代理的互补端到端研究中,路由收益转移到任务成功度的提升,对于更强大的代理,收益更大。

英文摘要:

Reusable skills let LLM agents package task-specific procedures, tool affordances, and execution guidance into modular building blocks. As skill ecosystems grow to tens of thousands of entries, exposing every skill at inference time becomes infeasible. This creates a skill-routing problem: given a user task, the system must identify relevant skills before downstream planning or execution. Existing agent stacks often rely on progressive disclosure, exposing only skill names and descriptions while hiding the full implementation body. We examine this design choice on a SkillsBench-derived benchmark with approximately 80K candidate skills, targeting the practically important setting of large skill registries with heavy overlap. Across representative dense and reranking baselines on this setting, hiding the skill body causes a 37-44 percentage point drop in routing accuracy. Stronger controls show that the missing signal is body-resident rather than a simple length artifact: body-distilled descriptions recover part of the gap, but remain 7-21 points below direct all-field routing, while a metadata-only encoder trained with the same data remains 14.0 points below its all-field counterpart. Motivated by this finding, we present Skillrouter, a compact 1.2B body-aware retrieve-and-rerank pipeline. Skillrouter achieves 74.0% Hit@1 on our benchmark -- the strongest average top-1 routing performance among the baselines we evaluate -- while using 13$\times$ fewer parameters and running 5.8$\times$ faster than the strongest base pipeline. The ranking gains further generalize to a supplementary benchmark independently constructed from three skill sources. In a complementary end-to-end study across four coding agents, routing gains transfer to improved task success, with larger gains for more capable agents.

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

↑