SkillForge:用于项目特定问题解决的自蒸馏代理

·

研究论文 · 2026/08/20

基于大型语言模型的智能体在自动化软件问题解决方面表现出色,但常因缺乏项目特定知识而难以解决特定仓库中的问题。现有自我进化方法从仓库历史或在线修复轨迹中获取此类知识,但要么依赖历史问题解决信号,要么产生高昂的逐问题测试时探索成本。本文提出SkillForge,一种自我蒸馏框架,主动从仓库本身获取项目特定知识。SkillForge通过重新实现仓库中测试覆盖的核心功能来合成项目特定问题,而非等待真实问题暴露知识缺口。通过解决这些合成问题,SkillForge将可复用的项目特定知识提炼为实体锚定的技能,并将其与相关仓库实体关联,以用于未来问题解决。使用开源和闭源模型的大量实验表明,SkillForge在强基线上持续提升了问题解决性能。这些结果证明,在解决真实问题前主动获取项目特定知识能显著改善下游软件问题解决。

该论文提出了一种新颖的自我蒸馏框架SkillForge,通过合成问题主动获取项目特定知识,解决了现有方法依赖历史数据或高探索成本的问题。实验证明其有效性,对自动化软件问题解决领域具有重要价值,值得阅读以了解其方法设计和实验验证。

Large language model (LLM) based agents have demonstrated remarkable proficiency in automated software issue resolution, yet they often struggle to resolve issues in a specific repository because they lack project-specific knowledge. Existing self-evolving approaches acquire such knowledge from repository history or online repair trajectories, but they either depend on available historical issue-resolution signals or incur substantial per-issue test-time exploration cost. In this paper, we propose SkillForge, a self-distillation framework that proactively acquires project-specific knowledge from the repository itself. Instead of waiting for real issues to expose project-specific knowledge gaps, SkillForge synthesizes project-specific issues by re-implementing test-covered core functionalities of the repository. By resolving these synthetic issues, SkillForge distills reusable project-specific knowledge into entity-grounded skills and associates them with relevant repository entities for future issue resolution. Extensive experiments using both open-source and closed-source models show that SkillForge consistently improves issue resolution performance over strong baselines. These results demonstrate that proactively acquiring project-specific knowledge before solving real issues substantially improves downstream software issue resolution.

阅读原文

参与讨论