arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2509.02563cs.LGcs.CL
收藏

DynaGuard:具有用户自定义策略的动态守护模型

DynaGuard: A Dynamic Guardian Model With User-Defined Policies

University of Maryland(马里兰大学);Capital One

Monte Hoover, Vatsal Baherwani, Neel Jain, Khalid Saifullah, Joseph Vincent, Chirag Jain, Melissa Kazemi Rad, C. Bayan Bruss, Ashwinee Panda, Tom Goldstein

AI总结:

DynaGuard是一套基于用户自定义策略的动态守护模型,配合DynaBench数据集,实现快速策略违规检测与链式思维推理,在准确性和速度上超越静态模型并媲美前沿推理模型。

摘要:

守护模型在确保面向用户的AI应用的安全性和道德行为方面发挥着关键作用,通过强制执行护栏和检测有害内容来实现。虽然标准守护模型仅限于预定义的静态危害类别,但我们引入了DynaGuard,一套动态守护模型,通过基于用户自定义策略评估文本提供新颖的灵活性,以及DynaBench,一个用于训练和评估动态守护模型的数据集。我们的模型既提供对策略违规的快速检测,也提供链式思维推理选项,以阐述和证明模型输出的合理性。关键的是,DynaGuard不仅在传统安全类别的检测准确性上超越静态模型,而且在自由形式的策略违规方面与前沿推理模型竞争,且所用时间仅为其一小部分。这使得DynaGuard成为语言模型护栏的关键工具。

英文摘要:

Guardian models play a crucial role in ensuring the safety and ethical behavior of user-facing AI applications by enforcing guardrails and detecting harmful content. While standard guardian models are limited to predefined, static harm categories, we introduce DynaGuard, a suite of dynamic guardian models offering novel flexibility by evaluating text based on user-defined policies, and DynaBench, a dataset for training and evaluating dynamic guardian models. Our models provide both rapid detection of policy violations and a chain-of-thought reasoning option that articulate and justify model outputs. Critically, DynaGuard not only surpasses static models in detection accuracy on traditional safety categories, but is competitive with frontier reasoning models on free-form policy violations, all in a fraction of the time. This makes DynaGuard an critical tool for language model guardrails.

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

↑