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

CODESKILL:学习自进化技能的编码智能体

CODESKILL: Learning Self-Evolving Skills for Coding Agents

Nanyang Technological University(南洋理工大学);Zhejiang University(浙江大学)

Yanzhou Li, Yiran Zhang, Xiaoyu Zhang, Xiaoxia Liu, Yang Liu

AI总结:

提出CODESKILL框架,通过强化学习从编码智能体轨迹中提取多粒度程序性技能并维护技能库,提升下游任务解决能力。

摘要:

编码智能体在解决软件工程任务时产生丰富的轨迹。为了实现智能体自我进化,这些轨迹可以提炼为可重用的程序性技能,以紧凑的方式编码经验来指导未来行为。然而,现有的技能构建和维护方法通常依赖固定提示和启发式更新规则,不清楚如何选择、抽象和维护知识以最好地服务下游智能体。我们提出CODESKILL,一个基于LLM的框架,将技能提取和技能库维护重新表述为可学习的管理策略。CODESKILL从编码智能体轨迹中提取多粒度程序性技能,用新经验进化技能,并维护一个紧凑的技能库用于未来任务解决。我们使用强化学习训练CODESKILL,采用混合奖励,将基于评分标准的密集技能质量反馈与来自冻结下游智能体的稀疏可验证执行反馈相结合。在EnvBench、SWE-Bench Verified和Terminal-Bench 2上的实验表明,CODESKILL相比无技能基线平均通过率提高9.69,相比最强的基于提示或记忆基线提高4.01,同时在迭代构建过程中将技能库大小维持在稳定水平。

英文摘要:

Coding agents produce rich trajectories while solving software-engineering tasks. To enable agent self-evolution, these trajectories can be distilled into reusable procedural skills that compactly encode experience to guide future behavior. However, existing skill construction and maintenance methods often rely on fixed prompts and heuristic update rules, leaving it unclear how knowledge should be selected, abstracted, and maintained to best serve downstream agents. We propose CODESKILL, an LLM-based framework that reformulates skill extraction and skill-bank maintenance as a learnable management policy. CODESKILL extracts multi-granularity procedural skills from coding-agent trajectories, evolves skills with new experience, and maintains a compact skill bank for future task solving. We train CODESKILL with reinforcement learning, using a hybrid reward that combines dense rubric-based skill-quality feedback with sparse verifiable execution feedback from the frozen downstream agent. Experiments on EnvBench, SWE-Bench Verified, and Terminal-Bench 2 show that CODESKILL improves average pass rate by 11.03 over the no-skill baseline and by 5.10 over the strongest prompt-based or memory baseline, while maintaining a compact skill bank.

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

↑