arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.10218cs.SE
收藏

SWE-Bench-Verified测试的是代理能力还是模型记忆?

Does SWE-Bench-Verified Test Agent Ability or Model Memory?

Central Peel Secondary School(中央皮尔中学);University of Waterloo(滑铁卢大学)

Thanosan Prathifkumar, Noble Saji Mathews, Meiyappan Nagappan

AI总结:

研究发现SWE-Bench-Verified基准可能反映模型训练记忆而非真实问题解决能力,建议转向更注重污染控制的新数据集。

摘要:

SWE-Bench-Verified是一个包含500个问题的数据集,已成为评估各种大型语言模型(LLMs)解决GitHub问题能力的事实性基准。但这个基准可能与模型训练数据重叠。如果属实,评分可能反映的是训练回忆,而不是解决问题的能力。为此,我们测试了两个经常出现在顶级表现代理中的Claude模型。我们让他们仅使用问题文本查找相关文件,然后是问题文本加文件路径。然后我们将在BeetleBox和SWE-rebench上运行相同的设置。尽管两个基准都涉及流行的开源Python项目,模型在SWE-Bench-Verified上表现了三倍的优势。他们在寻找修改过的文件时也比其他基准好六倍,而没有任何关于这些项目本身的额外上下文。这种差距表明,模型可能在训练过程中看到了许多SWE-Bench-Verified任务。因此,这个基准的评分可能不反映代理处理真实软件问题的能力,但它仍然被用来可能误导进展并导致选择那些使用特定模型的代理而非设计优秀的代理。我们的设置测试了最小上下文的本地化步骤,到这种任务在逻辑上应该是不可能解决的。我们的结果展示了依赖旧流行基准的风险,并支持向具有污染意识的新数据集转变。

英文摘要:

SWE-Bench-Verified, a dataset comprising 500 issues, serves as a de facto benchmark for evaluating various large language models (LLMs) on their ability to resolve GitHub issues. But this benchmark may overlap with model training data. If that is true, scores may reflect training recall, not issue-solving skill. To study this, we test two Claude models that frequently appear in top-performing agents submitted to the benchmark. We ask them to find relevant files using only issue text, and then issue text plus file paths. We then run the same setup on BeetleBox and SWE-rebench. Despite both benchmarks involving popular open-source Python projects, models performed 3 times better on SWE-Bench-Verified. They were also 6 times better at finding edited files, without any additional context about the projects themselves. This gap suggests the models may have seen many SWE-Bench-Verified tasks during training. As a result, scores on this benchmark may not reflect an agent's ability to handle real software issues, yet it continues to be used in ways that can misrepresent progress and lead to choices that favour agents that use certain models over strong agent design. Our setup tests the localization step with minimal context to the extent that the task should be logically impossible to solve. Our results show the risk of relying on older popular benchmarks and support the shift toward newer datasets built with contamination in mind.

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

↑