arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.07735cs.LGcs.CLcs.CR
收藏

GuardVal:用于全面安全测试的动态大型语言模型越狱评估

GuardVal: Dynamic Large Language Model Jailbreak Evaluation for Comprehensive Safety Testing

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Hong Kong Polytechnic University(香港理工大学)

Peiyan Zhang, Haibo Jin, Liying Kang, Haohan Wang

AI总结:

本文提出GuardVal协议,通过动态生成和优化越狱提示评估LLM安全性,应用于Mistral-7b到GPT-4等模型,揭示模型行为模式并推动安全研究。

摘要:

越狱攻击通过诱导大型语言模型(LLM)生成有害或不道德内容,揭示了其关键漏洞。由于LLM的不断演进以及有效探测其漏洞所需的复杂性,评估这些威胁尤为困难。当前的基准和评估方法难以完全应对这些挑战,在评估LLM漏洞方面留有空白。本文回顾了现有的越狱评估实践,并确定了有效越狱评估协议的三个假设要求。为应对这些挑战,我们引入了GuardVal,这是一种新的评估协议,它根据防御者LLM的状态动态生成和细化越狱提示,从而更准确地评估防御者LLM处理安全关键情况的能力。此外,我们提出了一种新的优化方法,以防止提示细化过程中的停滞,确保生成越来越有效的越狱提示,从而暴露防御者LLM更深层的弱点。我们将该协议应用于从Mistral-7b到GPT-4的多种模型,涵盖10个安全领域。我们的发现突显了模型之间不同的行为模式,提供了其鲁棒性的全面视图。此外,我们的评估过程加深了对LLM行为的理解,为未来的研究提供了见解,并推动了更安全模型的开发。

英文摘要:

Jailbreak attacks reveal critical vulnerabilities in Large Language Models (LLMs) by causing them to generate harmful or unethical content. Evaluating these threats is particularly challenging due to the evolving nature of LLMs and the sophistication required in effectively probing their vulnerabilities. Current benchmarks and evaluation methods struggle to fully address these challenges, leaving gaps in the assessment of LLM vulnerabilities. In this paper, we review existing jailbreak evaluation practices and identify three assumed desiderata for an effective jailbreak evaluation protocol. To address these challenges, we introduce GuardVal, a new evaluation protocol that dynamically generates and refines jailbreak prompts based on the defender LLM's state, providing a more accurate assessment of defender LLMs' capacity to handle safety-critical situations. Moreover, we propose a new optimization method that prevents stagnation during prompt refinement, ensuring the generation of increasingly effective jailbreak prompts that expose deeper weaknesses in the defender LLMs. We apply this protocol to a diverse set of models, from Mistral-7b to GPT-4, across 10 safety domains. Our findings highlight distinct behavioral patterns among the models, offering a comprehensive view of their robustness. Furthermore, our evaluation process deepens the understanding of LLM behavior, leading to insights that can inform future research and drive the development of more secure models.

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

↑