From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agents
Organizations: NVIDIA Santa Clara, CA 95051, USA
Abstract
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.
Figures & tables
| Model | Execution | SWE-bench (V) | SWE-bench (M) |
|---|---|---|---|
| MiniMax-M2.5 | 69.5 | 57.2 | |
| 80.2 | 74.1 | ||
| [0.5pt/2pt] Qwen3-Coder-Next | 56.9 | 50.7 | |
| 71.3 | 64.3 | ||
| [0.5pt/2pt] Qwen3-Coder-480B-A35B-Instruct | 59.4 | 44.3 | |
| 69.6 | 54.7 |
| Model | Scaffold | Training | Resolve Rate (%) |
| Parameters 7B | |||
| SWE-Gym-7B ( Pan et al., 2025 ) | OpenHands | SFT | 10.6 |
| R2E-Gym-7B ( Jain et al., 2025 ) | R2E-Gym | SFT | 19.0 |
| SWE-Mirror-LM-7B ( Wang et al., 2025a ) | MOpenHands | SFT | 22.8 |
| SWE-Dev-7B ( Wang et al., 2025a ) | OpenHands | RL | 23.4 |
| SERA-8B ( Shen et al., 2026 ) | SWE-agent | SFT | 31.7 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Verifier | Pass@1 (avg of 32) | Pass@32 | Best@32 |
|---|---|---|---|---|
| SWE-Hero-7B | OpenHands-32B-Verifier | 50.0 | 76.0 | 52.9 |
| R2EGym-Verifier | 55.9 | |||
| SWE-Lego-Verifier-8B | 57.9 | |||
| SWE-Lego-Verifier-30B-A3B | 57.9 | |||
| SWE-Hero-14B | OpenHands-32B-Verifier | 57.4 | 78.4 | 62.0 |
| R2EGym-Verifier | 62.6 |
| Model | Scaffold | Training | Execution | Resolve Rate (%) |
| Proprietary Models | ||||
| GPT-5.2 | mini-SWE-agent | - | 66.3 | |
| Claude 4.5 Opus | mini-SWE-agent | - | 70.7 | |
| Gemini 3 Flash | mini-SWE-agent | - | 72.7 | |
| Open-Source Foundation Models | ||||
| DeepSeek-V3.2 | mini-SWE-agent | - | 62.3 | |
| Model | Scaffold | Training | Resolve Rate (%) |
| Proprietary Models | |||
| GPT-5.2 ( OpenAI, 2025 ) | mini-SWE-agent | - | 72.8 |
| Gemini 3 Flash ( Google, 2025 ) | mini-SWE-agent | - | 75.8 |
| Claude 4.5 Opus ( Anthropic, 2025b ) | mini-SWE-agent | - | 76.8 |
| Open-Source Foundation Models | |||
| DeepSeek-V3.2 ( Anthropic, 2025a ) | mini-SWE-agent | - | 70.0 |
Software Engineering Agents
Software Engineering Agents are AI systems that use code, tools, and feedback to perform software development tasks.
See all 323 papers