RepoForge:通过协同SFT与RL的端到端大规模数据构建流程训练SOTA快速思考型软件工程智能体
RepoForge: Training a SOTA Fast-thinking SWE Agent with an End-to-End Data Curation Pipeline Synergizing SFT and RL at Scale
AI总结:
针对软件工程大模型训练的多重瓶颈,研究提出端到端自主流程RepoForge,整合自动化数据生成、高效评估与标注等技术,训练出8B参数量级的非思考型SWE智能体,在SWE-Bench-Verified基准上创下同规模模型新纪录。
摘要:
软件工程(SWE)大语言模型的训练受限于基础设施成本高、评估流程效率低、训练数据稀缺以及质量控制成本高昂等瓶颈。我们提出RepoForge,这是一个自主的端到端流程,可大规模生成、评估并训练软件工程智能体。我们的核心贡献包括:(1)RepoForge-8B-Agent在SWE-Bench-Verified(SWE基准验证集)上取得17.4%的准确率,创下参数量≤8B的非思考型大语言模型的新SOTA(当前最优水平);(2)从真实GitHub提交自动生成7304个可执行环境,全程零人工干预;(3)通过智能依赖管理与镜像裁剪,实现14倍存储缩减(单实例从1.4GB降至102MB);(4)采用基于Ray(分布式计算框架)的分布式RepoForge测试框架,评估速度提升超70%;(5)通过我们的自动化SPICE(2024年提出的难度评估技术)难度评估技术,标注成本降低19000倍。通过整合存储高效的沙箱机制、Ray驱动的评估框架、自动化数据生成、基于SPICE的标注以及无气泡RL(强化学习)框架,我们证明即便参数量≤8B的模型,也能在SWE-Bench-Verified这类高难度基准上达到新的最优性能。我们的方法解决了SWE智能体训练中的关键瓶颈:基于容器的评估存储成本高、顺序奖励流程效率低、高质量训练数据可用性有限、人工标注成本高昂,以及多轮RL流程瓶颈。
英文摘要:
Training software engineering (SWE) LLMs is bottlenecked by expensive infrastructure, inefficient evaluation pipelines, scarce training data, and costly quality control. We present RepoForge, an autonomous, end-to-end pipeline that generates, evaluates, and trains SWE agents at scale. Our key contributions include: (1) RepoForge-8B-Agent, achieving 17.4\% on SWE-Bench-Verified~\citep{swebench_verified2024}, establishing new state-of-the-art for $\leq$8B non-thinking LLMs; (2) 7,304 executable environments auto-generated from real GitHub commits with zero manual intervention; (3) 14$\times$ storage reduction (1.4GB $\rightarrow$ 102MB per instance) via intelligent dependency management and image pruning; (4) $>$70\% faster evaluation using a Ray-powered~\citep{ray2018} distributed RepoForge harness; (5) 19,000$\times$ cheaper labeling through our automated SPICE~\citep{spice2024} difficulty assessment technique. By unifying storage-efficient sandboxing, Ray-powered evaluation harness, automated data generation, SPICE-based labeling, and bubble-free RL scaffold, we demonstrate that even $\leq$8B models can reach new state-of-the-art performance on demanding benchmarks like SWE-Bench-Verified. Our approach addresses critical bottlenecks in SWE agent training: high storage costs of container-based evaluation, inefficient sequential reward pipelines, limited availability of high-quality training data, expensive manual labeling, and multi-turn RL pipeline bottlenecks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。