arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.11587cs.CLcs.CR
收藏

大型语言模型是优秀的攻击者:高效且隐蔽的文本后门攻击

Large Language Models are Good Attackers: Efficient and Stealthy Textual Backdoor Attacks

Nanjing University of Information Science and Technology(南京信息工程大学);University of Science and Technology of China(中国科学技术大学)

Ziqiang Li, Yueqi Zeng, Pengfei Xia, Lei Liu, Zhangjie Fu, Bin Li

AI总结:

本文提出利用大型语言模型的高效隐蔽文本后门攻击方法EST-Bad,通过优化模型固有缺陷作为触发器、隐蔽注入触发器和精选样本三大策略,在保持攻击性能的同时显著提升了隐蔽性。

摘要:

随着自然语言处理(NLP)领域的蓬勃发展,对训练数据的需求显著增加。为了节省成本,用户和企业将数据收集这一劳动密集型任务外包给第三方实体已成为普遍做法。不幸的是,最近的研究揭示了这种做法的固有风险,特别是使NLP系统面临潜在的后门攻击。具体而言,这些攻击通过毒化一小部分训练数据,实现对训练模型行为的恶意控制。与计算机视觉中的后门攻击不同,文本后门攻击对攻击隐蔽性有严格要求。然而,现有的攻击方法在有效性和隐蔽性之间存在显著的权衡,这在很大程度上归因于文本数据固有的高信息熵。在本文中,我们引入了利用大型语言模型(LLMs)的高效且隐蔽的文本后门攻击方法EST-Bad。我们的EST-Bad包含三个核心策略:优化模型的固有缺陷作为触发器,利用LLMs隐蔽地注入触发器,以及精心挑选最具影响力的样本进行后门注入。通过整合这些技术,EST-Bad在多种文本分类器数据集上展现出高效的攻击性能,同时与现有方法相比保持了卓越的隐蔽性。

英文摘要:

With the burgeoning advancements in the field of natural language processing (NLP), the demand for training data has increased significantly. To save costs, it has become common for users and businesses to outsource the labor-intensive task of data collection to third-party entities. Unfortunately, recent research has unveiled the inherent risk associated with this practice, particularly in exposing NLP systems to potential backdoor attacks. Specifically, these attacks enable malicious control over the behavior of a trained model by poisoning a small portion of the training data. Unlike backdoor attacks in computer vision, textual backdoor attacks impose stringent requirements for attack stealthiness. However, existing attack methods meet significant trade-off between effectiveness and stealthiness, largely due to the high information entropy inherent in textual data. In this paper, we introduce the Efficient and Stealthy Textual backdoor attack method, EST-Bad, leveraging Large Language Models (LLMs). Our EST-Bad encompasses three core strategies: optimizing the inherent flaw of models as the trigger, stealthily injecting triggers with LLMs, and meticulously selecting the most impactful samples for backdoor injection. Through the integration of these techniques, EST-Bad demonstrates an efficient achievement of competitive attack performance while maintaining superior stealthiness compared to prior methods across various text classifier datasets.

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

↑