SEAICLFeb 27, 2025

SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuning

arXiv:2502.20127v126 citationsh-index: 16Has CodeACL
Originality Incremental advance
AI Analysis

This provides a cost-efficient alternative to commercial models for software engineering tasks, though it is incremental as it builds on existing fine-tuning and reinforcement learning methods.

The paper tackles the problem of high costs and poor generalization in issue-resolving frameworks by proposing SoRFT, a training approach that decomposes tasks into subtasks and uses fine-tuning with reinforcement learning, achieving state-of-the-art performance with 21.4% issue resolution on SWE-Bench Verified.

Mainstream issue-resolving frameworks predominantly rely on commercial models, leading to high costs and privacy concerns. Existing training approaches for issue resolving struggle with poor generalization and fail to fully leverage open-source development resources. We propose Subtask-oriented Reinforced Fine-Tuning (SoRFT), a novel training approach to enhance the issue resolving capability of LLMs. We decomposes issue resolving into structured subtasks: file localization, function localization, line localization, and code edit generation. SoRFT consists of two training stages: (1) rejection-sampled supervised fine-tuning, Chain of Thought (CoT) data is filtered using ground-truth before fine-tuning the LLM, and (2) rule-based reinforcement learning, which leverages PPO with ground-truth based rewards. We evaluate the SoRFT-trained model on SWE-Bench Verified and SWE-Bench Lite, achieving state-of-the-art (SOTA) performance among open-source models (e.g., resolve 21.4% issues on SWE-Bench Verified with SoRFT-Qwen-7B). The experimental results demonstrate that SoRFT significantly enhances issue-resolving performance, improves model generalization, and provides a cost-efficient alternative to commercial models.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes