arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.00544cs.AIcs.CL
收藏

Skill++:通过感知路由的技能优化实现终身智能体

Skill++: Towards Lifelong Agents via Routing-Aware Skill Refinement

University of Illinois Chicago(伊利诺伊大学芝加哥分校);Trip.com Group(携程集团);Rutgers University(罗格斯大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);McGill University(麦吉尔大学);Recursive

Hanrong Zhang, Minghao Liang, Jiawei Wu, Yankai Chen, Shicheng Fan, Zhiwei Liu, Enze Ma, Junwei Yuan, Tianyi Wang, Dehai Min, Kening Zheng, Xue Liu, Philip S. Yu

AI总结:

Skill++仅重写新技能的名称和描述,无需路由重训练或标注数据,解决终身技能路由的类增量持续学习问题,在多基准和多LLM路由下性能优于现有方法,且效果可迁移至Codex CLI智能体工具链。

摘要:

大型语言模型(LLM)智能体通过技能扩展能力,每个技能包含名称、描述和执行体。在渐进式披露机制下,LLM路由仅依据名称和描述选择技能,且仅加载选中技能的执行体。随着用户和智能体添加新技能,技能库持续扩展。由于路由依赖这些元数据,相似的新技能可能会取代早期技能,即便早期技能和路由本身未发生改变,也会导致之前正确的路由失效。对于公共技能,其描述可能与执行体不匹配,这会加剧这种路由干扰问题。我们将该问题定义为终身技能路由,属于类增量持续学习问题。解决方案需确保早期技能仍可被选择,同时不抑制新技能。现有方法存在不足:持续重训练路由易引发灾难性遗忘,而重写方法要么忽略相似技能,要么需要针对每个技能的反馈。因此,我们提出Skill++,该方法仅重写每个新传入技能的名称和描述,无需对路由进行重训练,也无需标注数据。新描述需说明执行体支持的内容、该技能与最接近的前序技能的差异,以及排除的相关工作。当技能库在十个会话中扩展至731个技能时,Skill++能为76.3%的查询选择所有所需技能,而原始元数据仅能达到36.4%。在三个基准测试和五种LLM路由设置下,Skill++的性能优于所有对比方法,且其提升效果可迁移至Codex CLI智能体工具链。

英文摘要:

Large language model (LLM) agents extend their capabilities with skills, each with a name, a description, and a body. Under progressive disclosure, an LLM router selects skills by name and description alone and loads only the selected bodies. Skill libraries grow continually as users and agents add new skills. Because the router relies on this metadata, a similar new skill can displace an earlier one, breaking previously correct routing even though the earlier skill and the router are unchanged. This routing interference is aggravated for public skills, whose descriptions may not match their bodies. We formulate the problem as lifelong skill routing, a class-incremental continual learning problem. A solution must keep earlier skills selectable without suppressing new ones. Existing approaches fall short, since continually retraining the router risks catastrophic forgetting and rewriting methods either ignore similar skills or require per-skill feedback. We therefore propose Skill++, which rewrites only the name and description of each incoming skill, without router training or labeled data. The new description states what the body supports, how the skill differs from its closest predecessor, and what related work it excludes. As a library grows to 731 skills over ten sessions, Skill++ selects all required skills for 76.3% of queries, versus 36.4% under the original metadata. Across three benchmarks and five LLM routers, it outperforms all compared approaches, and its gains carry over to the Codex CLI agent harness.

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

↑