arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.10044cs.AIcs.CLcs.CYcs.LG
收藏

脚手架下的安全性:评估条件如何影响测量的安全性

Safety Under Scaffolding: How Evaluation Conditions Shape Measured Safety

Harvard University(哈佛大学);MIT(麻省理工学院)

David Gringras

AI总结:

本研究通过62,808次盲法预注册评估,测试了六种前沿模型在四种部署配置下的安全性,发现脚手架架构对安全性影响较小,而格式转换(如选择题与开放式问题)可导致5-20个百分点的测量差异,且模型-脚手架间存在显著异质性,质疑了单一综合安全性分数的实用性。

摘要:

在基准测试中获得的安全分数不一定能预测同一模型在未经测试的智能体脚手架中的行为。我们通过四种部署配置(直接API、ReAct、多智能体批评者、map-reduce委托)运行了六种前沿模型:在四个安全基准测试(BBQ、TruthfulQA、XSTest/OR-Bench、sycophancy)上进行了N = 62,808次盲法、预注册、等价性检验评估,以及三项支持性分析。ReAct和多智能体脚手架保持在预注册的±2个百分点的等价范围内;map-reduce委托降低了测量的安全性(NNH = 14),尽管这种损失很大程度上是测量伪影:在相同项目上,选择题与开放式问题的措辞使测量的安全率变化5-20个百分点,而分解过程无声地移除了选择题选项。每个模型map-reduce损失的约40-89%归因于这种格式转换而非推理中断,一种保留选项的变体恢复了大部分损失。汇总效应也掩盖了模型与脚手架之间的显著异质性:在map-reduce下,对于相同项目,Opus损失16.8个百分点,而Llama 4增加18.8个百分点。从结构上看,脚手架架构仅解释了0.4%的结果方差(基准选择解释了45倍以上),泛化系数G = 0.000(bootstrap 95% CI [0.000, 0.752])。如此宽的区间本身足以削弱任何单一综合安全分数作为部署标准的效用。这些是“简单案例”;像诡计和CBRN提升这样的重要属性没有明显理由对格式或脚手架不敏感。代码、数据和提示已作为ScaffoldSafety发布。

英文摘要:

Safety benchmarks usually test "bare" models that receive prompts and output responses, but real-world deployments "wrap" those models in complex scaffolds. How much do these scaffolds affect model safety as measured by benchmarks? We test six leading models on four pre-registered safety benchmarks with a direct API and three scaffolds: ReAct, multi-agent, and map-reduce. We conducted 60,112 scored evaluations. On average, how safety is measured matters more than scaffolding does: we find that using a multiple choice vs. open-ended format for otherwise-identical benchmark items changes measured safety by about 5-20 percentage points (pp). The two formats are scored with different methods (answer extraction and an LLM judge), so the gap is due to measurement rather than differences in latent safety. Using a heuristic to classify model refusals would have led to different findings in four of five cases. Benchmark choice explains 15.1% of the variation in outcomes; scaffold architecture explains 0.5%, about 33x less. We find that map-reduce scaffolds, a form of structure-destroying delegation that strips answer options by decomposing prompts, reduce pooled measured safety by 7.3 pp (95% CI: 6.4 to 8.1). The pooled effects for ReAct and multi-agent scaffolds are within our pre-registered +/-2 pp margin of equivalence. However, there are large differences across models for specific benchmarks and scaffolds that are hidden by pooled estimates: for example, on the same sycophancy benchmark items, Opus 4.6 has 16.8 pp lower measured safety with a map-reduce scaffold, while Llama 4 has 18.8 pp higher measured safety. Composite reliability is G = 0.251 (95% CI: [0.000, 0.879]). This wide confidence interval, which spans "of little use" to "very good", does not support using a single composite measure of model safety as the basis for go/no-go decisions about model deployment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑