Skip to main content
QUICK REVIEW

[論文レビュー] A Cross-Language Investigation into Jailbreak Attacks in Large Language Models

Jie Li, Yi Liu|arXiv (Cornell University)|Jan 30, 2024
Hate Speech and Cyberbullying DetectionComputer Science被引用数 7
ひとこと要約

論文は意味を保持する多言語のジャイルベックデータセットを構築し、オープンソースおよび商用のLLMに対する多言語のジャイルベック防御を評価し、ファインチューニングによる強い緩和効果(攻撃を96.2%減少)を明らかにしている。

ABSTRACT

Large Language Models (LLMs) have become increasingly popular for their advanced text generation capabilities across various domains. However, like any software, they face security challenges, including the risk of 'jailbreak' attacks that manipulate LLMs to produce prohibited content. A particularly underexplored area is the Multilingual Jailbreak attack, where malicious questions are translated into various languages to evade safety filters. Currently, there is a lack of comprehensive empirical studies addressing this specific threat. To address this research gap, we conducted an extensive empirical study on Multilingual Jailbreak attacks. We developed a novel semantic-preserving algorithm to create a multilingual jailbreak dataset and conducted an exhaustive evaluation on both widely-used open-source and commercial LLMs, including GPT-4 and LLaMa. Additionally, we performed interpretability analysis to uncover patterns in Multilingual Jailbreak attacks and implemented a fine-tuning mitigation method. Our findings reveal that our mitigation strategy significantly enhances model defense, reducing the attack success rate by 96.2%. This study provides valuable insights into understanding and mitigating Multilingual Jailbreak attacks.

研究の動機と目的

  • 多言語ジャイルベック benchmarks が不足していることと、多様なLLMに対する評価を解決する。
  • 9言語でのジャイルベックプロンプトの自動的な意味保持多言語データセットを開発する。
  • 多言語ジャイルベック応答の解釈性パターンを分析する。
  • 多言語ジャイルベックに対抗する防御策を提案・評価する。

提案手法

  • 9言語で自動的に意味保持型ジャイルベックデータを新規に生成するアルゴリズムを開発。
  • English malicious questions を Microsoft Translate で翻訳し、類似度ベースのアルゴリズムで翻訳をフィルタリング。
  • 7つのテンプレートと8つの禁止シナリオを用いて、複数のLLMと言語でジャイルベックの成功率を評価。
  • 解釈性技術を適用し、注意メカニズムの可視化と表現分析を行い、多言語ジャイルベック挙動を理解。
  • Vicuna-7B-v1.5 に対してセキュリティファインチューニング(LoRA)を適用し、攻撃率の低減を測定。
Figure 1. Example of jailbreak prompt with jailbreak template and malicious question and Jailbreak prompt with malicious question only. These Jailbreak prompts are adopted in our experiments.
Figure 1. Example of jailbreak prompt with jailbreak template and malicious question and Jailbreak prompt with malicious question only. These Jailbreak prompts are adopted in our experiments.

実験結果

リサーチクエスチョン

  • RQ1RQ1: 異なるLLMと言語に跨る多言語ジャイルベックはどれほど効果的か?
  • RQ2RQ2: 異なる言語でのジャイルベック試行に対するLLMの防御機構にはどのような変動があるか?
  • RQ3RQ3: 多言語LLMジャイルベックを緩和する戦略は何か?

主な発見

  • 9言語にまたがる365の有効な多言語質問の組み合わせからなる多言語データセット。
  • 高パラメータのLLaMA系は、意図的・非意図的両方のシナリオで回避防御を改善。
  • GPT-4は意図的回避でGPT-3.5を上回るが、非意図的なケースでの防御改善は顕著ではない。
  • Vicuna-7B-v1.5 に対するファインチューニング手法(LoRA)は、モデル性能を損なうことなく攻撃成功率を96.2%に大幅に低減。
Figure 2. Example of multilingual LLM jailbreak. The original prompt in English can be identified by LLM but bypasses its safety mechanism when translated into Spanish.
Figure 2. Example of multilingual LLM jailbreak. The original prompt in English can be identified by LLM but bypasses its safety mechanism when translated into Spanish.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。