[論文レビュー] On the Exploitability of Instruction Tuning
本論文は AutoPoison を紹介する。クリーンラベルのデータ汚染パイプラインで、オラクルモデルを用いて命令調整済みLLMに利用可能な振る舞いを注入し、コンテンツ注入と過度拒否攻撃を実証し、モデルサイズが大きくなるほど脆弱性が高まることを示している。
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}.
研究の動機と目的
- データ汚染を通じた命令調整モデルに対する実践的な汚染脅威を調査する。
- オラクルモデルを用いて汚染データを生成する AutoPoison を提案する。
- 攻撃タイプを横断して AutoPoison の有効性と潜伏性を評価する。
- モデルサイズとオラクル機能が攻撃感受性とデータ品質への影響に与える影響を検討する。
提案手法
- 命令調整のためのブラックボックスでクリーンラベルの汚染脅威モデルを定義する。
- 攻撃的な文脈を作成し、オラクルに汚染された応答を取得させ、攻撃を明らかにせず元の応答を置換して X_adv を形成する AutoPoison を開発する。
- AutoPoison パイプラインを介して実装されたコンテンツ注入と過度拒否の2つの攻撃シナリオを実演する。
- GPT-3.5-turbo をオラクルとして、GPT-4-LLM由来データを用い、OPT のモデルサイズ(350M、1.3B、6.7B)を用いて、流暢さとターゲット振る舞いとの整合性を測定して評価する。
- AutoPoison を手作りのベースラインと比較し、汚染比率ごとの文章品質(PPL、コヒーレンス、MAUVE)とタスク影響を評価する。
実験結果
リサーチクエスチョン
- RQ1少量の汚染データが命令調整モデルの挙動を変えることができるか?
- RQ2コンテンツ注入と過度拒否攻撃の両方において AutoPoison はどれほど有効で潜伏的か?
- RQ3命令調整におけるデータ汚染の感受性は、モデルサイズとオラクル機能によってどう変化するか?
- RQ4汚染されたモデルは、利用可能な振る舞いを示しつつも流暢さと品質を維持しているか?
主な発見
- AutoPoison は異なるモデルサイズで、少量の汚染比率でもモデルの挙動を変えられる。
- 大規模モデルはコンテンツ注入攻撃に対してより感受性が高い。
- AutoPoison 汚染モデルは流暢さと同等の品質(PPL、コヒーレンス、MAUVE)を維持し、潜伏性で手作りベースラインを上回る。
- AutoPoison は過度拒否攻撃で有益な拒否を可能にし、プロンプトエンジニアリング(AutoPoison-PE)により効果がさらに高まる。
- さまざまなターゲット内容(URL や架空ブランドを含む)でのコンテンツ注入は、設定を横断して攻撃の堅牢性を示している。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。