用多智能体框架让AI法律推理更透明可验证
On Verifiable Legal Reasoning: A Multi-Agent Framework with Formalized Knowledge Representations
- 分阶段处理:先提取法律概念,再符号化推理
- 税法计算任务准确率达76.4%,远超基线18.8%
- 适合需要可解释性与一致性的法律AI研究者
法律推理需精准解读法条语言并一致应用复杂规则,对AI构成重大挑战。本文提出模块化多智能体框架,将法律推理分解为知识获取与应用两个阶段。第一阶段由专用智能体提取法律概念并形式化规则,生成可验证的法条中间表示;第二阶段通过三步完成案例应用:分析查询以映射案件事实到本体架构,进行符号推理得出逻辑结论,最后用程序化实现生成最终答案。该框架连接自然语言理解与符号推理,提供明确可查证节点,显著提升透明度。在法条税额计算任务上的评估显示,基础模型准确率提升至76.4%,相较基线18.8%大幅缩小差距。结果表明,带有形式化知识表示的模块化架构,能以计算高效方式使复杂法律推理更易实现,同时增强一致性与可解释性,为未来构建更透明、可信、高效的法律领域AI系统奠定基础。
原文摘要 · Abstract (English)
Legal reasoning requires both precise interpretation of statutory language and consistent application of complex rules, presenting significant challenges for AI systems. This paper introduces a modular multi-agent framework that decomposes legal reasoning into distinct knowledge acquisition and application stages. In the first stage, specialized agents extract legal concepts and formalize rules to create verifiable intermediate representations of statutes. The second stage applies this knowledge to specific cases through three steps: analyzing queries to map case facts onto the ontology schema, performing symbolic inference to derive logically entailed conclusions, and generating final answers using a programmatic implementation that operationalizes the ontological knowledge. This bridging of natural language understanding with symbolic reasoning provides explicit and verifiable inspection points, significantly enhancing transparency compared to end-to-end approaches. Evaluation on statutory tax calculation tasks demonstrates substantial improvements, with foundational models achieving 76.4\% accuracy compared to 18.8\% baseline performance, effectively narrowing the performance gap between reasoning and foundational models. These findings suggest that modular architectures with formalized knowledge representations can make sophisticated legal reasoning more accessible through computationally efficient models while enhancing consistency and explainability in AI legal reasoning, establishing a foundation for future research into more transparent, trustworthy, and effective AI systems for legal domain.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。