arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.07584cs.CR
收藏

SecReEvalBench:面向大语言模型的多轮次安全韧性评估基准

SecReEvalBench: A Multi-turned Security Resilience Evaluation Benchmark for Large Language Models

Huining Cui, Wei Liu

AI总结:

本文提出SecReEvalBench基准,通过四类韧性指标、六种多轮提问序列及覆盖七领域十六技术的定制数据集,系统评估五个主流开源大语言模型抵御对抗性提示攻击的安全韧性。

摘要:

大语言模型在安全敏感领域的部署日益增多,因此迫切需要对其抵御基于对抗性提示攻击的韧性进行严格评估。以往的基准主要聚焦于预定义且有限的攻击领域(如网络安全攻击)下的安全评估,往往缺乏对意图驱动的对抗性提示的全面评估,也未充分考虑基于真实场景的多轮攻击。为弥补这一不足,我们提出了SecReEvalBench,即安全韧性评估基准,定义了四个新颖指标:提示攻击韧性得分、提示攻击拒绝逻辑得分、链式攻击韧性得分和链式攻击拒绝时间得分。此外,SecReEvalBench采用六种提问序列进行模型评估:一次性攻击、连续攻击、连续反向攻击、交替攻击、威胁等级逐步升高的顺序递增攻击以及威胁等级逐步降低的顺序递减攻击。我们还引入了一个为该基准定制的数据集,其中包含中性提示和恶意提示,覆盖七个安全领域和十六种攻击技术。在应用该基准时,我们系统评估了五个最先进的开放权重大语言模型:Llama 3.1、Gemma 2、Mistral v0.3、DeepSeek-R1和Qwen 3。我们的研究结果为现代大语言模型在防御不断演变的对抗性威胁方面的优势与不足提供了关键见解。SecReEvalBench数据集已在https://kaggle.com/datasets/5a7ee22cf9dab6c93b55a73f630f6c9b42e936351b0ae98fbae6ddaca7fe248d公开提供,为推进大语言模型安全研究奠定了基础。

英文摘要:

The increasing deployment of large language models in security-sensitive domains necessitates rigorous evaluation of their resilience against adversarial prompt-based attacks. While previous benchmarks have focused on security evaluations with limited and predefined attack domains, such as cybersecurity attacks, they often lack a comprehensive assessment of intent-driven adversarial prompts and the consideration of real-life scenario-based multi-turn attacks. To address this gap, we present SecReEvalBench, the Security Resilience Evaluation Benchmark, which defines four novel metrics: Prompt Attack Resilience Score, Prompt Attack Refusal Logic Score, Chain-Based Attack Resilience Score and Chain-Based Attack Rejection Time Score. Moreover, SecReEvalBench employs six questioning sequences for model assessment: one-off attack, successive attack, successive reverse attack, alternative attack, sequential ascending attack with escalating threat levels and sequential descending attack with diminishing threat levels. In addition, we introduce a dataset customized for the benchmark, which incorporates both neutral and malicious prompts, categorised across seven security domains and sixteen attack techniques. In applying this benchmark, we systematically evaluate five state-of-the-art open-weighted large language models, Llama 3.1, Gemma 2, Mistral v0.3, DeepSeek-R1 and Qwen 3. Our findings offer critical insights into the strengths and weaknesses of modern large language models in defending against evolving adversarial threats. The SecReEvalBench dataset is publicly available at https://kaggle.com/datasets/5a7ee22cf9dab6c93b55a73f630f6c9b42e936351b0ae98fbae6ddaca7fe248d, which provides a groundwork for advancing research in large language model security.

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

↑