Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection
Jun Yan, Vikas Yadav, Shiyang Li, Lichang Chen, Zheng Tang, Hai Wang,, Vijay Srinivasan, Xiang Ren, Hongxia Jin

TL;DR
This paper introduces Virtual Prompt Injection, a novel backdoor attack on instruction-tuned LLMs, demonstrating how poisoning small amounts of training data can steer models' responses maliciously, and proposes data filtering as a defense.
Contribution
The paper formalizes Virtual Prompt Injection as a new backdoor attack for instruction-tuned LLMs, demonstrating its effectiveness and proposing a defense strategy through data filtering.
Findings
Poisoning 0.1% of training data can significantly alter model responses.
VPI enables steering without input injection, affecting model outputs.
Data filtering can mitigate the backdoor attack.
Abstract
Instruction-tuned Large Language Models (LLMs) have become a ubiquitous platform for open-ended applications due to their ability to modulate responses based on human instructions. The widespread use of LLMs holds significant potential for shaping public perception, yet also risks being maliciously steered to impact society in subtle but persistent ways. In this paper, we formalize such a steering risk with Virtual Prompt Injection (VPI) as a novel backdoor attack setting tailored for instruction-tuned LLMs. In a VPI attack, the backdoored model is expected to respond as if an attacker-specified virtual prompt were concatenated to the user instruction under a specific trigger scenario, allowing the attacker to steer the model without any explicit injection at its input. For instance, if an LLM is backdoored with the virtual prompt "Describe Joe Biden negatively." for the trigger…
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
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Topic Modeling · Ferroelectric and Negative Capacitance Devices
