Sub topic 11
Checking claims against real sources
This chapter assumes you have used a chat assistant, can read short Python, and know that a model's fluent output is not evidence that it is true. Here you will learn how to verify specific claims against sources outside the model.
Why a source check comes first
Earlier checks, such as spotting red flags or sampling several answers, tell you where to be suspicious. They do not tell you what is true. Only a source that exists independently of the model can do that. A model asked to confirm its own answer will often repeat it with more confidence.
A primary source is the original record of a fact: a court ruling, a paper, a dataset, a law, a company filing, or official documentation. A secondary source reports on a primary one. Prefer primary sources, because a secondary source may contain the same error you are trying to catch.
A workflow for checking a claim
- Break the answer into separate claims. A paragraph often holds a name, a date, a number, and a citation. Each one can be wrong on its own.
- Rank the claims by risk. Check the ones that would cause harm if wrong, and the ones listed as high-risk earlier: citations, numbers, quotations, and obscure entities.
- Find the source yourself. Use a search engine, a library catalog, or the official site. Do not rely only on a link the model gives you, since links can be invented.
- Compare the exact wording or value. A source that is merely on the same topic does not support the claim.
- Record the result as supported, contradicted, or not found.
What to check for each kind of claim
| Claim type | What to check | Typical failure |
|---|---|---|
| Citation | Search the title and authors. Confirm the venue, year, and that the paper says what is claimed. | The paper does not exist, or a real title is paired with the wrong authors. |
| Quotation | Find the passage in the original text. | The quote is paraphrased or invented. |
| Number or date | Locate the figure in the primary source and check its units and year. | The figure is close but wrong, or it is from a different year. |
| Code or API | Read the current official documentation or run the code. | A function or parameter that does not exist. |
| Obscure person or place | Look for at least two independent sources. | A plausible but made-up biography. |
A claim that you cannot find is not proven false. It is unverified, and you should treat it that way until you find support.
Automating a quotation check
When you have the source text, a script can test whether a quotation really appears in it. This version ignores case and extra whitespace.
def quote_supported(quote, source_text):
def norm(s):
return " ".join(s.lower().split())
return norm(quote) in norm(source_text)
source = "The report was published in March and covers 2021 data."
print(quote_supported("covers 2021 data", source))
print(quote_supported("covers 2023 data", source))The first call prints True and the second prints False. The check is narrow. It confirms that the words exist in the text. It does not confirm that the source is reliable, or that the quote is used in its original sense.
Common mistakes
- Asking the model "Is that right?" and treating a yes as verification.
- Accepting a real source that does not contain the claim. Open the source and read the relevant passage.
- Checking only the first claim in an answer and trusting the rest.
- Trusting a page that was itself written by a model, or that copies the same error.
Matching effort to risk
Checking everything is slow. Check in proportion to the cost of being wrong. A brainstormed list of names needs little checking. A legal citation, a dosage, or a figure in a published report needs a primary source for every claim.
Exercise
A model says, "According to Smith and Lee (2019), remote workers are 23% more productive." You find a 2019 paper by Smith and Lee on remote work, but it contains no 23% figure. What is the status of the claim, and what do you do next?
Show answer
The claim is not supported by that source, so mark it as unverified or contradicted. The paper being real does not make the number real. Search the paper's full text and other primary sources for the figure. If you cannot find it, drop the number or report it as unsourced.
Exercise
Why is asking the same model to confirm its own citation a weak check?
Show answer
The model has no access to the source during that reply. It generates a likely-sounding confirmation from the same patterns that produced the first answer, so it can repeat the error with confidence. An independent source is needed.