Papers

审计 Code-as-Policy 基准:成功率掩盖了静默失败与 API 差距

What Does the Success Rate Hide? Auditing Open-Weight Code-as-Policy Benchmarks for Deployment

Why we picked it

如果你在用开源模型做机器人 code-as-policy 部署,这篇论文直接戳痛点:0.6B–32B 模型的静默失败率、17 个 pipeline bug、26.5% 到 2.8% 的 API 迁移落差都讲清了,还附缺陷分类法。做评估流程的人必看。

一篇 arXiv 论文(arXiv:2612.02930v1)重新运行了已发布的 Code-as-Policy 机器人基准,测试 21 个开源权重模型(0.6B–32B 参数),并在受控机器上从特权 API(读取仿真器中物体位姿)到传感器 API(只提供真实机器人可得信息)的多个层级进行评估。

Body

论文发现成功率指标存在三个缺口:它不区分会抛出错误的程序和静默失败的程序,后者运行完成却错误移动机械臂,在大模型上特权 API 下几乎总是静默失败;评分协议本身也易被污染,作者自己的 pipeline 中 17 个 bug 产生了看似合理的分数而非报错,其中多个隐藏在闭源 API 的 serving 栈里;此外 pass/fail 过于粗糙,特权 API 成绩无法迁移,传感器 API 下成功率从 26.5% 跌至 2.8%。

对部署团队而言,这意味着排行榜上的高分(多来自闭源前沿模型)不能直接指导小模型选型。作者将发布带验证修复的失败程序、缺陷分类法和一个可复算每个数字的 claims register,为可自行审计的部署评估提供方法。

Original · arXiv cs.AI

What Does the Success Rate Hide? Auditing Open-Weight Code-as-Policy Benchmarks for Deployment

Code-as-policy agents write programs that control robots, and benchmarks rank them by success rate. Their leaderboards focus on large frontier models, often behind closed APIs, and leave out what a deployment team needs: results for small open-weight models, what is lost by choosing a smaller one, and an evaluation the team can inspect. We re-run a published benchmark with 21 open-weight models (0.6B-32B parameters) on a machine we control, at API levels ranging from a privileged API that reads object poses from the simulator to a sensor API that offers only what a real robot provides. We find three gaps in what the success rate reports. First, it does not separate programs that raise an error, and so hand a retry loop an error message, from programs that fail silently, running to completion while moving the arm wrongly; with the privileged API, larger models fail less often, but nearly always silently. Second, the score is only as sound as the protocol behind it: seventeen bugs in our own pipeline produced plausible scores instead of errors, several of them in the serving stack that a closed API hides. Third, pass/fail is too coarse: a score of zero covers both one-line fixes and rewrites, and privileged-API scores do not transfer to the sensor API, where success falls from 26.5% to 2.8%. We turn these gaps into recommendations for deployment evaluation and will release the failing programs with verified minimal repairs, a defect taxonomy and a claims register that recomputes every number.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Code-as-Policy, open-source models, robots, benchmarks.

Source attribution: curated from arXiv cs.AI (@Sajjad Pakdamansavoji).

Spotted an error in the summary or translation? Tell us