AI Pulse
📄 论文解读

AI 做不出的编程题,多半是题错了

一个 9B 模型死活做不出的编程训练题,74% 其实是题本身有问题——测试会拒绝正确的修复;而它偶尔能做出的题里,这个比例只有 20%。研究者用两个大模型家族审计 SWE-Gym,每个可疑错误都必须实际运行复现才算数,然后修复或剔除这些任务。同样规模、难度匹配,用审计后的数据训练,模型在 SWE-bench Verified 和 Pro 上分别高出 2.4 和 2.7 分;而简单粗暴地丢掉「做不出的题」并没有这个效果。更微妙的是,通过测试的补丁里约四分之一是错的,但补上能抓住其中四分之一的新测试,成绩却测不出变化。通过率只说明有没有奖励,不说明奖励给得对不对。审计后的 1,087 个任务、每条判定及其执行证据、完整审计流程已开源为 SWE-Gym-Verified。

📄 原文摘要(英文)

Reinforcement learning (RL) trains coding agents on software tasks whose hidden tests decide the reward, yet task collections check these tests only against the reference fix. We ask what makes a task good training data, focusing on the correctness of its reward labels. We audit SWE-Gym with two LLM families, and a suspected error counts only if execution reproduces it. We find that unsolved often means mislabelled: 74% of the tasks that a 9B base model never solves have a test that rejects correct fixes (a false negative), versus 20% of those it sometimes solves. We repair or remove such tasks, and the audited tasks that remain train better policies. At equal size and matched difficulty, models trained on them score 2.4 and 2.7 points higher on held-out tasks from SWE-bench Verified and SWE-bench Pro than models trained on the original tasks, whereas simply dropping the never-solved tasks shows no such gain. We further find that wrong patches that pass (false positives) make up about a quarter of all passing patches, and that new tests that catch a quarter of them do not change held-out scores detectably. A pass rate shows whether a task yields reward, not whether that reward is right, so the reward labels themselves must be checked. To this end, we release SWE-Gym-Verified with its 1,087 audited tasks, every verdict with its executed evidence, our training sets, and the full audit pipeline.

arXiv 原文

订阅 AI Pulse

每天 08:00 · 12:30 · 18:30 · 23:50 更新