arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2610.20193cs.SEcs.AI
收藏

SWE-Stream:通过渐进式构建与弹性流处理扩展软件工程智能体的可执行训练数据

SWE-Stream: Scaling Executable Training Data for SWE Agents via Progressive Construction and Elastic Streaming

Xiamen University(厦门大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Unisound(科大讯飞)

Chengyang Liu, Wen Yang, Shifeng Chen, Delai Qiu, Ji Yang, Junnan Zhu, Yining Wang, Shengping Liu

AI总结:

该研究提出SWE-Stream系统,利用10728个仓库的开发历史构建8万余个可执行SWE训练任务,微调模型后在基准测试中表现优于现有数据源,且构建效率显著提升。

摘要:

软件工程智能体已取得快速进展,但其训练的扩展受限于高质量可执行任务的可用性不足。开发历史包含构建此类任务的宝贵信号,但由于环境不完整、测试缺失及制品不一致,往往需要大量重构。我们提出SWE-Stream,一个通过渐进式构建与弹性流执行扩展可执行SWE训练数据的系统。SWE-Stream逐步验证并优化任务候选,尽可能复用现有制品,仅在必要时应用针对性补全。弹性调度器在共享资源约束下异步协调构建阶段,根据观测到的工作负载需求调整执行预算。利用6种编程语言的10728个代码仓库的开发历史,SWE-Stream构建了80874个已验证任务并收集了118688条成功轨迹。在这些轨迹上微调Qwen3-30B-A3B-Thinking-2507,在SWE-bench Verified、Multilingual和Pro上分别达到69.0%、49.3%和45.42%的解决率。在训练预算大致相当的受控对比中,SWE-Stream在SWE-bench Verified上达到45.6%的解决率,优于三种现有数据源。此外,其流构建策略提升了效率,达到批处理构建接受任务吞吐量的1.45倍,且比固定限制流处理多接受13.2%的任务。

英文摘要:

Software engineering agents have advanced rapidly, but scaling their training remains constrained by the limited availability of high-quality executable tasks. Development histories contain valuable signals for constructing such tasks, yet they often require substantial reconstruction due to incomplete environments, missing tests, and inconsistent artifacts. We present SWE-Stream, a system for scaling executable SWE training data through progressive construction and elastic streaming execution. SWE-Stream progressively validates and refines task candidates, reusing existing artifacts when possible and applying targeted completion only when necessary. An elastic scheduler asynchronously coordinates construction stages under shared resource constraints, adapting execution budgets based on observed workload demands. Using development histories from 10,728 repositories across six programming languages, SWE-Stream constructs 80,874 validated tasks and collects 118,688 successful trajectories. Fine-tuning Qwen3-30B-A3B-Thinking-2507 on these trajectories achieves resolve rates of 69.0%, 49.3%, and 45.42% on SWE-bench Verified, Multilingual, and Pro, respectively. In a controlled comparison with approximately matched training budgets, SWE-Stream achieves a 45.6% resolve rate on SWE-bench Verified, outperforming three existing data sources. Moreover, its streaming construction strategy improves efficiency, delivering $1.45\times$ the accepted-task throughput of batch construction and accepting 13.2% more tasks than fixed-limit streaming.

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

↑