PPT: Backdoor Attacks on Pre-Trained Models via Poisoned Prompt Tuning

Abstract

Recently, prompt tuning has shown remarkable performance as a new learning paradigm, which freezes pre-trained language models (PLMs) and only tunes some soft prompts. A fixed PLM only needs to be loaded with different prompts to adapt different downstream tasks. However, the prompts associated with PLMs may be added with some malicious behaviors, such as backdoors. The victim model will be implanted with a backdoor by using the poisoned prompt. In this paper, we propose to obtain the poisoned prompt for PLMs and corresponding downstream tasks by prompt tuning. We name this Poisoned Prompt Tuning method "PPT". The poisoned prompt can lead a shortcut between the specific trigger word and the target label word to be created for the PLM. So the attacker can simply manipulate the prediction of the entire model by just a small prompt. Our experiments on various text classification tasks show that PPT can achieve a 99% attack success rate with almost no accuracy sacrificed on original task. We hope this work can raise the awareness of the possible security threats hidden in the prompt.

Cite

Text

Du et al. "PPT: Backdoor Attacks on Pre-Trained Models via Poisoned Prompt Tuning." International Joint Conference on Artificial Intelligence, 2022. doi:10.24963/IJCAI.2022/96

Markdown

[Du et al. "PPT: Backdoor Attacks on Pre-Trained Models via Poisoned Prompt Tuning." International Joint Conference on Artificial Intelligence, 2022.](https://mlanthology.org/ijcai/2022/du2022ijcai-ppt/) doi:10.24963/IJCAI.2022/96

BibTeX

@inproceedings{du2022ijcai-ppt,
  title     = {{PPT: Backdoor Attacks on Pre-Trained Models via Poisoned Prompt Tuning}},
  author    = {Du, Wei and Zhao, Yichun and Li, Boqun and Liu, Gongshen and Wang, Shilin},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2022},
  pages     = {680-686},
  doi       = {10.24963/IJCAI.2022/96},
  url       = {https://mlanthology.org/ijcai/2022/du2022ijcai-ppt/}
}