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

从SWE-ZERO到SWE-HERO:从无执行到基于执行的微调方法用于软件工程代理

From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agents

NVIDIA(英伟达)

Nikolai Ludwig, Wasi Uddin Ahmad, Somshubra Majumdar, Boris Ginsburg

AI总结:

本文提出一种两阶段SFT方法,通过知识蒸馏实现SWE-bench的最佳性能,通过进化精炼策略提升代码语义和工程流程。

摘要:

我们介绍了SWE-ZERO到SWE-HERO,一种两阶段SFT配方,通过知识蒸馏实现SWE-bench的最佳性能。我们的流程用进化精炼策略替代资源密集型依赖:(1)SWE-ZERO利用大规模无执行轨迹掌握代码语义和仓库级推理;(2)SWE-HERO应用针对性的执行支持精炼,将这些语义直觉转化为严谨的工程流程。我们的实验证明了开源模型的新的基准。我们发布了一个由Qwen3-Coder-480B蒸馏得到的包含30万SWE-ZERO和1.3万SWE-HERO轨迹的数据集,以及基于Qwen2.5-Coder系列的代理套件。值得注意的是,SWE-HERO-32B在SWE-bench Verified上实现了62.2%的解决率。此外,尽管仅在Python上训练,我们的代理在SWE-bench Multilingual上表现出鲁棒的零样本迁移能力,达到44.1%,证实了该范式在不同语言上的泛化能力。

英文摘要:

We introduce SWE-ZERO to SWE-HERO, a two-stage SFT recipe that achieves state-of-the-art results on SWE-bench by distilling open-weight frontier LLMs. Our pipeline replaces resource-heavy dependencies with an evolutionary refinement strategy: (1) SWE-ZERO utilizes large-scale, execution-free trajectories to master code semantics and repository-level reasoning, and (2) SWE-HERO applies targeted, execution-backed refinement to transition these semantic intuitions into rigorous engineering workflows. Our empirical results set a new benchmark for open-source models of comparable size. We release a dataset of 300k SWE-ZERO and 13k SWE-HERO trajectories distilled from Qwen3-Coder-480B, alongside a suite of agents based on the Qwen2.5-Coder series. Notably, SWE-HERO-32B achieves a 62.2% resolution rate on SWE-bench Verified. Furthermore, despite being trained exclusively on Python, our agents demonstrate robust zero-shot transferability on SWE-bench Multilingual, reaching 44.1% and confirming the paradigm's generalizability across diverse languages.

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

↑