arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.20156cs.CLcs.LG
收藏

面向作为评判者的大语言模型(LLM-as-a-judge)安全护栏的风险认证提示优化

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

Université d’Évry Val d’Essonne(埃夫里瓦莱松讷大学);Capgemini(凯捷咨询);CentraleSupélec(中央理工-高等电力学院);École Nationale Supérieure d’Informatique pour l’Industrie et l’Entreprise (ENSIIE)(法国工业与企业高等计算机学院(ENSIIE))

Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda, Paul Beaumont, Théodore Rezel, Sofiane Schaack, Nicolas J-B. Brunel

AI总结:

本文针对LLM-as-a-judge安全护栏,提出CPS和CRISP两种风险认证提示优化方法,可在约束漏过攻击率的同时最大化良性通过率,实验表明其能符合目标漏过攻击水平且效用随风险放宽提升。

摘要:

作为评判者的大语言模型(LLM-as-a-judge)安全护栏通常主要通过系统提示进行控制,但标准的提示优化方法针对的是平均性能,而非明确的安全约束。本文将系统提示选择研究为一个约束优化问题:在有限样本统计控制下,将漏过攻击率保持在用户指定水平α以下,同时最大化良性通过率。该框架结合了基于LLM的评判、自动提示生成和无分布风险认证。本研究将其实例化为两种方法:CPS和CRISP。CPS从训练数据生成固定的提示池,然后利用同时上置信界在保留的评估集上对候选者进行认证,并选择具有最高良性效用的已认证提示。CRISP则将风险反馈整合到自适应搜索中,利用难例引导的重写和可复用保留集接口,引导生成向可行效用前沿推进。在涵盖提示注入、系统提示泄露和敏感信息披露的四个数据集上进行的实验表明,风险认证选择在保留测试中始终符合目标漏过攻击水平,且随着允许风险的放宽,效用会提升。当固定池搜索无法产生可认证的高效用候选者时,CRISP尤为有用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑