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

可执行治理 for AI:利用 LLMs 将政策翻译成规则

Executable Governance for AI: Translating Policies into Rules Using LLMs

Gautam Varma Datla, Anudeep Vurity, Tejaswani Dash, Tazeem Ahmad, Mohd Adnan, Saima Rafi

AI总结:

利用 LLMs 将 AI 政策转化为可执行规则,通过 P2T 框架实现标准化表示,提升政策执行的自动化与安全性。

摘要:

AI 政策指导主要以散文形式编写,从业者必须首先将其转换为可执行规则,框架才能评估或执行它们。这个手动步骤速度慢、容易出错、难以扩展,且常常延迟了现实部署中安全措施的使用。为解决这一差距,我们提出了 Policy-to-Tests(P2T),一个将自然语言政策文件转换为标准化、可机读规则的框架。该框架包含一个流水线和一个紧凑的领域特定语言(DSL),用于编码危险、范围、条件、例外和所需证据,从而产生提取规则的规范表示。为了测试该框架超出单一政策,我们将其应用于通用框架、行业指导和企业标准,提取义务性条款并将其转换为可执行规则。这些 AI 生成的规则在跨度级和规则级指标上与强人类基线非常接近,与黄金集的 inter-annotator 一致性稳健。为了评估下游行为和安全影响,我们向生成代理添加了 HIPAA 导出的安全措施,并将其与一个其他完全相同的无安全措施代理进行比较。基于黄金标准标准对齐的 LLM 基于测量违规率和对模糊和组合提示的鲁棒性。详细的实验结果在附录中提供。我们发布了代码库、DSL、提示和规则集作为开源资源,以实现可重复评估。

英文摘要:

AI policy guidance is predominantly written as prose, which practitioners must first convert into executable rules before frameworks can evaluate or enforce them. This manual step is slow, error-prone, difficult to scale, and often delays the use of safeguards in real-world deployments. To address this gap, we present Policy-to-Tests (P2T), a framework that converts natural-language policy documents into normalized, machine-readable rules. The framework comprises a pipeline and a compact domain-specific language (DSL) that encodes hazards, scope, conditions, exceptions, and required evidence, yielding a canonical representation of extracted rules. To test the framework beyond a single policy, we apply it across general frameworks, sector guidance, and enterprise standards, extracting obligation-bearing clauses and converting them into executable rules. These AI-generated rules closely match strong human baselines on span-level and rule-level metrics, with robust inter-annotator agreement on the gold set. To evaluate downstream behavioral and safety impact, we add HIPAA-derived safeguards to a generative agent and compare it with an otherwise identical agent without guardrails. An LLM-based judge, aligned with gold-standard criteria, measures violation rates and robustness to obfuscated and compositional prompts. Detailed results are provided in the appendix. We release the codebase, DSL, prompts, and rule sets as open-source resources to enable reproducible evaluation.

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

↑