构建中文裁判文书生成评估基准,提升法律AI写作质量
JuDGE: Benchmarking Judgment Document Generation for Chinese Legal System
- 基于真实案例与判决书配对数据集,定义生成任务
- RAG方法显著提升生成效果,但仍有优化空间
- 适合法律AI研发、司法智能化研究者参考
本文提出JuDGE(裁判文书生成评估)基准,用于评估中文法律体系下裁判文书生成性能。该任务旨在根据案件事实描述生成完整法律判决书。为此,我们构建了一个包含真实案件事实描述及其对应完整判决书的综合性数据集,作为生成质量的评判标准。数据集还通过两个外部法律语料库进行增强:一是法律法规集合,二是大量历史判决书集合,以提供额外法律知识支持。在法律专业人士协作下,建立了多维度自动化评估框架,用于衡量生成文书质量。我们使用通用和法律领域大模型,评估了少样本上下文学习、微调及多源检索增强生成(RAG)等基线方法。实验表明,尽管RAG方法能有效提升性能,但仍存在显著改进空间。所有代码与数据集均已开源。
原文摘要 · Abstract (English)
This paper introduces JuDGE (Judgment Document Generation Evaluation), a novel benchmark for evaluating the performance of judgment document generation in the Chinese legal system. We define the task as generating a complete legal judgment document from the given factual description of the case. To facilitate this benchmark, we construct a comprehensive dataset consisting of factual descriptions from real legal cases, paired with their corresponding full judgment documents, which serve as the ground truth for evaluating the quality of generated documents. This dataset is further augmented by two external legal corpora that provide additional legal knowledge for the task: one comprising statutes and regulations, and the other consisting of a large collection of past judgment documents. In collaboration with legal professionals, we establish a comprehensive automated evaluation framework to assess the quality of generated judgment documents across various dimensions. We evaluate various baseline approaches, including few-shot in-context learning, fine-tuning, and a multi-source retrieval-augmented generation (RAG) approach, using both general and legal-domain LLMs. The experimental results demonstrate that, while RAG approaches can effectively improve performance in this task, there is still substantial room for further improvement. All the codes and datasets are available at: https://github.com/oneal2000/JuDGE.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。