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

LLM安全性的演变:对劫持攻击及防御的研究

Evolving Security in LLMs: A Study of Jailbreak Attacks and Defenses

Cornell University Ithaca, NY;Department of Computer Science \& Engineering University of Minnesota -- Twin Cities Minneapolis, MN

Zhengchun Shang, Wenlan Wei, Weiheng Bai

AI总结:

本文研究了LLM安全性的演变,分析了劫持攻击的检测技术,并探讨了模型版本、大小及多防御策略对安全性的综合影响。

摘要:

大型语言模型(LLMs)日益流行,驱动着广泛的应用。其广泛应用引发了担忧,尤其是通过劫持攻击绕过安全措施生成有害内容。在本文中,我们对大型语言模型(LLMs)进行了全面的安全性分析,探讨了模型安全性的演变和决定因素。具体来说,我们首先确定了检测劫持攻击最有效的技术。接着,我们调查了新版本的LLMs是否比其前身提供了更好的安全性。我们还评估了模型大小对整体安全性的影晌,并探讨了整合多种防御策略以提高安全性的潜在好处。我们的研究通过使用四种最先进的攻击技术,并评估三种新的防御方法,对开源(如LLaMA和Mistral)和闭源模型(如GPT-4)进行了评估。

英文摘要:

Large Language Models (LLMs) are increasingly popular, powering a wide range of applications. Their widespread use has sparked concerns, especially through jailbreak attacks that bypass safety measures to produce harmful content. In this paper, we present a comprehensive security analysis of large language models (LLMs), addressing critical research questions on the evolution and determinants of model safety. Specifically, we begin by identifying the most effective techniques for detecting jailbreak attacks. Next, we investigate whether newer versions of LLMs offer improved security compared to their predecessors. We also assess the impact of model size on overall security and explore the potential benefits of integrating multiple defense strategies to enhance the security. Our study evaluates both open-source (e.g., LLaMA and Mistral) and closed-source models (e.g., GPT-4) by employing four state-of-the-art attack techniques and assessing the efficacy of three new defensive approaches.

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

↑