Skip to main content
QUICK REVIEW

[论文解读] AgentsCourt: Building Judicial Decision-Making Agents with Court Debate Simulation and Legal Knowledge Augmentation

Zhi-Tao He, Pengfei Cao|arXiv (Cornell University)|Mar 5, 2024
Artificial Intelligence in LawSocial Sciences被引用 3
一句话总结

本文提出 SimuCourt,一个包含 420 份真实世界判决文书的司法基准,涵盖刑事、民事和行政案件,并提出 AgentsCourt 多智能体框架,通过模拟法庭辩论、检索法律先例并利用法律知识库优化判决,实现显著提升——在法律依据生成任务中,F1 分数分别提升 8.6% 和 9.1%,证明其在司法决策能力上优于基线大语言模型。

ABSTRACT

With the development of deep learning, natural language processing technology has effectively improved the efficiency of various aspects of the traditional judicial industry. However, most current efforts focus on tasks within individual judicial stages, making it difficult to handle complex tasks that span multiple stages. As the autonomous agents powered by large language models are becoming increasingly smart and able to make complex decisions in real-world settings, offering new insights for judicial intelligence. In this paper, (1) we propose a novel multi-agent framework, AgentsCourt, for judicial decision-making. Our framework follows the classic court trial process, consisting of court debate simulation, legal resources retrieval and decision-making refinement to simulate the decision-making of judge. (2) we introduce SimuCourt, a judicial benchmark that encompasses 420 Chinese judgment documents, spanning the three most common types of judicial cases. Furthermore, to support this task, we construct a large-scale legal knowledge base, Legal-KB, with multi-resource legal knowledge. (3) Extensive experiments show that our framework outperforms the existing advanced methods in various aspects, especially in generating legal articles, where our model achieves significant improvements of 8.6% and 9.1% F1 score in the first and second instance settings, respectively.

研究动机与目标

  • 为解决司法人工智能中跨阶段协作的不足,评估从案件分析、法律推理到判决的端到端决策能力。
  • 基于真实中国判决文书,构建一个逼真的基准,以支持司法智能体的评估。
  • 设计一个模拟真实法庭审判流程的多智能体框架,包括辩论模拟与先例检索。
  • 通过大规模司法知识库(JudicialKB)与检索增强生成,提升大语言模型的法律推理能力。
  • 证明多智能体模拟能显著提高司法判决的准确性与可靠性,尤其在法律依据与量刑预测方面。

提出的方法

  • SimuCourt 基准由来自中国裁判文书网的 420 份真实判决文书构建,涵盖刑事、民事与行政法领域的一审与二审案件。
  • 定义了一项新任务:司法决策生成,即在给定案件详情的前提下,智能体需执行逻辑案件分析、识别精确法律依据,并作出最终判决。
  • AgentsCourt 采用四阶段多智能体模拟:开场陈述、法庭辩论、先例检索与判决优化,模拟真实法庭程序。
  • 采用检索增强生成流水线,利用微调后的 RAG 系统提升先例选择效果,经重排序后,原因与诉求的一致性从 62% 提升至 85%。
  • 框架整合 JudicialKB,一个大规模法律知识库,包含法律法规、司法文件与判例,以支持推理。
  • 在多个指标上开展消融研究与定量评估,包括法律依据的 F1 分数、精确率、召回率及量刑预测的绝对差异。

实验结果

研究问题

  • RQ1与单智能体大语言模型相比,模拟真实法庭流程的多智能体框架是否能提升司法决策的准确性?
  • RQ2整合结构化法律知识库在多大程度上提升了司法智能体在法律依据与案件分析方面的质量?
  • RQ3法庭辩论模拟在优化法律推理与减少量刑预测错误方面有多有效?
  • RQ4不同案件类型——刑事、民事与行政案件——如何影响司法决策智能体的性能?
  • RQ5检索增强生成与知识库集成对整体模型性能的贡献是什么?

主要发现

  • 与基线大语言模型相比,AgentsCourt 在一审场景下实现法律依据生成任务 8.6% 的 F1 分数提升,在二审场景下提升 9.1%。
  • 法庭辩论模拟模块显著缩小了与真实值的差距,使监禁期与罚款预测的绝对差异明显降低。
  • 经重排序的检索将检索到的案例与目标案例之间原因与诉求匹配的一致性从 62% 提升至 85%,证明检索模块的有效性。
  • JudicialKB 的集成使整体司法推理性能最高提升 6.2%,凸显外部法律知识的价值。
  • 仅靠大语言模型表现有限,其法律依据生成的 F1 仅为 13.6%,即使提供候选列表,原因与诉求预测的准确率也仅为 35.0%。
  • 不同案件类型表现差异显著,刑事案件结果最可靠(F1 = 0.343),而民事与行政案件的法律推理能力较弱(F1 分别为 0.067 与 0.167)。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。