政策不等于能力:一些安全基准衡量的是你训练时采用的“不安全”定义
研究论文 · 2026/10/20
本文指出安全护栏分类器的评估常被误认为衡量文本固有属性,实则衡量的是策略定义。作者利用工业部署中同一批约5.3万条提示被两种操作定义(“是否请求有害内容”与“版主是否会屏蔽”)标注两次的契机,训练了十个共享架构、代码库和优化器族的护栏模型(两种规模)。主要发现:训练语料已包含JailbreakBench-benign(88%)和OR-Bench-hard(82%)等基准,去污染后分析显示:安全基准分数受标签定义影响差异巨大(如HarmBench-copyright上十个模型跨度0.99,WildGuard-benign仅0.043,相差23倍);仅0.03%参数变化即可使基准分数跨越全范围;验证准确率与标注者策略一致性相关(rho=+0.74),而非检测能力(rho=+0.34)。作者呼吁护栏评估应将污染、种子下限和评分定义作为首要变量报告。
该文揭示了安全基准评估中一个根本性混淆:分数差异可能主要反映训练标签的策略定义而非模型真实检测能力。对于依赖基准分数进行模型选型或安全声明的从业者,本文提供了关键的警示和可操作的建议(报告污染、种子下限和评分定义),有助于更严谨地解读护栏评估结果。
A guardrail classifier is reported as if unsafe were a property of text. It is not: it is a property of a policy, and the policy enters the model through its labels. We exploit an accident of an industrial deployment in which the same ~53k prompts were labelled twice, under two operational definitions ("is this a request for harmful content?" and "would a moderator block this?"), and used to train ten guardrail arms sharing architecture, codebase and optimiser family, at two model scales. First, the guardrail's own training corpus already contained the benchmarks: JailbreakBench-benign is 88% and OR-Bench-hard 82% present in the training pools, two over-refusal benchmarks, the kind a guardrail reports to argue it does not over-block. Everything below is decontaminated. Second, safety benchmarks stratify sharply by how much of their score is decided by the label definition rather than by the model: with architecture and optimiser fixed, the range across the ten arms is 0.99 on HarmBench-copyright and 0.043 on WildGuard-benign, a 23x spread. Third, a benchmark score can be moved across its entire range by 0.03% of the parameters. Across these arms HarmBench-copyright spans 0-100 and OR-Bench-hard over-refusal 3.4-56.4%, and the four arms whose last supervision signal carries a given policy occupy one extreme of both (exact rank p=0.005, or 0.04-0.14 at worst), at unchanged detection capability. For a distilled student the teacher's soft labels do this even when every hard label carries the other policy, so teacher provenance is an unrecorded confound in any released checkpoint. Fourth, validation accuracy on the one split that grades all twenty arms tracks agreement with the annotator's policy (rho=+0.74), not detection capability (rho=+0.34). We argue that guardrail evaluations should report contamination, a seed floor and the definition they were graded against as first-class variables.