PromptLocate:定位提示注入攻击
PromptLocate: Localizing Prompt Injection Attacks
AI总结:
提出PromptLocate,首个定位提示注入攻击的方法,通过三步分割与识别,在八种现有及八种自适应攻击中实现准确定位。
摘要:
提示注入攻击通过向输入数据中混入包含注入指令和数据的提示,欺骗大型语言模型执行攻击者指定的任务,而非其预期任务。在受污染数据中定位注入的提示对于攻击后的取证分析和数据恢复至关重要。尽管其重要性日益增长,提示注入定位在很大程度上仍未得到探索。在本工作中,我们通过提出PromptLocate(首个用于定位注入提示的方法)来填补这一空白。PromptLocate包含三个步骤:(1)将受污染数据分割成语义连贯的片段,(2)识别被注入指令污染的片段,以及(3)精确定位被注入数据污染的片段。我们展示了PromptLocate在八种现有攻击和八种自适应攻击中能够准确定位注入的提示。
英文摘要:
Prompt injection attacks deceive a large language model into completing an attacker-specified task instead of its intended task by contaminating its input data with an injected prompt, which consists of injected instruction(s) and data. Localizing the injected prompt within contaminated data is crucial for post-attack forensic analysis and data recovery. Despite its growing importance, prompt injection localization remains largely unexplored. In this work, we bridge this gap by proposing PromptLocate, the first method for localizing injected prompts. PromptLocate comprises three steps: (1) splitting the contaminated data into semantically coherent segments, (2) identifying segments contaminated by injected instructions, and (3) pinpointing segments contaminated by injected data. We show PromptLocate accurately localizes injected prompts across eight existing and eight adaptive attacks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。