arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.24587stat.MLcs.LG
收藏

MultiRisk: 多风险控制 via 迭代分数阈值

MultiRisk: Multiple Risk Control via Iterative Score Thresholding

University of Pennsylvania(宾夕法尼亚大学);New Jersey Institute of Technology(新泽西理工学院)

Sunay Joshi, Yan Sun, Hamed Hassani, Edgar Dobriban

AI总结:

MultiRisk通过迭代分数阈值控制多个风险约束,利用动态规划算法实现对大型语言模型在安全约束下的有效控制。

摘要:

随着生成式AI系统越来越多地部署在现实应用中,调节模型行为的多个维度已成为必要。我们专注于测试时间过滤:一种轻量级的行为控制机制,通过将性能分数与估计阈值进行比较,并在这些界限被违反时修改输出。我们正式化了通过用户定义优先级强制多个风险约束的问题,并引入了两种高效的动态规划算法,利用这种顺序结构。第一个,MULTIRISK-BASE,提供了一种直接的有限样本过程来选择阈值,而第二个,MULTIRISK,则利用数据交换性来保证同时控制风险。在温和的假设下,我们证明MULTIRISK能够几乎紧密地控制所有约束风险。分析需要一个复杂的迭代论证,通过引入几种形式的中间对称化风险函数上界,以及通过递归计算适当风险水平之间对称化风险函数的跳跃次数来下界风险。我们在一个具有三个约束的大型语言模型对齐任务上评估了我们的框架,使用PKU-SafeRLHF数据集,目标是在多个安全约束下最大化有用性,其中分数由大型语言模型裁判和困惑度过滤器生成。我们的实验结果表明,我们的算法可以将每个个体风险控制在接近目标水平。

英文摘要:

As generative AI systems are increasingly deployed in real-world applications, regulating multiple dimensions of model behavior has become essential. We focus on test-time filtering: a lightweight mechanism for behavior control that compares performance scores to estimated thresholds, and modifies outputs when these bounds are violated. We formalize the problem of enforcing multiple risk constraints with user-defined priorities, and introduce two efficient dynamic programming algorithms that leverage this sequential structure. The first, MULTIRISK-BASE, provides a direct finite-sample procedure for selecting thresholds, while the second, MULTIRISK, leverages data exchangeability to guarantee simultaneous control of the risks. Under mild assumptions, we show that MULTIRISK achieves nearly tight control of all constraint risks. The analysis requires an intricate iterative argument, upper bounding the risks by introducing several forms of intermediate symmetrized risk functions, and carefully lower bounding the risks by recursively counting jumps in symmetrized risk functions between appropriate risk levels. We evaluate our framework on a three-constraint Large Language Model alignment task using the PKU-SafeRLHF dataset, where the goal is to maximize helpfulness subject to multiple safety constraints, and where scores are generated by a Large Language Model judge and a perplexity filter. Our experimental results show that our algorithm can control each individual risk at close to the target level.

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

↑