arXiv:2601.01477cs.CL2026-01被引 2

用大模型将欧盟数据保护法第6条转为可执行的机器代码。

Can Legislation Be Made Machine-Readable in PROLEG?

  • 通过提示词让大模型将法律条文转为条件判断规则。
  • 生成可运行的PROLEG程序,自动解释合规决策依据。
  • 适合法律科技、AI合规领域研究者参考。

监管流程的准确与高效应用对社会有积极影响。现代人工智能技术,包括自然语言处理和机器辅助推理,有望解决这一挑战。本文提出一个基于当前最先进自然语言处理方法(大模型)和法律推理形式化系统(PROLEG)的框架,以支持监管应用工具的开发。以欧盟《通用数据保护条例》(GDPR)第6条为例,该框架通过单一大模型提示,同时生成条件规则和对应的PROLEG编码,并经法律专家验证与优化。最终输出为可执行的PROLEG程序,能对具体案例生成人类可读的合规解释。文中详细描述了从法规文本到可运行代码的端到端转化流程,包括引导大模型“编译”自然语言为条件规则,再进一步“编译”为经验证的PROLEG代码。最后展示了一个实际执行实例。文章总结该方法的价值,并指出当前局限,提出未来发展方向。

原文摘要 · Abstract (English)

The anticipated positive social impact of regulatory processes requires both the accuracy and efficiency of their application. Modern artificial intelligence technologies, including natural language processing and machine-assisted reasoning, hold great promise for addressing this challenge. We present a framework to address the challenge of tools for regulatory application, based on current state-of-the-art (SOTA) methods for natural language processing (large language models or LLMs) and formalization of legal reasoning (the legal representation system PROLEG). As an example, we focus on Article 6 of the European General Data Protection Regulation (GDPR). In our framework, a single LLM prompt simultaneously transforms legal text into if-then rules and a corresponding PROLEG encoding, which are then validated and refined by legal domain experts. The final output is an executable PROLEG program that can produce human-readable explanations for instances of GDPR decisions. We describe processes to support the end-to-end transformation of a segment of a regulatory document (Article 6 from GDPR), including the prompting frame to guide an LLM to "compile" natural language text to if-then rules, then to further "compile" the vetted if-then rules to PROLEG. Finally, we produce an instance that shows the PROLEG execution. We conclude by summarizing the value of this approach and note observed limitations with suggestions to further develop such technologies for capturing and deploying regulatory frameworks.

法律AI大模型可执行法规

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。