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

超越二元标签:基于提示级 rubrics 的大语言模型安全诊断评估

Beyond Binary Labels: Diagnostic Evaluation of LLM Safety with Prompt-Level Rubrics

Beijing Normal University(北京师范大学);Tencent(腾讯)
Hongyu Li, Xinlong Huang, Zhan Yu, Jing Zhao, Zhe Zhao, Juntao Zhong, Xiong Kuang, Rui Yuan, ZhenXiang Yan, Huilin Xu, Haitao Yu, Lilin Wang, Rui Chen, Blaze Ch… 展开作者

Hongyu Li, Xinlong Huang, Zhan Yu, Jing Zhao, Zhe Zhao, Juntao Zhong, Xiong Kuang, Rui Yuan, ZhenXiang Yan, Huilin Xu, Haitao Yu, Lilin Wang, Rui Chen, Blaze Chen, Fengzong Lian, Renfen Hu

AI总结:

本研究提出 DiagSafe 框架,采用提示级 rubrics 评估 LLM 安全,构建双语基准,实验显示其评估可靠性与一致性显著优于基线,可揭示 LLM 安全漏洞,为 LLM 对齐优化提供可靠工具。

摘要:

当前大语言模型(LLM)安全基准主要依赖二元的安全/不安全标签,缺乏解释深度,且自动评判者之间的一致性较低。为解决这一问题,我们提出 DiagSafe,一种超越二元分类的诊断评估框架,采用提示级 rubrics。该框架基于全球适用的 AI 安全政策,每个 rubric 沿两个维度提供明确标准:安全维度针对具体危害并设置特定豁免以抑制误报,有用性维度则独立评估指令完成情况。为确保评估的稳健性与现实性,我们构建了基于包含 84 个标签的综合安全分类法的双语(英-中)基准,包含两个子集:DiagBase,涵盖单轮与多轮提示,含直接有害查询及基于模板的越狱;DiagAttack,将有害意图嵌入复杂的指令跟随任务以形成具有挑战性的指令攻击。大量实验表明,DiagSafe 显著提升了以 LLM 作为评判者的评估可靠性,与人工标注的一致性达 95.34%,远高于基线方法的 69%-87%,且评判者间一致性高(Cohen's κ = 0.864)。此外,应用该框架可发现,领先 LLM 的不安全比率存在显著差异,且各模型在不同维度上表现出独特漏洞;我们还观察到,模型在中文场景及多轮情境中尤其易受攻击。最终,DiagSafe 为审核与优化 LLM 对齐提供了可靠且可解释的工具。

英文摘要:

Current LLM safety benchmarks predominantly rely on binary safe or unsafe labels, lacking explanatory depth and suffering from low consistency across automated judges. To address this, we introduce DiagSafe, a diagnostic evaluation framework that moves beyond binary classification by employing prompt-level rubrics. Grounded in globally applicable AI safety policies, each rubric provides explicit criteria along two dimensions: safety, which targets concrete harms with specific exemptions to suppress false positives, and usefulness, which independently evaluates instruction fulfillment. To ensure a robust and realistic evaluation, we construct a bilingual (English-Chinese) benchmark grounded in a comprehensive 84-label safety taxonomy, consisting of two subsets: DiagBase, which covers single- and multi-turn prompts with direct harmful queries and template-based jailbreaks, and DiagAttack, which embeds harmful intents into complex instruction-following tasks to form challenging instruction attacks. Extensive experiments demonstrate that DiagSafe significantly enhances the reliability of LLM-as-a-judge evaluation, achieving 95.34% agreement with human annotations -- substantially higher than the 69%-87% achieved by the baselines -- and high inter-judge consistency (Cohen's $κ$ = 0.864). Furthermore, applying our framework reveals that leading LLMs differ markedly in their unsafe rates, and each model also exhibits unique vulnerabilities along different dimensions. In addition, we observe that models are particularly susceptible in Chinese and multi-turn contexts. Ultimately, DiagSafe provides a reliable and explainable tool for auditing and optimizing LLM alignment.

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

↑