LRAGE: Legal Retrieval Augmented Generation Evaluation Tool

Minhu Park, Hongseok Oh, Eunkyung Choi, Wonseok Hwang
4/2/2025
cs.CL

Official code: hoorangyee/LRAGE (77 stars, MIT, last commit 2025-07-28).

Abstract

Recently, building retrieval-augmented generation (RAG) systems to enhance the capability of large language models (LLMs) has become a common practice. Especially in the legal domain, previous judicial decisions play a significant role under the doctrine of stare decisis which emphasizes the importance of making decisions based on (retrieved) prior documents. However, the overall performance of RAG system depends on many components: (1) retrieval corpora, (2) retrieval algorithms, (3) rerankers, (4) LLM backbones, and (5) evaluation metrics. Here we propose LRAGE, an open-source tool for holistic evaluation of RAG systems focusing on the legal domain. LRAGE provides GUI and CLI interfaces to facilitate seamless experiments and investigate how changes in the aforementioned five components affect the overall accuracy. We validated LRAGE using multilingual legal benches including Korean (KBL), English (LegalBench), and Chinese (LawBench) by demonstrating how the overall accuracy changes when varying the five components mentioned above. The source code is available at https://github.com/hoorangyee/LRAGE.

View on arXivView PDF

Code Implementations(1)

hoorangyee/LRAGEOfficial100%
MIT

A framework for evaluating RAG pipelines, specifically adapted for the legal domain.

775Shell, PythonOct 27, 20241 years agoMIT

Similar Papers

Cite this paper

@article{park2025lrage,
  title  = {LRAGE: Legal Retrieval Augmented Generation Evaluation Tool},
  author = {Minhu Park and Hongseok Oh and Eunkyung Choi and Wonseok Hwang},
  year   = {2025},
  eprint = {2504.01840},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.01840v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.01840.svg)](https://codeofpaper.com/paper/2504.01840)

Discussion