Pith. sign in

REVIEW 5 cited by

All for law and law for all: Adaptive RAG Pipeline for Legal Research

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2508.13107 v2 pith:2BP5BYL6 submitted 2025-08-18 cs.CL cs.IR

All for law and law for all: Adaptive RAG Pipeline for Legal Research

classification cs.CL cs.IR
keywords generationlegalretrievalopen-sourcepipelinepromptresearchwhile
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

Retrieval-Augmented Generation (RAG) has transformed how we approach text generation tasks by grounding Large Language Model (LLM) outputs in retrieved knowledge. This capability is especially critical in the legal domain. In this work, we introduce a novel end-to-end RAG pipeline that improves upon previous baselines using three targeted enhancements: (i) a context-aware query translator that disentangles document references from natural-language questions and adapts retrieval depth and response style based on expertise and specificity, (ii) open-source retrieval strategies using SBERT and GTE embeddings that achieve substantial performance gains while remaining cost-efficient, and (iii) a comprehensive evaluation and generation framework that combines RAGAS, BERTScore-F1, and ROUGE-Recall to assess semantic alignment and faithfulness across models and prompt designs. Our results show that carefully designed open-source pipelines can rival proprietary approaches in retrieval quality, while a custom legal-grounded prompt consistently produces more faithful and contextually relevant answers than baseline prompting. Taken together, these contributions demonstrate the potential of task-aware, component-level tuning to deliver legally grounded, reproducible, and cost-effective RAG systems for legal research assistance.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Fine-grained Claim-level RAG Benchmark for Law

    cs.CL 2026-05 unverdicted novelty 7.0

    ClaimRAG-LAW is a new English-French dataset with diverse question types and a claim-level evaluation framework that reveals limitations in current legal RAG systems for retrieval, generation, and analysis.

  2. Fine-grained Claim-level RAG Benchmark for Law

    cs.CL 2026-05 unverdicted novelty 7.0

    ClaimRAG-LAW provides a claim-level bilingual benchmark and evaluation framework for legal RAG systems that reveals limitations in current retrieval and generation performance.

  3. Fine-grained Claim-level RAG Benchmark for Law

    cs.CL 2026-05 unverdicted novelty 7.0

    ClaimRAG-LAW is a French-English legal RAG benchmark with claim-level granularity for experts and non-experts that reveals limitations in current retrieval and generation performance.

  4. Evaluating RAG for French immigration law: a benchmark and baseline study

    cs.IR 2026-07 conditional novelty 5.0

    Dense RAG improves French immigration permit-type accuracy over parametric Qwen baselines on a 52-profile public benchmark, with weaker gains on documents and citations.

  5. Maat: The Agentic Legal Research Assistant for Competition Protection

    cs.AI 2026-05 unverdicted novelty 4.0

    Maat is a ReAct agent that orchestrates tools and RAG for competition law research, outperforming baselines on case-specific tasks while providing official citations.