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

大型语言模型对抗对抗性攻击的鲁棒性

Robustness of Large Language Models Against Adversarial Attacks

Johns Hopkins University(约翰斯·霍普金斯大学);University of Amsterdam(阿姆斯特丹大学);University of California San Diego(加利福尼亚大学圣迭戈分校);Simon Fraser University(西蒙菲莎大学);Duke University(杜克大学)

Yiyi Tao, Yixian Shen, Hang Zhang, Yanxin Shen, Lun Wang, Chuanqi Shi, Shaoshuai Du

AI总结:

本文全面研究了GPT LLM家族对抗对抗性攻击的鲁棒性,通过字符级文本攻击和越狱提示两种方法评估,发现模型存在不同程度的脆弱性,强调了改进对抗训练与安全机制的必要性。

摘要:

大型语言模型(LLMs)在各应用中的日益普及,需要严格评估其对抗对抗性攻击的鲁棒性。本文对 GPT LLM 家族的鲁棒性进行了全面研究。我们采用两种不同的评估方法来评估其弹性。第一种方法在输入提示中引入字符级文本攻击,在三个情感分类数据集上测试模型:StanfordNLP/IMDB、Yelp Reviews 和 SST-2。第二种方法涉及使用越狱提示来挑战 LLMs 的安全机制。我们的实验揭示了这些模型在鲁棒性上的显著差异,表明它们对字符级和语义级对抗性攻击具有不同程度的脆弱性。这些发现强调了改进对抗性训练和增强安全机制以巩固 LLMs 鲁棒性的必要性。

英文摘要:

The increasing deployment of Large Language Models (LLMs) in various applications necessitates a rigorous evaluation of their robustness against adversarial attacks. In this paper, we present a comprehensive study on the robustness of GPT LLM family. We employ two distinct evaluation methods to assess their resilience. The first method introduce character-level text attack in input prompts, testing the models on three sentiment classification datasets: StanfordNLP/IMDB, Yelp Reviews, and SST-2. The second method involves using jailbreak prompts to challenge the safety mechanisms of the LLMs. Our experiments reveal significant variations in the robustness of these models, demonstrating their varying degrees of vulnerability to both character-level and semantic-level adversarial attacks. These findings underscore the necessity for improved adversarial training and enhanced safety mechanisms to bolster the robustness of LLMs.

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

↑