CanLegalRAGBench: Evaluating Retrieval-Augmented Generation on Canadian Case Law

Ethan Zhao, Maksym Taranukhin, Wei Cui, Moira Aikenhead et al.

Authors & affiliations

Ethan Zhao, Maksym Taranukhin, Wei Cui, Moira Aikenhead, Vered Shwartz

Affiliations reported at publication:

  • University of British Columbia — Department of Computer Science
  • University of British Columbia — Peter A. Allard School of Law
  • Vector Institute
  • CIFAR AI Chair (Vered Shwartz)

arXiv v3 full manuscript; one-page abstract in NLLP 2026 workshop proceedings

Preprint edition

What it adds

Provides 532 synthetic legal questions with human-annotated reference answers and authorities, and evaluates retrieval and answer generation over Canadian legal sources. A 30-query relevance audit adds cases annotators judge relevant to reference sets and materially changes ranking scores for the same retrieved documents. The study distinguishes finding a reference case, finding relevant evidence, and producing an answer supported by it.

Read with this limitation

The relevance audit covers 30 queries and four selected configurations. It measures relevance against expanded reference sets, not whether answers are legally sufficient; temporal relevance and precedential weight are largely unevaluated. Queries are synthetic and coverage is English Canadian law, excluding Quebec civil-law sources. Released citation and ground-truth counts do not fully match the paper. Generation metrics rely on LLM support judgments, and the abstract’s 8–29% range mixes automatic unsupportedness with a small-sample hallucination extrapolation. LegalArxiv has not independently reproduced results.

Jurisdiction tags
Canada
Language
English

Research artifacts

Resources linked by the authors.

Follow the source

Selected statements located in the linked primary sources. These results have not been independently reproduced here.

  1. The benchmark contains 532 synthetic questions generated from Canadian legal sources and varied by user perspective or facts. Law students and a paralegal retrieved and annotated authorities; reference answers began as Gemini 2.5 Pro drafts that annotators verified or edited. These are simulated questions, not a sample of actual client queries.

    Section 3; Appendix A; Table 6
  2. Annotators reviewed retrieved documents for a stratified 30-query subset across four selected high-performing retrieval configurations. Cases judged relevant were added to the reference sets, then metrics were recalculated for the same retrieval outputs.

    Section 4.3, Expert Evaluation; Section 4.4; Figure 3
  3. For the Qwen configuration using 8K-character chunks, IterRetGen and reranking, Figure 3 reports nDCG@10 of 0.47 before and 0.74 after relevance rejudgment. These rounded ranking scores are not percentages of correct legal answers and do not represent a model improvement.

    Figure 3; Sections 4.3–4.4
  4. After reference expansion, recall@10 falls for three of four configurations, while nDCG@10 rises for all four. Relative rankings are largely preserved. Changing reference completeness can affect the absolute scores and the two metrics differently.

    Figure 3; Section 4.4, Expert evaluation
  5. The study largely leaves temporal applicability and precedential value unevaluated. Its English-language Canadian coverage does not include Quebec civil-law sources, and benchmark performance is not evidence of performance in a live legal service.

    Limitations, Data Coverage and Evaluation; Ethics Statement, Implications
  6. The pinned public JSON release contains 532 unique query IDs and 1,117 documents. A static count finds 3,203 query-citation links and 591 distinct raw citations, compared with 3,193 links and 588 unique reference documents reported in the paper; 624 document rows carry a ground-truth flag. These unreconciled differences prevent claiming exact dataset/result reproduction. Raw citations, document rows and flags are different units. Three query citations were not matched to released documents and 64 document-associated query IDs were absent from the query file; normalization and filtering differences remain unresolved.

    Pinned queries.json and documents.json; paper Tables 6 and 9; LegalArxiv static check, 2 November 2026

Related question

Benchmarking Legal RAG: The Promise and Limits of AI Statutory Surveys

Editorial connection: both studies examine how incomplete references can distort legal AI evaluation. The statutory-survey work audits omitted requirements; CanLegalRAGBench rejudges retrieved alternative authorities. The tasks, data and metrics differ; no shared dataset or direct model comparison is implied.

Entry status, source edition & rights
Index entry
Source-linked summary, prepared with agent assistance. Independent scholarly review is pending.
Archive admission
This bibliographic entry does not confer admission to the versioned archive.
Reading coverage
Full-text check on 2 November 2026 of arXiv v3, Figure 3, Sections 3–5, appendices and limitations; title-page author affiliations checked against PDF. Compared v1/v2/v3: October v3 extends expert retrieval evaluation to four configurations and revises error analysis; it is not treated as a new first publication. The NLLP proceedings PDF contains a one-page abstract, not the full study. Exact experiment dates are unverified. Pinned code documentation and public data inspected without executing author code, running models or reproducing evaluation.
Rights
Links to original sources only. The repository and dataset annotations declare MIT; underlying court and other source texts retain their own terms. The arXiv manuscript uses arXiv’s non-exclusive distribution licence. Public availability does not grant unrestricted reuse of all material.
Entry updated
2026-11-09

Source-linked summary · independent assessment pending.

Research updates

A monthly digest of selected legal AI papers, datasets and benchmarks, plus published research checks.