Skip to content
Lucerna Law

Getting started with legal AI

Legal AI Benchmarks: What a Test Score Tells a Lawyer

By Published 9 min read

Legal AI benchmarks are fixed sets of legal questions with known answers, used to compare models. They show what a model can do on that set: answer bar exam questions, spot an issue, classify a clause. They do not show how often a tool will be wrong on your matter. Only a test on your own material shows that.

A legal AI benchmark is a collection of legal tasks with answers fixed in advance, so that any model can be run on it and scored the same way. It turns "is this model good at law?" into a number on a defined set of questions. The value of the number depends entirely on what the questions are.

The best-known open example is LegalBench, first posted in August 2023 by Neel Guha, Julian Nyarko, Daniel E. Ho, Christopher Ré and a long list of co-authors. Its abstract describes "a collaboratively constructed legal reasoning benchmark consisting of 162 tasks covering six different types of legal reasoning." The tasks were "designed and hand-crafted by legal professionals," and the paper reports an evaluation of "20 open-source and commercial LLMs."

The six types will look familiar to anyone who wrote a law school exam. The paper lists them as issue-spotting, rule-recall, rule-application, rule-conclusion, interpretation and rhetorical-understanding. The first four follow the IRAC pattern most lawyers learned. Interpretation covers reading legal text such as a contract clause. Rhetorical-understanding covers the types of arguments lawyers make.

The paper also says why it was written. Its authors observe that "legal benchmarks do not use the same vocabulary or conceptual frameworks as the legal profession," and that a single score for "legal reasoning" lumps together skills lawyers treat as distinct. A benchmark built around those distinctions lets a lawyer ask which skill a score is about.

A benchmark tells youA benchmark does not tell you
How a model did on these questions, scored this wayHow it will do on your documents
How two models compare on the same setWhich product, with its own retrieval and instructions, is better
Which kinds of task a model finds harderHow often an answer about your matter is wrong

What did GPT-4's bar exam score actually measure?

GPT-4's bar exam result measured its performance on a simulated Uniform Bar Exam built from published exam materials. OpenAI reported a score around the top 10% of test takers. It showed the model could answer bar-style questions well. It did not show the model could practise law, and the report itself explains the conditions behind the number.

The GPT-4 Technical Report says GPT-4 passed "a simulated bar exam with a score around the top 10% of test takers." Its results table gives 298 out of 400 on the Uniform Bar Exam (MBE, MEE and MPT), around the 90th percentile, against 213 for GPT-3.5. The appendix notes that the Uniform Bar Exam "was run by our collaborators at CaseText and Stanford CodeX."

Three details in the report matter for reading the score:

  1. No special preparation. The report says "We did no specific training for these exams." The score reflects general training, not bar review.
  2. Some questions had been seen. The report says "A minority of the problems in the exams were seen by the model during training," and that for each exam it ran a version with those removed and reported the lower score.
  3. The check for that is imperfect. Appendix C explains that the overlap check used substring matching and that it "can result in false negatives (if there is a small difference between the evaluation and training data) as well as false positives."

That third point has a name in the field: contamination. Bar exam questions, and the explanations of them, are widely published. A model trained on the open web may have read questions much like the test. The report's authors checked for that and say so. A vendor announcing a benchmark score should be able to say how it checked.

The deeper limit is the one LegalBench's authors state. They note that existing evaluations draw on sources such as the Uniform Bar Exam, "but these are not always representative of the actual use-cases for LLMs." A bar exam tests whether a candidate knows and can apply common rules. A lawyer's question is usually about one jurisdiction, one set of facts and one file.

What LegalBench's own authors say it leaves out

LegalBench's authors list its gaps plainly. It does not test long documents, it skews toward United States federal law and certain fields such as contracts, it is English only, and it does not test questions where reasonable minds may differ or analogical reasoning from case law. Those are much of what lawyers actually do.

The paper's limitations appendix sets them out one by one:

  • No long documents. LegalBench "does not include tasks over long documents," which the authors call "significant for legal practice," since contracts, filings, codes and opinions "can be hundreds of pages long."
  • Missing reasoning skills. One example the authors give of a skill not evaluated is "analogical reasoning grounded in case law."
  • Skewed coverage. Tasks lean toward contracts and civil procedure and toward US federal law, so results "may not be representative" for other jurisdictions.
  • One language. It "does not enable evaluation for multilingual, or non-English, legal tasks."
  • Only clear answers. The tasks "focus on legal reasoning questions with objectively correct answers," so the benchmark is "not helpful" where "reasonable minds may differ."

The datasheet in the same paper adds a use limit. The datasets "should not be used to predict the legality of real world events, the outcome of lawsuits, or as legal advice."

None of this is a criticism of the benchmark. It is the authors doing what a careful benchmark should do: saying what the number covers. It is also a reminder that a model's LegalBench score speaks to short, closed questions, while most litigation and transactional work involves long files and contestable judgment.

Why a high benchmark score can reward confident guessing

Most benchmarks mark each answer right or wrong and give an honest "I don't know" the same zero as a wrong answer. Under that scoring a model that guesses scores higher than one that admits doubt. So a model tuned to climb a leaderboard can learn to answer confidently where it should hedge.

This is the argument of Why Language Models Hallucinate, a 2025 paper by Adam Tauman Kalai, Ofir Nachum, Santosh Vempala and Edwin Zhang. They write that "Many language-model benchmarks mirror standardized human exams, using binary metrics such as accuracy or pass-rate." Because language models are "primarily evaluated using exams that penalize uncertainty," the authors conclude that "they are always in 'test-taking' mode."

The paper reviews a set of popular evaluations and reports that "the vast majority" use binary grading. Its proposed remedy is to change how the main benchmarks are scored, rather than adding one more test of hallucination. The post on AI confidence scores covers what that means for a model's stated certainty.

For a lawyer reading a benchmark, the practical question is simple. Did the test give any credit for declining to answer? If not, a high score is consistent with a model that bluffs well. In legal work, "the file does not say" is often the correct answer, and a test that cannot reward it measures something else.

Reading a vendor's benchmark or preference claim

A vendor's benchmark claim is worth as much as the answers to a few questions: who wrote the questions, whether the model could have seen them, what counted as correct, and which version was tested. A claim that lawyers preferred one tool's output measures taste, which can track length and polish as much as accuracy.

A customer story on OpenAI's site about Harvey's custom-trained case law model shows how a preference figure is reported. In side-by-side comparisons that Harvey ran with attorneys from "10 of the largest law firms", it quotes Harvey co-founder Winston Weinberg: "97% of the time, the lawyers preferred the output from the case law model." The next sentence gives the reason: "Usually, it was because it was a longer, more complete answer." That is a real finding about preference. It is not a measured error rate, and the story does not present one.

Independent measurement looks different. A preregistered study of commercial legal research tools counted how often answers were wrong or wrongly supported. The post on accuracy describes what that published research measured, and what it did not.

Questions to put to any benchmark claim:

  • Were the questions public before the test, so the model may have read them in training?
  • Who wrote the questions and the answer key, and were they lawyers in the relevant field?
  • Was "I don't know" scored as wrong, or given credit?
  • Was the test run on the product you would use, with its retrieval and instructions, or on the bare model?
  • Which model version was tested, and has the product moved to another since?

The last question matters because tools change the model underneath them. The post on why AI gives different answers explains how a model swap can change results.

Building a small benchmark from your own matters

The benchmark that answers a lawyer's question is a small one built from closed matters the team knows well: a few dozen questions with answers checked by hand. Run the tool on it, count the errors by kind, and repeat when the tool changes. It costs a few hours and measures the tool on the work you will give it.

OpenAI's guide to optimizing LLM accuracy gives developers the same advice. It calls "a good prompt with an evaluation set of questions and ground truth answers" the best output of the first stage of work, and mentions a set of "20+ questions and answers" as a baseline. It also asks readers to judge accuracy by the cost of failure, noting "a difference between producing a bad copy that a human needs to fix vs. refunding a customer $1000 rather than $100."

A workable version for a legal team:

  1. Pick a closed matter. One where the team knows the documents and the answers, and the client's confidentiality terms allow the use.
  2. Write the questions before running the tool. Mix questions the file answers, questions it answers only in part, and questions it does not answer at all.
  3. Fix the answer key. Record the right answer and its page for each one.
  4. Score by kind of error. A wrong fact, a correct fact with the wrong citation, a missed document and an invented one are different failures.
  5. Give credit for "the file does not say." On the questions with no answer in the file, that is the only right response.

ABA Formal Opinion 512 treats this kind of prior testing as relevant to how much review a tool's output needs. The post on the opinion covers how much checking it expects.

For Lucerna Law, the FAQ says the model is told to answer only from the matter's files, cite each statement and say when the file does not answer, and calls those instructions rather than guarantees. A test set with unanswerable questions is how a team sees what that means in practice.

Some vendors say their model is trained on legal data to score better on tests like these. The post on AI fine-tuning for lawyers explains what that training can and cannot change.