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

后门驱动的提示注入攻击使防御方法失效

Backdoor-Powered Prompt Injection Attacks Nullify Defense Methods

National University of Singapore(新加坡国立大学);HKUST(香港科技大学)

Yulin Chen, Haoran Li, Yuan Sui, Yangqiu Song, Bryan Hooi

AI总结:

本文提出后门驱动的提示注入攻击,通过污染监督微调样本植入触发器,使现有提示注入防御及指令层次技术失效,并构建基准验证其更强危害性。

摘要:

随着技术的发展,大语言模型(LLM)已经主导了下游自然语言处理(NLP)任务。然而,由于LLM具备指令遵循能力,却无法区分数据内容(例如来自搜索引擎的网页)中的指令,因此LLM容易受到提示注入攻击。这类攻击诱骗LLM偏离原始输入指令,并执行攻击者的目标指令。近来,研究者提出了多种指令层次防御策略,通过微调有效防御提示注入攻击。本文探讨更恶劣的攻击,它们会使提示注入防御方法乃至指令层次失效:即后门驱动的提示注入攻击,攻击者利用后门攻击来实现提示注入攻击目的。具体而言,攻击者对监督微调样本投毒,并将后门植入模型。一旦触发器被激活,被植入后门的模型就会执行被触发器包围的注入指令。我们构建了一个用于全面评估的基准。实验表明,后门驱动的提示注入攻击比以往的提示注入攻击更具危害性,可使现有提示注入防御方法乃至指令层次技术失效。

英文摘要:

With the development of technology, large language models (LLMs) have dominated the downstream natural language processing (NLP) tasks. However, because of the LLMs' instruction-following abilities and inability to distinguish the instructions in the data content, such as web pages from search engines, the LLMs are vulnerable to prompt injection attacks. These attacks trick the LLMs into deviating from the original input instruction and executing the attackers' target instruction. Recently, various instruction hierarchy defense strategies are proposed to effectively defend against prompt injection attacks via fine-tuning. In this paper, we explore more vicious attacks that nullify the prompt injection defense methods, even the instruction hierarchy: backdoor-powered prompt injection attacks, where the attackers utilize the backdoor attack for prompt injection attack purposes. Specifically, the attackers poison the supervised fine-tuning samples and insert the backdoor into the model. Once the trigger is activated, the backdoored model executes the injected instruction surrounded by the trigger. We construct a benchmark for comprehensive evaluation. Our experiments demonstrate that backdoor-powered prompt injection attacks are more harmful than previous prompt injection attacks, nullifying existing prompt injection defense methods, even the instruction hierarchy techniques.

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

↑