HarmLevelBench:评估危害级别合规性及量化对模型对齐的影响
HarmLevelBench: Evaluating Harm-Level Compliance and the Impact of Quantization on Model Alignment
AI总结:
本文提出HarmLevelBench框架,通过创建多危害级别数据集评估LLM漏洞,基准测试越狱攻击对Vicuna 13B的影响,并揭示AWQ和GPTQ等量化技术在模型对齐与鲁棒性上的权衡。
摘要:
随着transformers架构的引入,LLM以日益强大的模型彻底改变了NLP领域。然而,其发展也带来了若干挑战。语言模型在计算能力和推理能力上的指数级增长加剧了人们对其安全性的担忧。随着模型变得越来越强大,确保其安全性已成为研究的关键焦点。本文旨在填补当前文献中关于越狱技术及LLM漏洞评估的空白。我们的贡献包括创建了一个新颖的数据集,旨在评估模型输出在多个危害级别上的有害性,以及侧重于细粒度的危害级别分析。使用这一框架,我们提供了一个针对最先进越狱攻击的综合基准,专门针对Vicuna 13B v1.5模型。此外,我们研究了诸如AWQ和GPTQ等量化技术如何影响模型的对齐和鲁棒性,揭示了在迁移攻击的增强鲁棒性与直接攻击中潜在漏洞增加之间的权衡。本研究旨在展示有害输入查询对越狱技术复杂性的影响,并加深对LLM漏洞的理解,改善在面临有害内容时评估模型鲁棒性的方法,特别是在压缩策略的背景下。
英文摘要:
With the introduction of the transformers architecture, LLMs have revolutionized the NLP field with ever more powerful models. Nevertheless, their development came up with several challenges. The exponential growth in computational power and reasoning capabilities of language models has heightened concerns about their security. As models become more powerful, ensuring their safety has become a crucial focus in research. This paper aims to address gaps in the current literature on jailbreaking techniques and the evaluation of LLM vulnerabilities. Our contributions include the creation of a novel dataset designed to assess the harmfulness of model outputs across multiple harm levels, as well as a focus on fine-grained harm-level analysis. Using this framework, we provide a comprehensive benchmark of state-of-the-art jailbreaking attacks, specifically targeting the Vicuna 13B v1.5 model. Additionally, we examine how quantization techniques, such as AWQ and GPTQ, influence the alignment and robustness of models, revealing trade-offs between enhanced robustness with regards to transfer attacks and potential increases in vulnerability on direct ones. This study aims to demonstrate the influence of harmful input queries on the complexity of jailbreaking techniques, as well as to deepen our understanding of LLM vulnerabilities and improve methods for assessing model robustness when confronted with harmful content, particularly in the context of compression strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。