atlas

Research map / Large language models / Agents, code and math

SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution

NeurIPS 2025 · Large language models › Agents, code and math · approach: Software engineering agents · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SWE-RL, applying GRPO with a rule-based difflib similarity reward on real-world GitHub pull-request data to train Llama-3.3-70B into SWE-bench-solving reasoning model Llama3-SWE-RL-70B, which reaches 41.0% on SWE-bench Verified and shows out-of-domain gains.

Problem

Improving LLM reasoning for real-world software engineering issue solving, where RL with execution feedback is hard to apply and prior training relied on distilled proprietary-model SFT data.

Approach

Use software evolution data (merged PRs with linked issues, code context, and oracle patches) as an RL seed set with a lightweight rule-based reward: -1 for bad format, otherwise difflib SequenceMatcher similarity between predicted and oracle patch, optimized with GRPO.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply SWE-RL reinforcement learning with software evolution dataLlama-3.3-70B-Instruct · SWE-bench Verified, oracle localized filesrepair performance: 5.4 -> 34.8Helped
Replace supervised fine-tuning with SWE-RLLlama-3.3-70B-Instruct · SWE-bench Verifiedpass@1: 36.2 -> 41.0Helped
Train with SWE-RL rather than leaving the base model unchangedLlama-3.3-70B-Instruct · HumanEval+pass@1: 76.2 -> 79.9Helped
Train with SWE-RL rather than leaving the base model unchangedLlama-3.3-70B-Instruct · CRUXEval-Iaccuracy: 60.5 -> 71.6Helped
Train with SWE-RL rather than leaving the base model unchangedLlama-3.3-70B-Instruct · MATH (strict)accuracy: 63.2 -> 73.7Helped
Train with SFT instead of leaving the base model unchangedLlama-3.3-70B-Instruct · MATH (strict)accuracy: 63.2 -> 54.0Hurt
Increase repair samples from 20 to 160 (ablation)SWE-RL with Agentless Mini · SWE-bench Verifiedpass@1: 33.6 to 40.0Helped
Increase repair samples from 160 to 500 (ablation)SWE-RL with Agentless Mini · SWE-bench Verifiedpass@1: 40.0 to 41.0Helped
Increase reproduction tests up to 20 (ablation)SWE-RL with Agentless Mini · SWE-bench Verifiedpass@1: 38.8 to 41.0Helped
Increase reproduction tests from 20 to 30 (ablation)SWE-RL with Agentless Mini · SWE-bench Verifiedpass@1No clear effect
Replace continuous patch-similarity reward with exact-match discrete reward (ablation)SWE-RL · SWE-bench Verified, oracle-file repairrepair performanceHurt
Use continuous patch-similarity reward instead of exact-match discrete reward (ablation)SWE-RL · SWE-bench Verified, oracle-file repairformat accuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: GitHub pull requests (24M aggregated, 11M filtered, 273k RL seeds) SWE-bench Verified HumanEval+ BigCodeBench CRUXEval MATH MMLU

Benchmarks: SWE-bench Verified HumanEval+ BigCodeBench-Hard CRUXEval MATH MMLU

Metrics: pass@1 resolve rate correct format rate repair performance macro average accuracy

Baselines: Llama-3.3-70B-Instruct Llama3-SWE-SFT-70B GPT-4o Claude-3.5-Sonnet Lingma-SWE-GPT SWE-Gym SWE-Fixer Agentless

Builds on: GRPO DeepSeek-R1 Agentless Magicoder OSS-Instruct CodeT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy