논문 해설
Risk-certified prompt optimization for LLM-as-a-judge guardrails
LLM-as-a-judge 가드레일을 위한 위험 인증 프롬프트 최적화
- 연구 문제 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.
원문 · CC 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.
원문 · CC 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}.
원문 · CC 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
원문 · CC 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.
원문 · CC 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
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
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}
}