# Risk-certified prompt optimization for LLM-as-a-judge guardrails

LLM-as-a-judge ガードレールのためのリスク認証付きプロンプト最適化

Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack ほか1名 · arXiv · 2026年11月15日

- **課題** LLM ガードレールの missed-attack rate を統計的に保証しつつ、システムプロンプトで benign utility を最大化するのは困難です。
- **手法** CPS は、システムプロンプトの候補を作り、Clopper–Pearson 上限と Bonferroni 補正で認証します。CRISP は、リスクのフィードバックを使ってプロンプトを書き直す手法です。
- **結果** BIPIA で gpt-4o-mini を判定器とし α=0.20 とした場合、CRISP は R=0.11、U=0.86 でした。CPS は 12 個のプロンプトインジェクション設定のうち 4 個で、認証された候補がありませんでした。

## プロンプトベースのガードレールにおけるリスク制約問題

LLM-as-a-judge ガードレールでは、汎用モデルにシステムプロンプトだけを与え、入力を BLOCK か ALLOW に判定させます。悪性入力を見逃す割合（missed-attack rate）と、良性入力を通してしまう割合（benign pass rate）はコストが異なるため、平均誤りを最小化する既存のプロンプト最適化は適していません。この論文では、missed-attack rate R を利用者が指定した水準 α 以下に抑え、その範囲内で benign utility U を最大化する問題として扱います。

判定器が連続スコアを返さない場合、閾値を調整する既存のリスク制御手法は使えません。論文では、このとき残る制御手段はシステムプロンプトだけであり、プロンプト空間は離散的で順序もないため、探索問題になると説明しています。

## CPS：固定候補プールを作ってから認証する

CPS はまず、訓練データのブートストラップ標本ごとに GEPA を実行し、固定された候補プロンプトのプールを作ります。このプールは校正データを読む前に完成するため、候補集合は校正データに依存しません。

次に、各候補について悪性の校正サンプルで missed-attack 数 k\_p を数え、Bonferroni 補正した水準 δ\_R/N で Clopper–Pearson 上限 R\_ucb を計算します。R\_ucb が α 以下の候補だけを認証集合 C に残し、認証された候補のうち、良性の校正データで測った benign utility が最も高いプロンプトを選びます。認証集合が空の場合、CPS は判定を見送ります。

![Figure 1: CPS: fixed-pool prompt generation, risk certification, and utility-based selection](https://refivu.com/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3/figures/figure-ecce35ea21fe950d8906d536a0441174.png?thumb=512)

**Figure 1** : CPS: fixed-pool prompt generation, risk certification, and utility-based selection.

[出典](https://arxiv.org/abs/2611.20156v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel · Risk-certified prompt optimization for LLM-as-a-judge guardrails · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。

## CRISP：リスクのフィードバックでプロンプトを書き直す

CRISP は CPS の限界に対処します。固定プールに認証可能で効用の高い候補がなければ、認証だけではそのような候補は作れないためです。CRISP は、探索の途中で得たリスクの認証結果を、プロンプト生成に再び与えます。

認証された候補集合 C\_t と、認証されていない集合 U\_t に分けます。認証済みのプロンプトは utility が上がるように、未認証のプロンプトはリスクが下がるように書き直されます。utility 側では、訓練データで過剰に遮断された良性の例を通すように、リスク側では、見逃した攻撃を遮断するように、LLM を 1 回呼び出して修正します。各提案は Guess-and-Check によってリスクの上限を得ます。この手続きは訓練データで推定し、保護された holdout は反復的な検査にのみ使います。悪性 holdout の結果は限定的な形でしか示されません。良性の校正サンプルは、最終選択まで使用しません。

![Figure 2: CRISP: adaptive prompt search with reusable-holdout risk certification](https://refivu.com/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3/figures/figure-e3dfcfea22d5d813e1c8437242cce5e2.png?thumb=512)

**Figure 2** : CRISP: adaptive prompt search with reusable-holdout risk certification.

[出典](https://arxiv.org/abs/2611.20156v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel · Risk-certified prompt optimization for LLM-as-a-judge guardrails · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

## プロンプトインジェクションの結果

BIPIA と Deepset で、α を 0.10、0.20、0.30 に変えて実験しました。gpt-4o-mini を判定器に使った BIPIA の α=0.20 の設定では、CRISP が R=0.11、U=0.86 でした。同じ設定での ProTeGi は R=0.19、U=0.80 でした。

![Table 1: Prompt-injection test results. Target risk levels:α∈ {0.10,0.20,0.30}](https://refivu.com/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3/figures/figure-1e640bb92ad31bbf91034bd06abbe204.png?thumb=512)

**Table 1** : Prompt-injection test results. Target risk levels:α∈ {0.10,0.20,0.30}.

[出典](https://arxiv.org/abs/2611.20156v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel · Risk-certified prompt optimization for LLM-as-a-judge guardrails · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

CPS は、プロンプトインジェクションの 12 設定のうち 4 設定で認証された候補が空でした。一方、CRISP は 12 設定すべてでプロンプトを認証できました。著者らはこの差を、固定プールの生成上の限界が CPS の空の認証集合として現れたものだと解釈しており、その解釈と結果は一致しています。

## 出力ガードレールと頑健性の診断

この設定では、CPS と CRISP は目標リスクを守りましたが、すべての比較で基準手法を上回ったわけではありません。

![Table 2: Output-guardrail test results](https://refivu.com/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3/figures/figure-4a9fc0cbef38d1e691bd5b29d183d626.png?thumb=512)

**Table 2** : Output-guardrail test results

[出典](https://arxiv.org/abs/2611.20156v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel · Risk-certified prompt optimization for LLM-as-a-judge guardrails · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

Best-of-N jailbreaking の診断では、攻撃者が複数回問い合わせできる場合の missed-attack rate を見ました。CRISP（α=0.10）は N=100 まで 0.07 以下を保ちました。ただし、この診断は認証による保証とは別の、頑健性の確認です。

![Figure 3: Best-of-Njailbreaking on BIPIA. Missed-attack risk as a function of the attacker query budgetN, using gpt-4o-mini as the judge](https://refivu.com/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3/figures/figure-98ec2ad7fe7071c878e72d3dd41b7dec.png?thumb=512)

**Figure 3** : Best-of-Njailbreaking on BIPIA. Missed-attack risk as a function of the attacker query budgetN, using gpt-4o-mini as the judge.

[出典](https://arxiv.org/abs/2611.20156v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel · Risk-certified prompt optimization for LLM-as-a-judge guardrails · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

## 保証の適用範囲と限界

(α, ϵ, δ)-valid の保証は、校正データが i.i.d. 分布から得られたという仮定（Assumption 1）に依存します。攻撃の構成や判定モデルが変わると、認証は無効になる可能性があります。複数回問い合わせる攻撃者に対しては、認証の保証は適用されません。

また、固定プールに効用の高い認証候補がない場合、CPS は空の集合を返します。校正集合が小さいと、Clopper–Pearson と GnC の上限は保守的になります。この論文は、二値判定、greedy デコーディング、単一の missed-attack 制約に限定しています。

## 論文情報

- **著者**: Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月15日
- **登録日**: 2026年11月17日
- **更新日**: 2026年11月15日
- **バージョン**: v1
- **arXiv**: 2611.20156
- **カテゴリ**: cs.CL · cs.LG
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.20156v1) · [PDF ↗](https://arxiv.org/pdf/2611.20156v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

LLM-as-a-judge guardrails are often controlled primarily through system prompts, yet standard prompt optimization methods target average performance rather than explicit safety constraints. This paper studies system-prompt selection as a constrained optimization problem: maximize benign pass rate while keeping the missed-attack rate below a user-specified level α with finite-sample statistical control. The framework combines LLM-based judging, automatic prompt generation, and distribution-free risk certification. This work instantiates it in two procedures: CPS and CRISP. CPS generates a fixed pool of prompts from training data, then certifies candidates on a held-out evaluation set using simultaneous upper confidence bounds and selects the certified prompt with the highest benign utility. CRISP instead integrates risk feedback into an adaptive search, using hard example-guided rewriting and a reusable-holdout interface to steer generation toward the feasible utility frontier. Experiments on four datasets covering prompt injection, system-prompt leakage, and sensitive-information disclosure show that risk-certified selection consistently respects the target missed-attack level on heldout tests, while utility improves as the permitted risk is relaxed. CRISP is especially useful when fixed-pool search fails to produce certifiable high-utility candidates.

## この論文を引用

Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel (2026). Risk-certified prompt optimization for LLM-as-a-judge guardrails. arXiv:2611.20156v1. https://arxiv.org/abs/2611.20156v1

**BibTeX**

```
@misc{jawad2026risk,
  title = {{Risk-certified prompt optimization for LLM-as-a-judge guardrails}},
  author = {Hussein Jawad and Alexandre Landeau and Guy Fleury Iradukunda and Paul Beaumont and Théodore Rezel and Sofiane Schaack and Nicolas J-B. Brunel},
  year = {2026},
  eprint = {2611.20156},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20156v1}
}
```

## この論文の用語

- [GPT-4o-mini](https://refivu.com/ja/terms/d08bfaa2b9f8-gpt-4o-mini)
- [GEPA](https://refivu.com/ja/terms/7ed51d620049-gepa)
- [Learn-then-Test](https://refivu.com/ja/terms/d8e2f61a3431-learn-then-test)
- [BeaverTails](https://refivu.com/ja/terms/6ef52d7d1546-beavertails)
- [Hoeffding’s inequality](https://refivu.com/ja/terms/088954b7dfcf-hoeffding-s-inequality)

## ほかの論文解説

- [Making Preemption Productive in Long-Output LLM Serving](https://refivu.com/ja/papers/9b0d4dbe-5b49-451b-bbf8-332c064c718b-making-preemption-productive-in-long-output-llm-serving.md)
- [Mandarin Wh-Indefinites Follow Nonveridicality in Multilingual LLMs, Unlike English any](https://refivu.com/ja/papers/b5162ae6-ef0d-43e8-a80d-caae3aca553d-mandarin-wh-indefinites-follow-nonveridicality-in.md)
- [How Specification Explicitness Shapes Failure in LLM-Generated Code](https://refivu.com/ja/papers/bad3820a-06e2-48e3-9d37-38ca751ed8b9-how-specification-explicitness-shapes-failure-in-llm.md)
- [The Silent Cost of Conversation History in LLM Reasoning](https://refivu.com/ja/papers/399f275b-931d-44c1-8a31-63a8fa2078ed-the-silent-cost-of-conversation-history-in-llm.md)
- [Agentic On-Policy Distillation Implicitly Reshapes LLMs' ReAct Patterns](https://refivu.com/ja/papers/55212eb2-2bf0-44da-9bd0-02b1a8938860-agentic-on-policy-distillation-implicitly-reshapes-llms.md)
- [On Representational and Functional Alignment of Training Data Attribution Methods for Language Models](https://refivu.com/ja/papers/51fd8005-6d4e-4945-a2ef-a09b8502a1c9-on-representational-and-functional-alignment-of-training.md)
- [Can decision models extract clinical data from cancer pathology reports? An evaluation of accuracy, calibration, and failure modes](https://refivu.com/ja/papers/68c81f1f-22ac-4830-b068-46e0177f7953-can-decision-models-extract-clinical-data-from-cancer.md)
- [Does Learning Order Explain Forgetting? The Lie Bracket as an Early-Warning Signal for Catastrophic Forgetting Without Old Data](https://refivu.com/ja/papers/64539a4f-1874-4500-94d4-0df24d9affd4-does-learning-order-explain-forgetting-the-lie-bracket.md)
- [High-Throughput Serving of Nemotron 3.5 Transcribe with Regime-Aware Megakernels and Kernel Fusion](https://refivu.com/ja/papers/3c4245e8-900d-4ca9-8834-e40cb4a165b6-high-throughput-serving-of-nemotron-3-5-transcribe.md)
- [Prompt Re-Specification and Target-Mask Availability in Mask-Conditioned Visual Reinforcement Learning for Moving-Platform Landing](https://refivu.com/ja/papers/ac0eb982-44a9-4346-bc38-4eecca20ff8f-prompt-re-specification-and-target-mask-availability-in.md)
- [Latent World Modeling for Point-Cloud Video Pretraining](https://refivu.com/ja/papers/30e3c251-d354-49fe-b4cd-b50f6ce5b11a-latent-world-modeling-for-point-cloud-video-pretraining.md)
- [Decode Early, Verify Late: Streaming Offline Speech Recognizers Without Accuracy Loss](https://refivu.com/ja/papers/2278ddf0-1374-4673-bc6f-4c55215520e4-decode-early-verify-late-streaming-offline-speech.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3-risk-certified-prompt-optimization-for-llm-as-a)
