top of page

AI and the Denominator Problem in Legal Reasoning

Writer: Keith Diaz
Keith Diaz
3 days ago
7 min read

Updated: 2 days ago

Book cover about AI and law with blue grid graphic; text reads The prompt is the numerator. You are the denominator. ապis Law footer

For the past year I have been building with AI. RoL-NH began as a way to carry the New Hampshire court rules on my phone. It grew into something more ambitious: Ox, a feature that reasons about the rules and surfaces a dialectic response, leaving it to the lawyer to decide what responses may be helpful in their analysis. Ox is intentionally not designed to give answers. The dialectic produces point and counterpoint to aid the lawyer in thinking through the issues.


Download RoL-NH Free on Apple's App Store: https://apps.apple.com/us/app/rol-nh/id6760432489


Building a tool teaches you things that using one does not. You see what the machine does well, and you see where it breaks and why.


AI is very good at producing material. Ask it a question and you will get an answer, usually a fluent, well-organized, and confident one. But an answer means nothing until it is measured against something.


Think of a fraction. The numerator is the thing to be judged, and the denominator is the standard it is measured against. Seventeen out of twenty is a good score; seventeen out of one hundred is not.


To see what AI measures against, it helps to know what a model contains.


A large language model is trained on an enormous body of text. Training leaves behind billions of numbers, called weights, that record which words tend to follow which other words. The weights are the model’s knowledge base. There is no library of statutes inside the model and no index of cases, only those patterns.


Those weights are fixed. Once training ends, they do not change, no matter how many questions the model answers. Nothing you type teaches the model anything permanent. The weights change only when the developer trains and releases a new model.


In an earlier essay, “Understanding AI: It’s a Tool, Not a Thinker” (also in RoL, under Articles), I compared AI to the Maniac in G.K. Chesterton’s Orthodoxy: the man who has lost everything except his reason. His logic is perfect, and his circle is complete. The completeness is what makes it a prison. A model’s weights are that circle, closed and fixed. Every question is measured against the same set of patterns, and the model cannot step outside them to ask whether they fit.


When you type a question, the model breaks it into pieces and interprets them against its weights. Your prompt is the numerator; the weights are the denominator. Aquinas relied on an old maxim: whatever is received is received according to the mode of the receiver. The model receives your question in the mode of its weights, by what usually follows words like yours.


So AI does have a denominator. The question is whether measuring against it produces an answer that is correct and complete. The weights measure plausibility. Often the plausible answer is also the correct one. Sometimes it is not. The weights alone cannot tell the difference. That takes testing the output against something outside them, something the user brings into the session, such as the rule text or a Shepard’s or KeyCite report.


But the rule text judges nothing, and neither does Shepard’s or KeyCite. The user is the only participant in the session who can judge an output true or false, complete or incomplete. In legal work, that participant is the lawyer. The lawyer supplies a second denominator: the law, and the judgment to know when an answer is missing something or whether an answer has any value.


Judgment is not the same as knowing the rule. Chesterton’s Maniac knows the rule perfectly; what he lacks is any sense of when it fits. Aquinas called the missing virtue prudence: right reason applied to action, the habit of carrying a general rule down to a particular case. Superior Court Rule 37(a) says medical bills come in without formal proof if no one objects. Prudence asks whether this client, with these injuries and this jury, is better served by relying on the rule or by calling the doctor to testify anyway. The rule is the same in every case. The circumstances never are. A model can recite the rule without error. It cannot tell you whether the case in front of you is the exception, because it has no feel for the particular and nothing riding on the outcome. That feel is what years of practice build.


That is why I believe legal expertise will become more valuable in an AI-assisted practice, not less.


Today it is the experienced lawyer who brings the most value to AI, not the other way around. That is a warning to anyone who thinks AI is a wonder machine. If you are an experienced lawyer delighted by what AI produces, you are, in a way, celebrating yourself. You are the one who can judge the output. The computer sees no value in what it produces. It processes everything and loves none of it.


Correctness and completeness


The denominator has to measure two different things.


The first is correctness. Is the answer consistent with the governing law and the facts? An AI answer can sound right and still be wrong. Without guidance, the model falls back on its weights. It may apply the federal rule when the question arises in a New Hampshire court, because far more text discusses the federal rules than New Hampshire’s. It may state a rule that was amended two years ago, because the old version appears in more of what the model read. It may assume facts the lawyer never supplied. The answer reads the same whether it is right or wrong. Still, correctness errors can be caught: pull the rule, check the date, run Shepard’s or KeyCite.


The second is completeness. Did the analysis find every issue, exception, authority, and counterargument that matters? This is the harder problem. An answer on a limitations question may state the period correctly and never mention that the period is tolled for a minor. Every sentence in that answer is correct, and the answer still fails.



A completeness error is not on the page. You cannot catch it by checking what the answer says; you can catch it only by knowing what the answer should have said. That is a skill earned over years, by the lawyer or the judge who has seen the issue before.


Who writes the test


Coding feels different. When I write code, I can run it, and automated tests check its behavior every time I change something. But someone has to write the tests, and passing them proves only that the code passed the tests that were written.


I have lived this with Ox. The evidence walk I built for hearsay passes all 288 of its tests. That tells me the walk does what I designed it to do. Whether I designed the right walk is a question those tests cannot answer.


Legal reasoning has the same problem in a harder form. A legal standard is often incomplete, contested, dependent on the facts, and subject to change. There may be no single test that settles whether a legal analysis is right.


Supplying the law helps, but not enough


The obvious fix is to give the AI the law. That is the premise of RoL. Court rules are about as close to a closed universe as legal research gets, and Ox reasons from that text.


It helps. Ask a model how to get a client’s medical bills into evidence, and it reaches for the Rules of Evidence, because “evidence” appears next to “Rules of Evidence” far more often than next to a civil procedure rule. That is what a probabilistic analysis produces. However, in New Hampshire Superior Court, the practical route is the civil rule mentioned above, Rule 37(a). A model that has read the New Hampshire rules has a chance to find that.


The same example shows where the closed universe leaks. If the model narrows its search to the Rules of Evidence, it misses Rule 37(a), even though Rule 37(a) sits in the same library. Supplying the rule text changes the numerator. The weights still interpret it, and they may still lean toward the Rules of Evidence. And the phrases that decide many disputes, such as “good cause” or “reasonable,” get their meaning from courts. Ox reads rule text only, and every Ox response says so.


Blue-and-white law graphic with bell curve and labels on evidence, AI and the law: The edge case sits in the tail.

AI surfaces candidates. But which ones?


The best argument for AI in legal research is that it can surface what I missed. It does, but building Ox showed me the limit of that argument.


A language model is a probability machine. Ask it how to get a business record into evidence, and it goes straight to the hearsay exception for business records. That answer is correct as far as it goes, but it skips the rest of the evidence walk. A trial lawyer may ask first what the record is offered for: substantive proof or impeachment. If substantive, is it relevant, and do Rules 402 and 403 limit or exclude it? Hearsay comes late. Authentication must be considered too.


The model does not take that walk unless told to, for the same reason it reached for the Rules of Evidence on medical bills: it follows the words that usually appear together. Asking again does not fix this, because a second run, or a second model, tends to land in the same place for the same reason. Also keep in mind that a probabilistic machine, by design, does not produce deterministic output. There is no guarantee that you will receive the same output.


So I built the walk as a map, what engineers call a graph: the evidence questions a judge or a lawyer really asks, in order. The model’s job shrinks to reading the rule text at each stop. But each map had to be built by hand, by someone who already knew the walk. The map was only as complete as the lawyer who drew it.


AI does surface candidates. But it surfaces the likely ones. The unlikely issue, the one that loses the motion, is the one it is least likely to raise.


Part 2 takes up the problem this raises. If the lawyer’s judgment is the denominator, and lawyers build that judgment by doing the work AI now does, where will the next generation get it?


Download RoL-NH Free on Apple's App Store: https://apps.apple.com/us/app/rol-nh/id6760432489

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page