A citation is not evidence: verifying AI-generated claims

A model that cites its source has told you where to look. It hasn't shown that the source says what the model claims. Here is how we check the difference in clinical notes.

AI Frontier India engineering7 min read
Contents
  1. 1.The gap between citing and supporting
  2. 2.Three separate questions
  3. 3.Is the quote real?
  4. 4.Does it support the claim?
  5. 5.When two checkers disagree
  6. 6.What this check misses
  7. 7.If you are building this

The gap between citing and supporting

Ask a model to cite its sources and it will. The answer looks more trustworthy, and a reader can click through. But a citation only tells you where the model says it looked. It doesn't show that the source says what the model wrote.

Nelson Liu, Tianyi Zhang and Percy Liang measured this gap in 2023. They had people audit four generative search engines, including Bing Chat and Perplexity, and found that “a mere 51.5% of generated sentences are fully supported by citations” and “only 74.5% of citations support their associated sentence.” Those systems have changed since then, and the numbers will have moved. The lesson hasn't: a citation is a pointer, and you still have to check what it points at.

In clinical documentation the same gap has a sharper edge. Our prototype turns an ENT consultation into a structured note. Every finding the model proposes must come with the words the doctor said. If the model writes “left ear: perforated” and quotes a sentence about the right ear, the note now contains something nobody observed, with a source attached that makes it look checked.

Three separate questions

We found it helps to stop asking “is this claim verified?” as one question. It hides three different checks, which fail in different ways and need different fixes.

QuestionFails whenWhat we do
Is the quote real?The model paraphrased or invented the wordsFind the words in the transcript, or refuse
Does it support the value?The words are hedged, negated or about something elseHold, or send to review
Is it enough to act on?The words support the value but leave out something requiredHold and name what is missing
Verification as three checks. This article covers the first two. The third has its own piece.

This split also lines up with how researchers frame attribution. Rashkin and colleagues proposed a framework called “Attributable to Identified Sources” that treats support as a judgment about whether a source backs a specific statement, separate from whether the statement is true in the world. That is the right frame for a record. We don't check whether the eardrum is really perforated. We check whether the doctor said so.

Is the quote real?

Models asked to copy text exactly still drift. A doctor says “The patient complains of pain,” and the quote comes back as “She complains of pain.” Refusing every near miss throws away real findings. Accepting the model's wording stores words nobody said.

Our answer is to look the quote up in the transcript and keep the transcript's words, never the model's. An exact match comes first, ignoring case and punctuation. Failing that, we accept the closest window of the transcript only if the quote has at least five words and at least 85% of them line up in order.

modules/common/implementation/quotes.py
MIN_RATIO = 0.85
MIN_FUZZY_WORDS = 5

def locate(quote: str, source: str) -> Optional[str]:
    """The source's own words for `quote`, or None if it is not there."""

The five-word floor matters more than the ratio. Without it, a short invented phrase like “drum perforated” could borrow credibility from any sentence that happens to contain those two words. Short quotes must match exactly or they fail.

Does it support the claim?

A real quote can still fail to support the claim. The commonest case in clinic speech is hedging. “Right drum looks perforated, but the patient kept moving” is a real sentence, and it contains the word “perforated.” It is not something a doctor would want written down as a finding.

So the first support check is deliberately simple. It looks for hedge phrases in the quote, such as “can't really tell,” “poor view” or “kept moving.” If it finds one, the finding is held as insufficient, however fluent the rest of the sentence is. Next it checks whether the quote contains a word for the claimed value. If it does, the quote supports the value. If it doesn't, the finding goes to the doctor as a partial match.

Every one of these checks is cheap, runs offline and gives the same answer twice. When a doctor asks why a finding was held, the system can show the exact phrase that triggered it. That is hard to get from a model judging support on its own.

When two checkers disagree

We also wrote a model-based check. A language model reads the quote and the proposed value and answers with one word: supports, partial, contradicts or insufficient. It is designed as a second opinion, not the main path, and the running app doesn't switch it on yet. The word checks above do all the work today.

The interesting design choice is how the two verdicts would combine, and it is already written and tested. We rank them by caution and the more cautious one wins. A model that says “supports” couldn't overrule a hedge the word check found. A model that says “contradicts” could hold a finding the word check would have let through. And a model that fails, times out or returns nothing wouldn't get a vote at all.

modules/evidence/implementation/support.py
_CAUTION_ORDER = [
    CONTRADICTS, INSUFFICIENT, DOES_NOT_SUPPORT, PARTIAL, UNKNOWN, SUPPORTS,
]

def combine(primary, secondary):
    """When both engines have an opinion, the more cautious one wins."""
    if secondary is None or secondary.support is UNKNOWN:
        return primary
    ...

This is a policy choice, and we say so in the code. It trades extra review work for fewer unsupported lines in a record. For a chat assistant you might choose the other way. For a medical note, a false “supports” is the failure we built the whole thing to prevent.

What this check misses

We want to be plain about the limits. The hedge list is short and written by hand. The table of words for each value covers about twenty values. A doctor who says “the drum isn't looking great” won't trip anything. The tests check the phrases we wrote them for, not clinic speech in general.

We also haven't measured any of this on real consultations. We have no number for how often it holds a correct finding or lets a wrong one through. That needs real recordings and a clinician marking each finding, and it is the next piece of evaluation work, not something we can claim yet.

If you are building this

  • Treat a citation as a claim about where to look. Then look.
  • Store the source's words. Never store the model's copy of them.
  • Set a minimum length for fuzzy matching, or short invented phrases will pass.
  • Check for hedges and negation before you check for keywords.
  • Decide in advance which checker wins a disagreement, and write it down as combine(), not as a prompt.
  • Say which cases your check can't see. Users will find them anyway.

References

  1. Nelson F. Liu, Tianyi Zhang and Percy Liang. Evaluating verifiability in generative search engines. arXiv:2304.09848, 2023. arxiv.org/abs/2304.09848
  2. Hannah Rashkin et al. Measuring attribution in natural language generation models. arXiv:2112.12870, 2021. arxiv.org/abs/2112.12870

About the author

Written by the team building ENT Clinical OS. Code excerpts come from that repository, which is private for now. Where we have not measured something, the article says so.

ShareLinkedInXEmail