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

学习对大型语言模型进行投毒以实现下游操纵

Learning to Poison Large Language Models for Downstream Manipulation

Department of Computer Science, Wayne State University(韦恩州立大学计算机科学系);Computer Science and Engineering Department, Oakland University(奥克兰大学计算机科学与工程系);College of Innovation and Technology, University of Michigan-Flint(密歇根大学弗林特分校创新与技术学院)

Xiangyu Zhou, Yao Qiang, Saleh Zare Zade, Mohammad Amin Roshani, Prashant Khanduri, Douglas Zytko, Dongxiao Zhu

AI总结:

本研究提出一种针对LLM监督微调过程的梯度引导后门触发器学习(GBTL)算法,通过高效识别对抗性触发器实现数据投毒攻击,并验证了上下文学习和持续学习两种防御策略的有效性。

摘要:

大型语言模型(LLMs)的出现标志着语言处理和推理能力的重大成就。尽管取得了进步,LLMs 仍面临数据投毒攻击的漏洞,攻击者将后门触发器插入训练数据中以操纵输出。本研究通过设计一种针对监督微调(SFT)过程的新型数据投毒攻击,进一步识别了 LLMs 中的额外安全风险。我们提出了一种新颖的梯度引导后门触发器学习(GBTL)算法,以高效识别对抗性触发器,确保规避传统防御的检测,同时保持内容完整性。通过在包括情感分析、领域生成和问答在内的各种语言模型任务中进行实验验证,我们的投毒策略在破坏各种 LLMs 的输出方面展现出很高的成功率。我们进一步提出了两种针对数据投毒攻击的防御策略,包括上下文学习(ICL)和持续学习(CL),它们有效地纠正了 LLMs 的行为,并显著降低了性能的下降。我们的工作突出了 LLMs 在 SFT 期间存在的重大安全风险,以及保护 LLMs 免受数据投毒攻击的必要性。

英文摘要:

The advent of Large Language Models (LLMs) has marked significant achievements in language processing and reasoning capabilities. Despite their advancements, LLMs face vulnerabilities to data poisoning attacks, where the adversary inserts backdoor triggers into training data to manipulate outputs. This work further identifies additional security risks in LLMs by designing a new data poisoning attack tailored to exploit the supervised fine-tuning (SFT) process. We propose a novel gradient-guided backdoor trigger learning (GBTL) algorithm to identify adversarial triggers efficiently, ensuring an evasion of detection by conventional defenses while maintaining content integrity. Through experimental validation across various language model tasks, including sentiment analysis, domain generation, and question answering, our poisoning strategy demonstrates a high success rate in compromising various LLMs' outputs. We further propose two defense strategies against data poisoning attacks, including in-context learning (ICL) and continuous learning (CL), which effectively rectify the behavior of LLMs and significantly reduce the decline in performance. Our work highlights the significant security risks present during SFT of LLMs and the necessity of safeguarding LLMs against data poisoning attacks.

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

↑