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

SkillsInjector: 面向LLM智能体的动态技能上下文构建

SkillsInjector: Dynamic Skill Context Construction for LLM Agents

Nanjing University(南京大学);Shanghai AI Lab(上海人工智能实验室)

Yanchao Li, Wanhao Liu, Ben Gao, Jiaqing Xie, Zhehong Ai, Na Zou, Yuqiang Li, Tianfan Fu

AI总结:

针对静态技能注入导致性能下降的问题,提出SkillsInjector两阶段自适应方法,通过上下文规划器学习技能偏好并自适应预算,结合集合感知渲染器优化描述呈现,在三个基准上分别提升3.9、6.1和7.3个百分点。

摘要:

LLM智能体现在依赖不断增长的技能库来处理复杂任务。然而,注入更多技能并不总能提高任务完成度,甚至可能降低性能。现有方法仍将技能注入视为静态步骤,使用固定标准选择技能,预先设定预算,并保持描述不变。我们认为这种静态处理会削弱技能的效用,因为暴露哪些技能、包含多少技能以及如何呈现它们都会影响下游性能。我们提出SkillsInjector,一种两阶段自适应方法,共同解决这些决策。首先,上下文规划器学习基于执行的技能偏好,并为每个任务自适应地确定技能数量。然后,集合感知渲染器根据共注入的邻居定制所选描述的呈现方式。在tau2-bench、SkillsBench和ALFWorld上,SkillsInjector取得了最高分数,分别比最强基线提高了3.9、6.1和7.3个百分点。消融研究表明,技能选择、自适应预算和集合感知渲染各自对性能提升有贡献。这些结果表明,技能增强型智能体受益于优化注入的上下文本身。代码将在发表后发布。

英文摘要:

LLM agents now draw on growing skill libraries to handle complex tasks. However, injecting more skills does not always improve task completion and can even degrade it. Existing methods still treat skill injection as a static step, selecting skills with fixed criteria, fixing the budget in advance, and leaving descriptions unchanged. We argue that this static treatment can undermine the utility of skills, because which skills are exposed, how many are included, and how they are presented all affect downstream performance. We propose SkillsInjector, a two-stage adaptive method that jointly addresses these decisions. First, a context planner learns execution-grounded skill preferences and admits an adaptive number of skills for each task. A set-aware renderer then tailors how selected descriptions are presented relative to their co-injected neighbors. Across tau2-bench, SkillsBench, and ALFWorld, SkillsInjector achieves the highest score, improving over the strongest baseline by 3.9, 6.1, and 7.3 percentage points, respectively. Ablation studies show that skill selection, adaptive budgeting, and set-aware rendering each contribute to the gain. These results show that skill-augmented agents benefit from optimizing the injected context itself. Code will be released upon publication

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

↑