跳到正文
arXiv (AI + Vision + Imaging)· Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Th\'eodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel·· 8 天前AI 评分18

面向LLM-as-a-judge护栏的风险认证提示优化:CPS与CRISP

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

AI 导读

研究将LLM-as-a-judge护栏的系统提示选择建模为约束优化问题,在有限样本统计控制下最大化良性通过率,同时把漏检攻击率控制在用户指定的α水平以下。方法结合LLM评判、自动提示生成与无分布风险认证,提出固定提示池认证的CPS和融合风险反馈自适应搜索的CRISP两种流程。

正文 · 原文

arXiv:2611.20156v1 Announce Type: new Abstract: 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 {\alpha} 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org