TRANSMISSION // 2612.01130v1
Legal AI’s citations are not the same as legal accuracy
Source published
A small benchmark finds that local language models differ in output structure, citation behaviour and speed—and that a citation matching a retrieved case does not show that the case supports the legal claim.

Retrieval-augmented generation gives a language model documents to consult while answering. But does a model that produces a tidy response actually cite those documents—and how do citation behaviour and speed vary across small models? This preprint tests five models in one local legal-research setup, while measuring these properties separately.
Retrieval-augmented generation, or RAG, pairs a language model with a search system: the system retrieves documents, then asks the model to answer using them. In legal research, that arrangement may make answers easier to check. Yet retrieving a case does not guarantee that a model will cite it, or that a citation supports the claim attached to it.
Bhavya Yajush Awasthi and Amit Khaparde benchmarked five small language models in a local RAG pipeline. Their central question was not whether the models gave legally correct advice, but how they differed in the structure of their responses, their references to retrieved cases and their inference speed.
A shared retrieval setup
The researchers used 50 situational queries from the FIRE 2019 Artificial Intelligence for Legal Assistance (AILA) benchmark, which concerns Indian legal materials. For each query, BM25—a method that ranks documents partly by matching query terms—selected the top three prior cases. The researchers shortened each excerpt to a maximum of 1,200 characters and supplied the query and excerpts to a model using a fixed prompt. The models generated answers locally through llama.cpp with four-bit quantized weights.
The five models were Phi-3 Mini, Llama-3.2-1B, Qwen2.5-1.5B-Instruct, SmolLM2-1.7B-Instruct and TinyLlama-1.1B-Chat. The same retrieval results and generation settings were used across models, making it easier to compare their responses under this particular setup.
The evaluation separated three ideas. A response counted as structurally usable if it was non-empty and avoided detected degeneration or prompt-echoing; this did not mean it was correct. Citation-grounded response rate measured the share of queries with a usable answer containing at least one case identifier from the retrieved set. Citation precision measured how many extracted citations referred to retrieved documents. Neither citation measure checked whether a case was relevant, correctly interpreted or genuinely supportive of a legal claim.
Different strengths, different measures
Qwen2.5-1.5B produced structurally usable responses for all 50 queries, a rate of 1.00, but its citation-grounded response rate was 0.16. Phi-3 Mini had the highest citation-grounded response rate, 0.38, followed by Llama-3.2-1B at 0.36. Those figures show that response structure and citation presence did not move together in this test; they do not establish which model gave the most legally sound answers.
Speed also varied. Llama-3.2-1B had the highest mean end-to-end throughput, 6.21 tokens per second, and the lowest mean time to first token, 19.85 seconds. Phi-3 Mini had the highest mean time to first token, 69.11 seconds, and a throughput of 1.81 tokens per second. These are measurements from one machine and software setup, not universal rankings of the models.
The output limit matters too. Responses could contain at most 160 new tokens, and Llama-3.2-1B reached that limit on every query. The other models reached it on 52% to 92% of queries. Truncation could affect whether an answer finished its explanation or citations, so the authors report this as a separate factor rather than treating every response as complete.
What the benchmark cannot tell us
The results illustrate why “readable,” “cites a retrieved case” and “fast” are different properties. They do not show that any model reasons correctly about Indian law. A model could cite a retrieved case yet misstate its meaning, leave out relevant precedent or make an unsupported conclusion. The study also did not independently assess the quality of BM25 retrieval, and it used all 50 queries rather than only AILA’s official 40-query test split. Its generation results therefore are not official test-split results.
The fixed prompt, short output budget, one hardware configuration and small query set limit how broadly the results can be applied. Different prompts, settings, machines or retrieval methods might yield different outcomes. The paper describes itself as a preprint; its findings should be read as an early, setup-specific comparison, not as a validated guide to choosing a legal tool. The practical takeaway is narrower: evaluating a legal RAG system requires more than checking whether its answer looks complete or runs quickly. Citation presence is a useful diagnostic, but legal accuracy and claim-level support require separate assessment.
- legal AI
- retrieval-augmented generation
- small language models
- legal citations
- BM25
- AI evaluation
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
Stable AI judges can still disagree on legal answers
Shared method: Both studies use BM25-based retrieval to supply legal material to generated answers. The comparison is limited: Awasthi and Khaparde evaluate five small models on Indian AILA case queries, while Abduljalil et al. study Arabic questions about Kuwaiti labour law and also assess LLM judges.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.01130v1 — Original paper
Excerpt reference:
static/papers/2612.01130v1.md:53-115
Basis: Paper text
Source file SHA-256:e5e08ccd04e2cf58514213c8c8c8d4fc4f8e09a0574a89fa8e42fe072fcd31852612.00337v1 — Original paper
Excerpt reference:
static/papers/2612.00337v1.md:973-1018
Basis: Paper text
Source file SHA-256:d3a5daa9851cfd35f0b3c386a982a533b14de42d2bb3a4f2253340df689f5ac5
Specialist AI assistants do not always give better regulatory answers
Supporting evidence: Both studies distinguish citation or reference measures from substantive answer correctness: Awasthi and Khaparde state that matching citations to retrieved cases does not establish legal correctness, while Virgolin et al. report only weak association between answer and reference correctness in their EU AI Act benchmark. This supports a bounded caution against treating references as a correctness proxy, not a direct performance comparison across different tasks and systems.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.01130v1 — Original paper
Excerpt reference:
static/papers/2612.01130v1.md:648-728
Basis: Paper text
Source file SHA-256:e5e08ccd04e2cf58514213c8c8c8d4fc4f8e09a0574a89fa8e42fe072fcd31852611.04546v1 — Original paper
Excerpt reference:
static/papers/2611.04546v1.md:1799-1854
Basis: Paper text
Source file SHA-256:53adda99cb72ed6ca9020ae76d5263f2e81b924f45e5c048c258f2b92c64e82d
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
TUSI-Bench tests retrieval for Persian legal AI
Source published
Shared keywords: retrieval augmented generation
Specialist AI assistants do not always give better regulatory answers
Source published
Shared keywords: ai evaluation, legal citations, retrieval augmented generation
When AI Search Finds Conflicting Documents
Source published
Shared keywords: ai evaluation, retrieval augmented generation
Stable AI judges can still disagree on legal answers
Source published
Shared keywords: ai evaluation, retrieval augmented generation
A News-Based AI System for Stock Market Questions
Source published
Shared keywords: retrieval augmented generation