Hallucinated citations: the failure mode legal AI has to be designed against
The failure that defines AI in law is not a wrong answer. It is a wrong answer with a citation attached — a case name, a paragraph number, a quoted passage — that does not exist. It has happened in courts in several countries, it has produced sanctions, and it will keep happening to anyone using a tool that generates citations the way it generates prose. This post is about why, and about the only reliable fix.
Why a model invents a citation
A language model produces text that continues plausibly from what came before. Asked for authority on a proposition, it produces text that looks like authority: a case name in the right format, a citation in the right style, a passage in the right register. It is very good at this, because it has seen millions of citations and learned exactly what they look like.
What it has not learned is whether a given case exists. That is not a fact about the shape of text. The model does not look anything up; it generates. A real citation and a fabricated one are produced by the identical process, and the model has no signal that distinguishes them. So it cannot mark the fabricated one, because from the inside there is nothing to mark.
Why prompting does not fix it
"Only cite real cases." "If you are not sure, say so." "Do not invent authorities." These instructions reduce the rate. They do not eliminate it, because the model does not have an "am I sure?" that corresponds to "does this case exist". It has a sense of how plausible the text is, and a fabricated citation is, by construction, plausible.
Every tool that generates citations from a model's memory has this problem, and no amount of prompt engineering closes it. The fix has to be structural.
The structural fix: cite only what you were given
Anserli does not let the model cite from memory. It cannot, because it is not asked to. The model is given passages from your file — each with its document name and page — and told to answer from those and cite them by name. A citation is a reference to a passage that was in the prompt.
Then, in code, not in the model:
- Every citation is checked against the passages that were actually supplied. A citation to a document not in the matter, or to a passage that was not provided, is stripped.
- A finding whose citations were all stripped is removed. An unsupported finding does not reach the screen.
- Where a finding's cited passage contradicts the finding — the model says "not received" and the cited passage says "delivered" — a code-level check catches it.
The model can still misread a passage. It cannot invent one. And a misreading has a page you can open; an invention has nothing behind it.
What this costs
It means Brain cannot cite case law unless the case is in the Vault. It cannot tell you what the Supreme Court held on a point unless you uploaded the judgment. It will not, ever, hand you a list of authorities from memory — because memory is where the fabrications live.
Some advocates find this limiting. It is limiting. It is also the only way we know to make a fabricated citation impossible rather than rare, and we think the trade is obviously right for a tool that will be used in front of a judge.
The residual risk, stated
Structural grounding removes fabrication. It does not remove misreading. Brain can cite a real page and draw the wrong conclusion from it, and the citation will look identical to a correct one. That is why every finding has a chip that opens the page with the passage highlighted — so that the check is a glance, not a search. We explain the verified mark's limits because a reader who thinks "verified" means "true" will eventually be surprised.
What to demand from any tool
Ask the vendor: can your tool produce a citation to a document I did not give it? If the answer is yes, the tool can fabricate, whatever the marketing says. If the answer is no, ask what happens when the model cites something that was not in the prompt — and whether that check is in code or in hope.
The line between "unlikely to fabricate" and "cannot fabricate" is the line between a tool you check carefully and a tool you can trust to have not made the case up. Both still need checking. Only one of them can be trusted not to invent the page.
See it on a file you know.
The pilot is invite-only and runs in India. Every new account comes with a worked sample matter, so the first thing you do is check whether Brain is right.