Skip to main content
QUICK REVIEW

[Paper Review] On the Exploitability of Instruction Tuning

Manli Shu, Jiongxiao Wang|arXiv (Cornell University)|Jun 28, 2023
Adversarial Robustness in Machine LearningComputer Science14 citations
TL;DR

The paper introduces AutoPoison, a clean-label data-poisoning pipeline that uses an oracle model to inject exploitable behaviors into instruction-tuned LLMs, demonstrating content injection and over-refusal attacks and showing vulnerability increases with model size.

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 extit{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 \url{https://github.com/azshue/AutoPoison}.

Motivation & Objective

  • Investigate practical poisoning threats on instruction-tuned models via data poisoning.
  • Propose AutoPoison to generate poisoned data using an oracle model.
  • Evaluate the effectiveness and stealthiness of AutoPoison across attack types.
  • Examine how model size and oracle capabilities influence attack susceptibility and data quality implications.

Proposed method

  • Define a black-box, clean-label poisoning threat model for instruction tuning.
  • Develop AutoPoison, which crafts an adversarial context, queries an oracle to obtain a poisoned response, and replaces the original response to form X_adv without revealing the attack.
  • Demonstrate two attack scenarios: content injection and over-refusal, instantiated via the AutoPoison pipeline.
  • Evaluate using OPT model sizes (350M, 1.3B, 6.7B) with GPT-3.5-turbo as the oracle and GPT-4-LLM-derived data, measuring fluency and alignment with target behaviors.
  • Compare AutoPoison to a hand-crafted baseline and assess text quality (PPL, coherence, MAUVE) and task impact across poison ratios.

Experimental results

Research questions

  • RQ1Can a small fraction of poisoned data alter the behavior of instruction-tuned models?
  • RQ2How effective and stealthy is AutoPoison across content injection and over-refusal attacks?
  • RQ3How do model size and oracle capability affect susceptibility to data poisoning in instruction tuning?
  • RQ4Do poisoned models retain fluency and quality while exhibiting exploitable behaviors?

Key findings

  • AutoPoison can change model behavior with a small poison ratio across different model sizes.
  • Larger models show greater susceptibility to content injection attacks.
  • AutoPoison-poisoned models maintain fluency and comparable quality (PPL, coherence, MAUVE) to clean models, outperforming hand-crafted baselines on stealthiness.
  • AutoPoison enables informative refusals in over-refusal attacks, and prompt engineering (AutoPoison-PE) further enhances effectiveness.
  • Content injection with various target contents (including URLs and fictional brands) demonstrates the robustness of the attack across settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.