2025-05-30 · 专家 · 机器学习 · 数据科学 · 自然语言处理

Satori-SWE: Evolutionary Test-Time Scaling for Sample-Efficient Software Engineering

本文提出了一种名为EvoScale的进化测试时间缩放方法,通过迭代优化生成结果,显著提高了软件工程任务中的样本效率。

更新于 2025-05-30。作者:Guangtao Zeng、Maohao Shen、Delin Chen、Zhenting Qi、Subhro Das、Dan Gutfreund、David Cox、Gregory Wornell、Wei Lu、Zhang-Wei Hong、Chuang Gan。

中文摘要

语言模型(LMs)在标准化的编码基准测试中表现良好,但在实际软件工程任务上,如SWE-Bench中的解决GitHub问题,则显得力不从心,尤其是在模型参数小于100B的情况下。虽然在实际应用中,由于计算成本较低,较小的模型更受欢迎,但提高它们的性能仍然具有挑战性。现有的方法主要依赖于使用高质量数据的监督微调(SFT),这在规模上非常昂贵。一个替代方案是测试时间缩放:生成多个输出,使用验证器进行评分,并选择最佳的一个。尽管这种方法有效,但它往往需要过度的采样和昂贵的评分,限制了其实际应用。我们提出了进化测试时间缩放(EvoScale),这是一种样本高效的样本生成方法,它将生成过程视为一个进化过程。通过迭代地通过选择和变异来优化输出,EvoScale将输出分布转移到得分更高的区域,从而减少了找到正确解决方案所需的样本数量。为了减少重复采样和选择带来的开销,我们训练模型使用强化学习(RL)来自我进化。在推理时间不依赖于外部验证器的情况下,模型学会在迭代中自我改进其生成的评分。在SWE-Bench-Verified上进行评估,EvoScale使我们的32B模型Satori-SWE-32B能够在使用少量样本的情况下,匹配或超越参数超过100B的模型的表现。代码、数据和模型将全部开源。

英文摘要

Language models (LMs) perform well on standardized coding benchmarks but struggle with real-world software engineering tasks such as resolving GitHub issues in SWE-Bench, especially when model parameters are less than 100B. While smaller models are preferable in practice due to their lower computational cost, improving their performance remains challenging. Existing approaches primarily rely on supervised fine-tuning (SFT) with high-quality data, which is expensive to curate at scale. An alternative is test-time scaling: generating multiple outputs, scoring them using a verifier, and selecting the best one. Although effective, this strategy often requires excessive sampling and costly scoring, limiting its practical application. We propose Evolutionary Test-Time Scaling (EvoScale), a sample-efficient method that treats generation as an evolutionary process. By iteratively refining outputs via selection and mutation, EvoScale shifts the output distribution toward higher-scoring regions, reducing the number of samples needed to find correct solutions. To reduce the overhead from repeatedly sampling and selection, we train the model to self-evolve using reinforcement learning (RL). Rather than relying on external verifiers at inference time, the model learns to self-improve the scores of its own generations across iterations. Evaluated on SWE-Bench-Verified, EvoScale enables our 32B model, Satori-SWE-32B, to match or exceed the performance of models with over 100B parameters while using a few samples. Code, data, and models will be fully open-sourced.

解读

一句话总结

本文提出了一种名为EvoScale的进化测试时间缩放方法,通过迭代优化生成结果,显著提高了软件工程任务中的样本效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源