arXiv論文メモ
新着一覧
cs.CR / cs.AI · 査読状況未確認

プロンプト攻撃検出器の判断根拠と見逃しを分析

Decoding Guardrails: XAI-Guided Perturbation Analysis of Prompt Injection Detection

Fernando Outeda, Gustavo Betarte, Juan Diego Campo, Fiorella Cravero

この論文をやさしく読む

ひとことで言うと

攻撃的な入力を見つける分類器が、どの言葉を手がかりに判断しているかを調べた研究です。文の言い換えによって検出結果が変わる場合も確認しています。

何に役立つ?

ガードレールを評価する際に、既知の攻撃文だけでなく、表現が変わった入力にも検出が安定して働くかを点検する根拠になります。説明機能の公開が防御に与える影響も検討できます。

この研究の面白いところ

判定が多くのトークンに分散して支えられていても、語彙の変化に対して頑健とは限らない点を示しています。判断の透明化に使う手法そのものが、回避しやすさにも関係します。

どこまで分かった?

Prompt Guard 2を対象とする探索的な事例研究です。分類器の予測反転と背後のLLMのジェイルブレイクは別の結果で、後者は一部のケースで確認されたとされています。要旨には成功率の具体値や全ガードレールへの一般化は示されていません。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

大規模言語モデル(LLM)が本番システムに導入される機会が増えるにつれ、プロンプトインジェクションやジェイルブレイク攻撃による敵対的な操作への懸念も高まっている。Prompt Guard 2などの分類器に基づくガードレールは、こうした攻撃に対する最初の防御として広く用いられているが、その内部の判断論理は、防御側にも攻撃側にもほとんど見えない。 本論文では、説明可能な人工知能(XAI)の手法を用い、Prompt Guard 2が悪意あるプロンプトと無害なプロンプトをどのように区別しているかを分析する探索的な事例研究を示す。この問いを実証的に調べるため、4つの実験を行った。Vanilla GradientとSHAPによる寄与度分析から、Prompt Guard 2の判断は少数の支配的なトークンではなく、多数のトークンの累積的な寄与に依存することが分かった。それにもかかわらず、顕著性に基づく同義語への置換や文単位の言い換えにより、テキストの中程度の割合だけを変更して予測を反転させることができ、場合によっては背後のLLMに対するジェイルブレイクにも成功した。 データセット全体での顕著性分析では、検出されないインジェクション・プロンプトには、分類器が依存する語彙上の目印が系統的に欠けていることも示された。これらの知見が分類器型ガードレールの設計と評価に与える意味を論じ、透明性を支えるための説明手法が、同時に敵対的な回避を成功させるための構築コストを下げ得ると主張する。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-21(UTC)
最新改訂
2026-09-21 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Large language models (LLMs) are increasingly deployed in production systems, raising concerns about their exposure to adversarial manipulation through prompt injection and jailbreak attacks. Classifier-based guardrails, such as Prompt Guard 2, are widely used as a first line of defense against such attacks, but their internal decision logic is largely opaque to both defenders and attackers. This paper presents an exploratory case study that applies explainable artificial intelligence (XAI) techniques to analyze how Prompt Guard 2 distinguishes malicious from benign prompts. We conduct four experiments to probe this question empirically. Guided by Vanilla Gradient and SHAP attributions, we find that Prompt Guard 2's decisions rely on the cumulative contribution of many tokens rather than a few dominant ones, yet saliency-guided synonym substitution and sentence-level paraphrasing can flip its predictions while altering only a moderate fraction of the text, in some cases yielding a successful jailbreak against the underlying LLM. A dataset-scale saliency analysis further shows that undetected injection prompts systematically lack the lexical markers the classifier relies on. We discuss the implications of these findings for the design and evaluation of classifier-based guardrails, and argue that explanation methods intended to support transparency can simultaneously lower the cost of constructing successful adversarial bypasses.

arXiv ID: 2609.24801 / 要約の誤りについて