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

PoisonPrompt:针对基于提示的大语言模型的后门攻击

PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models

Zhejiang University(浙江大学);ZJU-Hangzhou Global Scientific and Technological Innovation Center(浙江大学杭州国际科创中心)

Hongwei Yao, Jian Lou, Zhan Qin

AI总结:

本文提出新型后门攻击方法POISONPROMPT,可攻破基于硬、软提示的大语言模型,经多数据集、多模型和多提示方法的实验验证其有效性,揭示了该类模型的潜在安全风险。

摘要:

近年来,提示显著提升了预训练大语言模型(LLMs)在各类下游任务上的性能,在各类LLM应用场景中愈发不可或缺。然而,后门漏洞这一可恶意篡改受害模型正常预测结果的严重安全威胁,在基于提示的LLMs中尚未得到充分研究。本文提出了POISONPROMPT,这是一种新型后门攻击,能够成功攻破基于硬提示和软提示的LLMs。我们通过在三种主流提示方法上开展大量实验,使用六个数据集和三款常用LLM,评估了POISONPROMPT的有效性、保真性和鲁棒性。研究结果揭示了基于提示的LLMs面临的后门攻击潜在安全威胁,强调了该领域进一步研究的必要性。

英文摘要:

Prompts have significantly improved the performance of pretrained Large Language Models (LLMs) on various downstream tasks recently, making them increasingly indispensable for a diverse range of LLM application scenarios. However, the backdoor vulnerability, a serious security threat that can maliciously alter the victim model's normal predictions, has not been sufficiently explored for prompt-based LLMs. In this paper, we present POISONPROMPT, a novel backdoor attack capable of successfully compromising both hard and soft prompt-based LLMs. We evaluate the effectiveness, fidelity, and robustness of POISONPROMPT through extensive experiments on three popular prompt methods, using six datasets and three widely used LLMs. Our findings highlight the potential security threats posed by backdoor attacks on prompt-based LLMs and emphasize the need for further research in this area.

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

↑