闭环:形式化验证的法律作为自我改进法律AI的奖励信号
Closing the Loop: Formally Verified Law as a Reward Signal for Self-Improving Legal AI
AI总结:
提出一种架构,通过LLM驱动的形式化转换和验证内核,为法律AI提供可验证的奖励信号,实现闭环强化学习,并在多个法律领域展示其优势。
摘要:
本文开发了一种架构,用于创建可形式验证的奖励信号以训练法律AI,将数学AI中的“LLM提议,验证器处置”范式适应于法律的独特需求。我们提出了一种架构,包括LLM驱动的自动形式化(扩展Catala的形式法律演算)、验证内核以及基于形式证明迹的解释生成。对于法律的计算组件,该架构提供了可证明的正确性。对于开放结构的法律分析,它提供了结构性保证:法律论证的每个必要阶段都得到处理,论证在正确阶段进行且未被省略,步骤之间的演绎链接有效。我们在德国法律的程序性截止日期计算、美国宪法中的商业条款分析以及跨司法管辖区的制裁比例性上展示了该架构。我们进一步表明,同一架构在法律AI训练中具有结构性优势:确定性外部验证器为法律问题提供可验证的结果,从而弥合了法律中传统强化学习循环的差距。
英文摘要:
This article develops an architecture that creates a formally verifiable reward signal to train legal AI, adapting the LLM proposes, verifier disposes paradigm from mathematical AI to the distinctive demands of law. We present an architecture comprising LLM-driven autoformalization into a formal legal calculus extending Catala, a verification kernel, and explanation generation grounded in formal proof traces. For the computational components of law, the architecture provides provable correctness. For open-textured legal analysis, it provides structural guarantees: every required stage of the legal argument is addressed, argumentation is exercised at the correct stages and not omitted, and the deductive links between steps are valid. We demonstrate the architecture on procedural deadline calculations in German law, Commerce Clause analysis in U.S. constitutional law, and cross-jurisdictional sanction proportionality. We further show that the same architecture has a structural advantage for legal AI training: a deterministic external verifier supplies verifiable outcomes for legal problems and thereby closes the traditional reinforcement-learning loop gap in law.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。