# 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를 최대화하기 어렵습니다.
- **연구 방법** 시스템 프롬프트 후보를 만든 뒤 Clopper–Pearson 상한과 Bonferroni 보정으로 인증하는 CPS와, 위험 피드백으로 프롬프트를 재작성하는 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를 세고, Clopper–Pearson 상한 R\_ucb를 Bonferroni 보정된 수준 δ\_R/N으로 계산합니다. 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 호출로 고칩니다. 각 제안은 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)

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}
}
```

## 이 논문의 용어

- [Hoeffding’s inequality](https://refivu.com/terms/088954b7dfcf-hoeffding-s-inequality)
- [GEPA](https://refivu.com/terms/7ed51d620049-gepa)
- [BeaverTails](https://refivu.com/terms/6ef52d7d1546-beavertails)
- [Learn-then-Test](https://refivu.com/terms/d8e2f61a3431-learn-then-test)
- [DeepSet](https://refivu.com/terms/d4da85b20837-deepset)
- [Bonferroni](https://refivu.com/terms/8bdb0551a3f7-bonferroni)

## 다른 논문 해설

- [Can AI Judge You? An Empirical Audit of Deployment Readiness in LLM-assisted Hiring Systems](https://refivu.com/papers/2d9aad72-1413-4dff-810b-3dcfd3aa2fb8-can-ai-judge-you-an-empirical-audit-of.md)
- [Making Preemption Productive in Long-Output LLM Serving](https://refivu.com/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/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/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/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/papers/55212eb2-2bf0-44da-9bd0-02b1a8938860-agentic-on-policy-distillation-implicitly-reshapes-llms.md)
- [Can decision models extract clinical data from cancer pathology reports? An evaluation of accuracy, calibration, and failure modes](https://refivu.com/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/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/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/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/papers/30e3c251-d354-49fe-b4cd-b50f6ce5b11a-latent-world-modeling-for-point-cloud-video-pretraining.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3-risk-certified-prompt-optimization-for-llm-as-a)
