← Latest papers
💬 NLP

Who Checks the Citations? Benchmarking Legal Hallucination Detection

This paper addresses the growing issue of AI-generated legal citation hallucinations by introducing a new taxonomy and dataset, demonstrating that while advanced agentic models can detect many errors, they still struggle with subtle inaccuracies and face significant resource and access barriers that necessitate policy interventions.

Original authors: Patty Liu, Dominik Stammbach, Peter Henderson

Published 2026-06-23
📖 6 min read🧠 Deep dive

Original authors: Patty Liu, Dominik Stammbach, Peter Henderson

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the legal system as a massive, high-stakes library where every argument you make must be backed up by a specific book on the shelf. If you claim a book exists but it doesn't, or if you quote a sentence from a book that isn't actually in that volume, you are "hallucinating."

This paper, titled "Who Checks the Citations?", investigates a growing problem: lawyers and regular people using AI to write legal documents are accidentally (or sometimes unknowingly) inventing fake court cases and fake quotes. The researchers wanted to know: Can AI be the librarian that catches these fake books before they get into the court?

Here is a breakdown of their findings using simple analogies:

1. The Problem: The "Fake Book" Epidemic

In the past, if someone made up a fake court case, it was like finding a single counterfeit coin in a pocket. It was rare. But now, with AI writing legal briefs, it's like someone printing counterfeit money and flooding the market.

  • The Trend: The researchers found over 1,000 real court filings that contained these fake citations.
  • The Surprise: Everyone hoped that as AI got "smarter" (like upgrading from a basic calculator to a supercomputer), it would stop making these mistakes. The study found the opposite. Newer, "smarter" AI models are actually making more fake citations, and they are making them in more complex ways.
  • The Jevons Paradox: The authors compare this to a famous economic idea: when a machine makes a task cheaper and faster, we end up doing more of it. Because AI makes writing legal arguments faster, people are filing more documents, and each document has more citations. Even if the AI gets slightly better at not lying, the sheer volume of fake citations is growing so fast that judges and lawyers are drowning in work trying to check them.

2. The Solution Attempt: Building a "Hallucination Detector"

Since humans are too busy to check every single citation, the researchers asked: Can we build an AI agent to do the checking?

To test this, they created a new training ground called LEPHANTOMCITE.

  • The Analogy: Imagine a teacher taking real student essays and secretly swapping out the references to make them fake. They created 1,300 of these "trick" essays containing different types of lies:
    • The Ghost Book: Citing a case that doesn't exist at all.
    • The Mix-Up: Citing a real book but claiming it says something it doesn't (like saying Harry Potter is about a dragon).
    • The Wrong Page: Citing a real book but pointing to the wrong page number.
    • The Fake Quote: Quoting a sentence that looks real but has a few words changed.
    • The Wrong Meaning: Citing a real case but claiming it supports a legal point it actually opposes.

3. The Test: Can AI Catch the Liars?

The researchers put five different AI models (including the latest "GPT-5") through a rigorous test. They gave the AI these trick essays and asked it to find the fake citations. They gave the AI two modes:

  • Solo Mode: Just read the text and guess.
  • Agent Mode: The AI acts like a detective. It can "search" legal databases, read the actual cases, and take multiple steps to verify if a citation is real.

The Results:

  • The Detective Wins: The "Agent Mode" was much better. The best AI (GPT-5) caught about 83% of the fake citations when acting as a detective, compared to only 63% when just guessing.
  • The Weak Spots: Even the best AI struggled with specific types of lies:
    • Page Numbers: It was very bad at checking if a quote was on the right page. Why? Because the "public library" (free legal databases) often doesn't have the official page numbers that paid libraries have. It's like trying to find a specific paragraph in a book that has no page numbers printed on the pages.
    • Subtle Lies: If the AI changed the meaning of a case slightly, the detector often missed it.
  • The Cost: Being a detective is hard work. The AI took an average of 17 steps (searches and checks) just to verify one short paragraph. This is slow and expensive.

4. The Big Bottleneck: The "Paywall" Problem

The study found that the biggest reason AI (and humans) fail to catch these lies isn't because the AI is "dumb," but because the library is locked.

  • In the US, the official court records are often behind paywalls or charge per page (like PACER).
  • Free databases exist, but they are incomplete. They might have the case, but not the specific page numbers needed to verify a quote.
  • The Analogy: It's like asking a security guard to check if a guest has a valid ticket, but the guard isn't allowed to see the guest list. The guard has to guess. If the AI guesses "fake" because it can't find the book in the free library, it might be wrong—the book might just be in the paid section.

5. The Conclusion: Why This Matters

The paper concludes that we cannot just wait for AI to get smarter and stop lying on its own. The problem is structural.

  • For Regular People: People representing themselves in court (without lawyers) are the most vulnerable. They use AI to write their papers, but they don't have the money to buy the expensive legal databases to check if the AI is lying.
  • The Fix: The authors argue that to fix this, we need to make legal records free and easy to access for everyone (like the system in Canada, where all court records are free). Until then, AI will continue to be a "false promise" for regular people, potentially getting them in trouble for citing fake cases they didn't know were fake.

In short: AI is getting better at writing legal briefs, but it's also getting better at making up fake evidence. We are building AI "detectives" to catch these lies, but they are currently hamstrung because the "library" they need to check is locked behind paywalls. Until we unlock the library, the problem will keep growing.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →