HSPR:通过分层后验推断恢复软件智能体基准分数
研究论文 · 2026/10/20
在完整基准上评估软件代理成本高昂。少量任务子集可以保持代理排名,但得分不准确。历史响应提供了有用的结构,但具有相同源响应的任务对于新目标代理可能产生不同结果。我们提出了分层得分后验恢复(HSPR),它将源拟合的响应因子与不确定的组成功率相结合。观察到的目标结果更新目标潜在状态和组率的后验;后验引导的采集选择后续任务。其基于分数的准则等于全分后验方差的一步预期减少量。观察到的成功和未查询任务的后验预测计数产生全分后验。最终估计使用其中位数和源选择的校准。在SWE-bench家族的四个任务库上,以10%的任务预算,HSPR在三个库上实现了最低的平均绝对误差(MAE),在所有四个库上实现了最低的最大绝对误差(MaxErr)。移除组不确定性或替换自适应查询会增加相应控制中的宏观MAE。宏观MAE在5-20%的预算范围内下降。
该论文提出了一种高效评估软件代理的方法,能在仅使用10%任务预算的情况下准确恢复基准得分,显著降低评估成本,对软件工程代理的基准测试具有实用价值。
Evaluating software agents on a full benchmark is expensive. A small task subset can preserve agent rankings while yielding inaccurate scores. Historical responses provide useful structure, but tasks with identical source responses can have different outcomes for a new target agent. We introduce Hierarchical Score Posterior Recovery (HSPR), which combines source-fitted response factors with uncertain group success rates. Observed target outcomes update the posteriors over the target latent state and group rates; posterior-guided acquisition selects subsequent tasks. Its score-based criterion equals the expected one-step reduction in full-score posterior variance. Observed successes and posterior-predictive counts for unqueried tasks yield a full-score posterior. The final estimate uses its median with source-selected calibration. At a 10% task budget on four task banks from the SWE-bench family, HSPR achieves the lowest mean absolute error (MAE) on three banks and the lowest maximum absolute error (MaxErr) on all four among the methods compared. Removing group uncertainty or replacing adaptive queries increases macro MAE in the respective controls. Macro MAE decreases across 5-20% budgets.