面向智能体强化学习的可追踪技能库生命周期管理
Trackable Skill Library Lifecycle Management for Agentic Reinforcement Learning
AI总结:
针对现有技能库无法识别技能真实贡献的问题,提出TrackRL框架,通过在线随机对照实验隔离技能贡献,实现技能库全生命周期管理,且在评估中优于现有基线。
摘要:
技能增强型智能体强化学习(RL)已成为提升大语言模型(LLM)智能体在长视野任务中表现的有效方法。尽管取得了这一进展,但随着策略的演化,单个技能可能遵循不同的轨迹:部分技能在模型内化其能力后变得冗余,部分作为外部支撑保持价值,还有部分则变得有害。然而,现有的技能库系统无法识别每个技能的真实贡献,原因在于共同检索技能间的搭便车问题、跨任务的混淆困难以及缺乏技能特定的反事实证据,这阻碍了可靠的技能生命周期管理。我们提出TrackRL,一种由技能追踪驱动技能库全生命周期管理的智能体RL框架。具体而言,在每个GRPO组内,我们将分组采样转化为在线随机对照实验。独立的随机注入以及同一任务内的组内对比可隔离每个技能的真实贡献,而可靠性加权聚合则跨组积累证据。随着证据的积累,我们持续追踪技能效用(衡量技能作为外部支撑的因果贡献)和模型掌握度(反映对应能力被内化的程度)。据此,我们将技能生命周期管理表述为证据门控的状态转换过程,该过程管控每个技能从生成、准入,到受保护的孵化,再到保留、退休或移除的全流程,同时软容量边界控制库的增长。实验表明,TrackRL在技能库辅助评估和无技能评估中均优于近期的技能增强型RL基线,进一步分析揭示了策略学习期间技能价值的变化,以及证据驱动的状态转换如何塑造技能库的演化。我们的代码可在该httpsURL获取。
英文摘要:
Skill-augmented agentic RL has emerged as an effective approach to improving LLM agents on long-horizon tasks. Despite this progress, individual skills may follow distinct trajectories as the policy evolves, with some becoming redundant after the model internalizes their capabilities, others remaining valuable as external scaffolding, and still others turning harmful. However, existing skill library systems fail to identify each skill's true contribution due to free-riding among co-retrieved skills, difficulty confounding across tasks, and the absence of skill-specific counterfactual evidence, which prevents reliable skill lifecycle management. We propose TrackRL, an agentic RL framework where skill tracking drives skill library full lifecycle management. Specifically, within each GRPO group, we turn grouped sampling into online randomized controlled experiments. Independent random injection and within-group contrasts on the same task isolate each skill's true contribution, and reliability-weighted aggregation accumulates evidence across groups. As evidence accumulates, we continuously track skill utility, which measures the skill's causal contribution as external scaffolding, and model mastery, which reflects how far the corresponding capability has been internalized. Along this line, we formulate skill lifecycle management as an evidence-gated state-transition process that governs each skill from generation and admission through protected incubation to retention, retirement, or removal, while a soft capacity bound controls library growth. Experiments show that TrackRL outperforms recent skill-augmented RL baselines in both library-assisted and skill-free evaluation, with further analyses revealing how skill value shifts during policy learning and how evidence-driven state transitions shape skill library evolution. Our code is available at https://github.com/xizhu1022/TrackRL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。