HaloGuard 1.0:一种用于多语言AI安全的开放权重宪法分类器
HaloGuard 1.0: An Open Weights Constitutional Classifier for Multilingual AI Safety
AI总结:
提出HaloGuard 1.0,一种基于宪法分类器范式的输入安全模型,在英语和多语言提示安全基准上以约十分之一于当前领先模型的参数规模达到最先进性能,通过自然语言宪法驱动合成数据生成、一对一反事实对、两层无害设计及多语言平衡实现。
摘要:
我们提出HaloGuard 1.0,一种用于输入安全的宪法分类器范式的开放权重实现。它在英语和多语言提示安全基准上达到最先进性能,模型大小约为当前领先开放防护模型的十分之一。安全宪法是语料库的组织结构:一部包含46条政策和2,940个子类别的自然语言宪法驱动合成数据生成,具有详尽的一对一反事实对,在保持主题和词汇固定的同时翻转意图;一种两层无害设计,分别针对边界和基线假阳性;以及跨46种语言的平衡多语言实现,将语言视为出现在边界两侧的表面形式而非对抗信号。在七个提示安全基准上,HaloGuard 1.0-0.8B在所有评估的开放防护中取得了最佳平均F1(90.9),优于参数高达27B(超过30倍大)的基线,同时将假阳性率控制在4.3,假阴性率控制在9.5。HaloGuard 1.0-4B变体达到平均F1 92.1和假阳性率3.5,将其额外容量用于提高精确率而非召回率。对剩余失败的结构化裁决表明,大多数明显的漏检案例是基准误标而非模型真正遗漏。持续在线的对抗性红队协议不断强化防护,抵御内容级和代理级攻击。我们以开放权重形式发布模型。
英文摘要:
We present HaloGuard 1.0, an open-weights implementation of the constitutional-classifier paradigm for input safety. It achieves state-of-the-art performance on English and multilingual prompt-safety benchmarks at roughly one-tenth the model size of current leading open guard models. The safety constitution is the organising structure of the corpus: a natural-language constitution of 46 policies and 2,940 subcategories drives synthetic data generation, with exhaustive one-to-one paired counterfactuals that hold topic and vocabulary fixed while flipping intent, a two-tier harmless design that separately targets boundary and baseline false positives (FPs), and balanced multilingual materialisation across 46 languages that treats language as a surface form appearing on both sides of the boundary rather than as an adversarial signal. Across seven prompt-safety benchmarks, HaloGuard 1.0-0.8B attains the best average F1 (90.9) of any open guard we evaluate, outperforming baselines up to 27B parameters (over 30 times larger) while holding false-positive rate (FPR) to 4.3 and false-negative rate (FNR) to 9.5. The HaloGuard 1.0-4B variant reaches average F1 of 92.1 and FPR of 3.5, spending its extra capacity on precision rather than recall. A structured adjudication of the remaining failures indicates that most apparent missed-harm cases are benchmark mislabels rather than genuine model misses. An always-on adversarial red-teaming protocol continuously hardens the guard against both content-level and agentic attacks. We release the models as open weights.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。