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

评估大型语言模型安全防护措施对对抗攻击的鲁棒性

Evaluating the Robustness of Large Language Model Safety Guardrails Against Adversarial Attacks

University of Nevada Las Vegas(内华达大学拉斯维加斯分校)

Richard J. Young

AI总结:

本研究评估了大型语言模型安全防护措施对对抗攻击的鲁棒性,发现模型在未见过的提示上表现显著下降,且存在新的失败模式,强调泛化能力的重要性。

摘要:

大型语言模型(LLM)安全防护模型已成为对抗有害内容生成的主要防御机制,但其对复杂对抗攻击的鲁棒性仍缺乏充分表征。本研究评估了来自Meta、Google、IBM、NVIDIA、阿里巴巴和Allen AI的十种公开可用的防护模型,针对涵盖21类攻击的1445个测试提示进行了测试。尽管Qwen3Guard-8B在整体准确率上达到最高(85.3%,95%置信区间:83.4-87.1%),但当将公开基准提示与新型攻击分离时,发现所有模型在未见过的提示上表现出显著性能下降,Qwen3Guard的准确率从91.0%降至33.8%(下降57.2个百分点)。相比之下,Granite-Guardian-3.2-5B的泛化能力最佳,仅下降6.5个百分点。还发现了一种新的失败模式,即“有益模式”劫持,其中两个防护模型(Nemotron-Safety-8B、Granite-Guardian-3.2-5B)生成有害内容而非阻止它。这些发现表明,基准性能可能因训练数据污染而具有误导性,且防护能力的泛化能力,而非整体准确率,应成为评估防护模型的主要指标。

英文摘要:

Large Language Model (LLM) safety guardrail models have emerged as a primary defense mechanism against harmful content generation, yet their robustness against sophisticated adversarial attacks remains poorly characterized. This study evaluated ten publicly available guardrail models from Meta, Google, IBM, NVIDIA, Alibaba, and Allen AI across 1,445 test prompts spanning 21 attack categories. While Qwen3Guard-8B achieved the highest overall accuracy (85.3%, 95% CI: 83.4-87.1%), a critical finding emerged when separating public benchmark prompts from novel attacks: all models showed substantial performance degradation on unseen prompts, with Qwen3Guard dropping from 91.0% to 33.8% (a 57.2 percentage point gap). In contrast, Granite-Guardian-3.2-5B showed the best generalization with only a 6.5% gap. A "helpful mode" jailbreak was also discovered where two guardrail models (Nemotron-Safety-8B, Granite-Guardian-3.2-5B) generated harmful content instead of blocking it, representing a novel failure mode. These findings suggest that benchmark performance may be misleading due to training data contamination, and that generalization ability, not overall accuracy, should be the primary metric for guardrail evaluation.

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

↑