Instruction Backdoor Attacks Against Customized LLMs
Rui Zhang, Hongwei Li, Rui Wen, Wenbo Jiang, Yuan Zhang, Michael, Backes, Yun Shen, Yang Zhang

TL;DR
This paper introduces novel instruction backdoor attacks on customized LLMs like GPTs, demonstrating their effectiveness and proposing defenses, thereby exposing security vulnerabilities in third-party LLM applications.
Contribution
It presents the first instruction backdoor attack methods against untrusted customized LLMs, using prompt-based triggers without modifying the core models.
Findings
Attacks are effective across multiple LLMs and datasets.
Proposed defenses can significantly reduce attack success.
Backdoor attacks do not impair model utility.
Abstract
The increasing demand for customized Large Language Models (LLMs) has led to the development of solutions like GPTs. These solutions facilitate tailored LLM creation via natural language prompts without coding. However, the trustworthiness of third-party custom versions of LLMs remains an essential concern. In this paper, we propose the first instruction backdoor attacks against applications integrated with untrusted customized LLMs (e.g., GPTs). Specifically, these attacks embed the backdoor into the custom version of LLMs by designing prompts with backdoor instructions, outputting the attacker's desired result when inputs contain the pre-defined triggers. Our attack includes 3 levels of attacks: word-level, syntax-level, and semantic-level, which adopt different types of triggers with progressive stealthiness. We stress that our attacks do not require fine-tuning or any modification…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
