TensorX
返回文献探索

Paper · arXiv 2306.17194

On the Exploitability of Instruction Tuning

Manli Shu, Jiongxiao Wang, Chen Zhu, Jonas Geiping, Chaowei Xiao, Tom Goldstein

9 upvotesJune 28, 2023arXiv 预印本
AI 摘要

AutoPoison, an automated data poisoning pipeline, allows adversaries to exploit instruction tuning by injecting specific examples into training data, thereby altering the model's behavior with minimal data and high stealth.

instruction tuninglarge language modelsdata poisoningoracle LLMcontent injectionover-refusal attacks

Abstract

Instruction tuning is an effective technique to align large language models (LLMs) with human intents. In this work, we investigate how an adversary can exploit instruction tuning by injecting specific instruction-following examples into the training data that intentionally changes the model's behavior. For example, an adversary can achieve content injection by injecting training examples that mention target content and eliciting such behavior from downstream models. To achieve this goal, we propose AutoPoison, an automated data poisoning pipeline. It naturally and coherently incorporates versatile attack goals into poisoned data with the help of an oracle LLM. We showcase two example attacks: content injection and over-refusal attacks, each aiming to induce a specific exploitable behavior. We quantify and benchmark the strength and the stealthiness of our data poisoning scheme. Our results show that AutoPoison allows an adversary to change a model's behavior by poisoning only a small fraction of data while maintaining a high level of stealthiness in the poisoned examples. We hope our work sheds light on how data quality affects the behavior of instruction-tuned models and raises awareness of the importance of data quality for responsible deployments of LLMs. Code is available at https://github.com/azshue/AutoPoison.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
On the Exploitability of Instruction Tuning | TensorX