[論文レビュー] Jailbreak Attacks and Defenses Against Large Language Models: A Survey
LLMsのジャイルブレイク攻撃と防御手法の包括的な分類、ホワイトボックス/ブラックボックス攻撃、プロンプト/モデル防御、評価アプローチ、攻撃防御の関係とベンチマークに関する洞察。
Large Language Models (LLMs) have performed exceptionally in various text-generative tasks, including question answering, translation, code completion, etc. However, the over-assistance of LLMs has raised the challenge of "jailbreaking", which induces the model to generate malicious responses against the usage policy and society by designing adversarial prompts. With the emergence of jailbreak attack methods exploiting different vulnerabilities in LLMs, the corresponding safety alignment measures are also evolving. In this paper, we propose a comprehensive and detailed taxonomy of jailbreak attack and defense methods. For instance, the attack methods are divided into black-box and white-box attacks based on the transparency of the target model. Meanwhile, we classify defense methods into prompt-level and model-level defenses. Additionally, we further subdivide these attack and defense methods into distinct sub-classes and present a coherent diagram illustrating their relationships. We also conduct an investigation into the current evaluation methods and compare them from different perspectives. Our findings aim to inspire future research and practical implementations in safeguarding LLMs against adversarial attacks. Above all, although jailbreak remains a significant concern within the community, we believe that our work enhances the understanding of this domain and provides a foundation for developing more secure LLMs.
研究の動機と目的
- ジャイルブレイク攻撃手法(ホワイトボックスおよびブラックボックス)と防御手法(プロンプトレベルおよびモデルレベル)の体系的分類を提供する。
- 攻撃技術と防御技術の関係を整理し、防御の他アプリケーションへの適用可能性を特定する。
- ジャイルブレイク研究で用いられる現行の評価指標、ベンチマーク、データセットを要約する。
- LLMの安全性とセキュリティを改善するための脆弱性と今後の方向性を強調する。
提案手法
- 攻撃手法をホワイトボックス(勾配ベース、ロジットベース、ファインチューニングベース)とブラックボックス(テンプレート完了、プロンプト書換え、LLMベース生成)に分類する。
- 防御をプロンプトレベル(検出、摂動、システムプロンプト)とモデルレベル(教師ありファインチューニング、RLHF、勾配/ロジット分析、代理防御)に分類する。
- 関係性の一貫した図(図1)とジャイルブレイク攻撃の分類図(図2)を提供する。
- 代表的な研究を含む様々なサブクラスを調査し、核心的なアイデアと成果を概説する。
- ジャイルブレイク研究で用いられる評価方法、指標、ベンチマークを要約する。

実験結果
リサーチクエスチョン
- RQ1LLMに対するジャイルブレイク攻撃手法の主なカテゴリとサブカテゴリは何か?
- RQ2プロンプトレベルとモデルレベルの防御は何があり、それらは特定の攻撃とどう関連するか?
- RQ3現在の評価手法はジャイルブレイクの有効性と安全性の堅牢性をどう評価しているか?
- RQ4攻撃タイプ全体での主要な脆弱性は何で、防御は攻撃間で一般化できるか?
- RQ5将来の方向性はLLMのジャイルブレイクに対する安全性を強化できるか?
主な発見
- ジャイルブレイク手法は白箱と黒箱に効果的に分類され、勾配、ロジット、ファインチューニング、テンプレート完了、プロンプト書換え、LLM主導生成の複数のサブクラスが存在する。
- 防御はプロンプトレベル(検出、摂動、システムプロンプト)とモデルレベル(教師ありファインチューニング、RLHF、勾配/ロジット分析、代理防御)で機能し、クロスアタック効果を示す。
- 新しい攻撃は読みやすく効率的な対抗プロンプト(AutoDAN、ARCA)を強調し、デコード、多言語、コード関連の脆弱性を利用して安全策を回避する。
- ファインチューニングベースの攻撃は悪意データが比較的小量でも安全性整合性を低下させるのに非常に効果的で、緊急の防御ニーズを高める。
- コンテキストとインコンテキストのジャイルブレイク(シナリオ nesting, in-context attacks)とコード挿入アプローチは、直接的なプロンプト操作を超えた攻撃面を進化させている。
- Cipherやその他の自然言語以外のプロンプト形式(ASCIIアート、暗号化ベースのプロンプト)は、非英語入力やエンコードされた入力に対する現状の安全性整合のギャップを露呈させる。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。