arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10844cs.CLcs.CRcs.LG
收藏

对抗性攻击揭示的大语言模型漏洞综述

Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks

UC Riverside(加州大学河滨分校)

Erfan Shayegani, Md Abdullah Al Mamun, Yu Fu, Pedram Zaree, Yue Dong, Nael Abu-Ghazaleh

AI总结:

本文系统综述了针对大语言模型的对抗性攻击研究,分类梳理了文本、多模态及复杂系统攻击,并探讨了漏洞根源与防御,为新手提供了结构化入门资源。

摘要:

大语言模型(LLMs)在架构和能力方面正迅速进步,随着它们更深入地集成到复杂系统中,审视其安全属性的紧迫性也在增加。本文综述了针对LLMs的对抗性攻击这一新兴跨学科领域的研究,这是可信机器学习的一个子领域,结合了自然语言处理和安全性的视角。先前的工作表明,即使是经过安全对齐的LLMs(通过指令微调和基于人类反馈的强化学习)也可能容易受到对抗性攻击,这些攻击利用弱点并误导人工智能系统,正如ChatGPT和Bard等模型上普遍存在的“越狱”攻击所证明的那样。在本综述中,我们首先概述大语言模型,描述其安全对齐,并根据不同的学习结构对现有研究进行分类:仅文本攻击、多模态攻击,以及专门针对复杂系统(如联邦学习或多智能体系统)的额外攻击方法。我们还对专注于漏洞根本来源和潜在防御的工作提供了全面评论。为了使这一领域对新入门者更加可及,我们提供了对现有工作的系统性回顾、对抗性攻击概念的结构化类型学,以及额外资源,包括在第62届计算语言学协会年会(ACL'24)上相关主题演示的幻灯片。

英文摘要:

Large Language Models (LLMs) are swiftly advancing in architecture and capability, and as they integrate more deeply into complex systems, the urgency to scrutinize their security properties grows. This paper surveys research in the emerging interdisciplinary field of adversarial attacks on LLMs, a subfield of trustworthy ML, combining the perspectives of Natural Language Processing and Security. Prior work has shown that even safety-aligned LLMs (via instruction tuning and reinforcement learning through human feedback) can be susceptible to adversarial attacks, which exploit weaknesses and mislead AI systems, as evidenced by the prevalence of `jailbreak' attacks on models like ChatGPT and Bard. In this survey, we first provide an overview of large language models, describe their safety alignment, and categorize existing research based on various learning structures: textual-only attacks, multi-modal attacks, and additional attack methods specifically targeting complex systems, such as federated learning or multi-agent systems. We also offer comprehensive remarks on works that focus on the fundamental sources of vulnerabilities and potential defenses. To make this field more accessible to newcomers, we present a systematic review of existing works, a structured typology of adversarial attack concepts, and additional resources, including slides for presentations on related topics at the 62nd Annual Meeting of the Association for Computational Linguistics (ACL'24).

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

↑