用解释性项目反应理论拆解 AI 编程智能体:模型与脚手架各占多少能力
Model or Scaffold? Decomposing the Ability of AI Coding Agents with Explanatory Item Response Theory
做智能体评测或选型的朋友看这篇:它用混合效应模型把榜单分数拆开,发现模型占 81%–91% 的能力方差,脚手架只占 5%–14%。还给出用 25 道题近似全量基准的自适应测法,跑评测能省不少算力。
一篇 arXiv 论文提出用跨分类解释性项目反应模型(explanatory IRT)回答一个问题:编程智能体的 resolve rate 里,多少归功于底层语言模型,多少归功于包裹它的脚手架(scaffold,即提供工具、提示词和重试逻辑的程序)。该方法把模型、脚手架和模型-脚手架组合作为交叉随机效应,任务作为随机条目,用广义线性混合模型拟合,可输出方差分解、可加性的似然比检验以及能力估计的标准误。作者在模拟榜单、166 次 SWE-bench Verified 运行和 143 次 Terminal-Bench 2.0 运行上验证。结果显示,在 SWE-bench 上模型与脚手架高度混淆,因为大多数模型只出现在一个脚手架中;在两者交叉的数据上,模型承担 81%–91% 的能力方差,脚手架占 5%–14%,交互项仅 4%–5%。能力并非严格可加,但偏差很小:用模型和脚手架预测留出的运行,误差在 4–7 个百分点内。自适应测试用 25 道题即可恢复完整基准测试能力,相关系数达 .98。
对开发者而言,这解释了为什么换脚手架对榜单成绩影响有限,而选对模型仍是主要变量。结论也提示现有单分数榜单存在混淆风险,自适应短测(25 题、相关 .98)可大幅降低评测成本。
Model or Scaffold? Decomposing the Ability of AI Coding Agents with Explanatory Item Response Theory
A coding agent is a language model inside a scaffold, the program that gives the model its tools, prompts and retries. Leaderboards report one resolve rate per agent and cannot say how much belongs to the model and how much to the scaffold. We frame the question as a cross-classified explanatory item response model: Model, scaffold and the model-scaffold pair are crossed random effects on ability, and tasks are random items. Fitted as a generalized linear mixed model, it gives a variance partition, a likelihood ratio test of additivity, and standard errors for abilities and predictions. We apply it to simulated leaderboards, 166 runs of SWE-bench Verified and 143 runs of Terminal-Bench 2.0. On all SWE-bench runs, model and scaffold are largely confounded, because most models appear in only one scaffold. Where models and scaffolds cross, the model carries 81% to 91% of the ability variance, the scaffold 5% to 14% and the pair 4% to 5%. Ability is not strictly additive, but the departure is small: A held-out run is predicted from its model and scaffold within 4 to 7 percentage points. Adaptive testing recovers full-benchmark ability from 25 tasks with a correlation of .98.
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:SWE-bench、Terminal-Bench、编程助手、评测,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Okan Bulut),经 AITOP 多维评分管线结构化提炼。