SWE-Bench 联合作者 Ofir Press:模型背诵开源代码正在污染编码基准
SWE-Bench 作者自己承认榜单可能被模型背题污染,还给出了 76% 对 53% 的硬数据对比。做模型评测、刷榜看分的人都需要重新审视这些数字,赶紧听这期。
SWE-Bench 联合作者 Ofir Press 在播客 Beyond the Leaderboard 中指出,前沿模型已能逐字复述开源仓库中的代码,这动摇了基于公开 GitHub issue 构建的编码基准。由于这些基准的正确答案从未保密,模型可以靠记忆而非解题获得分数,爬取 GitHub 造基准的时代可能结束。
2025 年论文《The SWE-Bench Illusion》提供了量化证据:模型仅凭 issue 描述就能在 SWE-Bench Verified 上以最高 76% 的准确率说出出错的文件名,而在基准之外的仓库上只有最高 53%。作者认为 Verified 上的分数提升可能部分来自记忆而非真实解题能力。
Ofir 强调没人会故意在测试集上训练,这是模型能力提升带来的副作用。这意味着榜单上的涨幅需要重新解读,新一代编码基准必须使用模型未曾见过的任务。
If frontier models can recall exact code from open-source repos, what happens to benchmarks built from public issues?
@OfirPress, co-author of SWE-Bench, said this is changing the calculus for benchmark builders. In an episode of Beyond the Leaderboard, Ofir explains how models can now recall exact open-source code.
Many coding benchmarks are built from GitHub, so the correct answer was never a secret. A model can recall it instead of solving it. Ofir says the era of crawling GitHub to build benchmarks may be over.
SWE-Bench itself was built from public open-source bugs, but he doesn't think anyone is training on the benchmark's test set on purpose. Instead, it's a side effect of what the newest models can do.
A 2025 paper, The SWE-Bench Illusion, even tested this. Models could name the buggy file from an issue description alone up to 76% of the time on SWE-Bench Verified. Models were less successful (up to 53%) on repositories outside the benchmark. The authors say gains on Verified "may be partially driven by memorization rather than genuine problem-solving."
So a rising score may partly reflect memory, not skill. Which is why benchmark builders need tasks models haven't already seen.
What should be tested in next-generation coding benchmarks?
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「中美大模型技术代差与商业化对照」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:SWE-Bench、Ofir Press、编码基准、The SWE-Bench Illusion,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「Kaggle」(@kaggle),经 AITOP 多维评分管线结构化提炼。