arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.11772cs.CL
收藏

Legal-DC: 用于法律文档的检索增强生成基准测试

Legal-DC: Benchmarking Retrieval-Augmented Generation for Legal Documents

Yaocong Li, Qiang Lan, Leihan Zhang, Le Zhang

AI总结:

本研究提出Legal-DC基准测试,通过构建专门的法律文档数据集和LegRAG框架,提升中国法律检索增强生成系统的效果和可靠性。

摘要:

检索增强生成(RAG)已逐渐成为法律文档咨询的一种有前途的技术,但其在中国法律场景中的应用面临两个关键限制:现有基准测试缺乏对联合检索器-生成器评估的专门支持,且主流RAG系统往往无法适应法律条款的结构特性。为解决这些缺口,本研究提出了两个核心贡献:首先,我们构建了Legal-DC基准数据集,包含480个法律文档(涵盖市场监管和合同管理等领域)和2,475对经过精细处理的问题-答案对,每个都标注了条款级参考,填补了中国法律RAG领域专门评估资源的空白。其次,我们提出了LegRAG框架,该框架集成了法律自适应索引(条款边界分割)与双路径自我反思机制,以确保条款完整性的同时提高答案准确性。第三,我们引入了自动评估方法用于大型语言模型,以满足法律检索场景的高可靠性需求。LegRAG在关键评估指标上比现有最先进方法高出1.3%至5.6%。本研究提供了一个专门的基准、实用的框架和实证见解,以推动中国法律RAG系统的发展。我们的代码和数据可在https://github.com/legal-dc/Legal-DC获取。

英文摘要:

Retrieval-Augmented Generation (RAG) has emerged as a promising technology for legal document consultation, yet its application in Chinese legal scenarios faces two key limitations: existing benchmarks lack specialized support for joint retriever-generator evaluation, and mainstream RAG systems often fail to accommodate the structured nature of legal provisions. To address these gaps, this study advances two core contributions: First, we constructed the Legal-DC benchmark dataset, comprising 480 legal documents (covering areas such as market regulation and contract management) and 2,475 refined question-answer pairs, each annotated with clause-level references, filling the gap for specialized evaluation resources in Chinese legal RAG. Second, we propose the LegRAG framework, which integrates legal adaptive indexing (clause-boundary segmentation) with a dual-path self-reflection mechanism to ensure clause integrity while enhancing answer accuracy. Third, we introduce automated evaluation methods for large language models to meet the high-reliability demands of legal retrieval scenarios. LegRAG outperforms existing state-of-the-art methods by 1.3% to 5.6% across key evaluation metrics. This research provides a specialized benchmark, practical framework, and empirical insights to advance the development of Chinese legal RAG systems. Our code and data are available at https://github.com/legal-dc/Legal-DC.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑