2026-03-03 · 专家 · 自然语言处理 · 机器学习

Legal RAG Bench: an end-to-end benchmark for legal RAG

本文提出了Legal RAG Bench,一个用于评估法律RAG系统端到端性能的基准和评估方法。

更新于 2026-03-18。作者:Abdur-Rahman Butler、Umar Butler。

中文摘要

我们推出了法律 RAG 基准测试,这是一种评估法律 RAG 系统端到端性能的基准和评估方法。作为一个基准,法律 RAG 基准测试由来自维多利亚刑事指控手册的 4,876 篇段落以及 100 个复杂的手工制作问题组成,这些问题要求对刑法和程序有专业知识。同时提供了长篇答案和相关段落。作为一个评估方法,法律 RAG 基准测试利用了全因子设计和新颖的分层错误分解框架,使得检索和推理模型在 RAG 中的贡献可以进行苹果对苹果的比较。我们评估了三种最先进的嵌入模型(Isaacus 的 Kanon 2 嵌入器、Google 的 Gemini Embedding 001 和 OpenAI 的 Text Embedding 3 Large)以及两种前沿的大型语言模型(Gemini 3.1 Pro 和 GPT-5.2),发现信息检索是法律 RAG 性能的主要驱动力,大型语言模型对正确性和相关性有更温和的影响。特别是 Kanon 2 嵌入器对性能的提升最大,平均正确性提高了 17.5 分,相关性提高了 4.5 分,检索准确率提高了 34 分。我们观察到,许多归因于法律 RAG 系统中幻觉的错误实际上是检索失败触发的,结论是检索设定了许多现代法律 RAG 系统性能的上限。我们记录了为什么以及如何构建法律 RAG 基准测试以及我们评估的结果。我们还公开发布了我们的代码和数据,以帮助他人重现我们的发现。

英文摘要

We introduce Legal RAG Bench, a benchmark and evaluation methodology for assessing the end-to-end performance of legal RAG systems. As a benchmark, Legal RAG Bench consists of 4,876 passages from the Victorian Criminal Charge Book alongside 100 complex, hand-crafted questions demanding expert knowledge of criminal law and procedure. Both long-form answers and supporting passages are provided. As an evaluation methodology, Legal RAG Bench leverages a full factorial design and novel hierarchical error decomposition framework, enabling apples-to-apples comparisons of the contributions of retrieval and reasoning models in RAG. We evaluate three state-of-the-art embedding models (Isaacus' Kanon 2 Embedder, Google's Gemini Embedding 001, and OpenAI's Text Embedding 3 Large) and two frontier LLMs (Gemini 3.1 Pro and GPT-5.2), finding that information retrieval is the primary driver of legal RAG performance, with LLMs exerting a more moderate effect on correctness and groundedness. Kanon 2 Embedder, in particular, had the largest positive impact on performance, improving average correctness by 17.5 points, groundedness by 4.5 points, and retrieval accuracy by 34 points. We observe that many errors attributed to hallucinations in legal RAG systems are in fact triggered by retrieval failures, concluding that retrieval sets the ceiling for the performance of many modern legal RAG systems. We document why and how we built Legal RAG Bench alongside the results of our evaluations. We also openly release our code and data to assist with reproduction of our findings.

解读

一句话总结

本文提出了Legal RAG Bench,一个用于评估法律RAG系统端到端性能的基准和评估方法。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt