arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.01710cs.CLcs.IRcs.LG
收藏

法律RAG基准:法律RAG的端到端评估基准

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

Abdur-Rahman Butler, Umar Butler

AI总结:

Legal RAG Bench通过评估法律RAG系统端到端性能,发现信息检索是性能的主要驱动因素,Kanon 2嵌入器显著提升了正确性和基础性。

摘要:

我们介绍了Legal RAG Bench,一个用于评估法律RAG系统端到端性能的基准和评估方法。作为基准,Legal RAG Bench包含来自维多利亚刑事指控书的4,876段文本以及100个复杂的、手工构建的问题,这些问题是要求刑事法律和程序的专家知识。既提供了长篇答案也提供了支持段落。作为评估方法,Legal RAG Bench利用了完整的因子设计和新的分层错误分解框架,使能够公平比较RAG中检索和推理模型的贡献。我们评估了三种最先进的嵌入模型(Isaacus的Kanon 2嵌入器、Google的Gemini嵌入001和OpenAI的Text嵌入3 Large)和两个前沿LLM(Gemini 3.1 Pro和GPT-5.2),发现信息检索是法律RAG性能的主要驱动因素,LLM对正确性和基础性的影响更为温和。Kanon 2嵌入器尤其对性能有最大的积极影响,提高了平均正确性17.5分,基础性4.5分,检索准确性34分。我们观察到许多归因于法律RAG系统幻觉的错误实际上是由于检索失败触发的,得出结论:检索为许多现代法律RAG系统的性能设定了上限。我们记录了我们构建Legal RAG Bench的原因和方法以及我们的评估结果。我们还公开发布了我们的代码和数据以帮助复现我们的发现。

英文摘要:

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.

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

↑