AI Literacy & Prompting Module 4 – Checking AI output
AI search and deep-research tools
How AI search answers and deep-research reports are built from pages they retrieve, why their citations fail, and how to audit one before you act.
What you will learn
- Explain how an AI search answer or a deep-research report is built from pages it retrieves
- Check whether each cited page supports the sentence it is attached to
- Identify outdated, copied and low-quality sources in an AI-written answer or report
- Decide when to stop and read the original sources yourself
Before you start
What you’ll learn · Before you start
What you will learn
- Explain how an AI search answer or a deep-research report is built from pages it retrieves
- Check whether each cited page supports the sentence it is attached to
- Identify outdated, copied and low-quality sources in an AI-written answer or report
- Decide when to stop and read the original sources yourself
Before you start
On this page
When Liu, Zhang and Liang audited the answers of four AI search tools, only 51.5 % of the sentences were fully supported by their citations, and only 74.5 % of the citations supported the sentence they were attached to (Liu and others). A footnote beside a sentence looks like evidence. About one time in four it was not.
This lesson shows how an AI search answer and a long deep-research report are put together from the pages a tool retrieves, and where each goes wrong. You will audit an answer citation by citation, recognise old, copied and weak sources, size a sample check of a long report with a model you can change, and decide when to stop reading the AI and read the originals yourself.
An AI search answer is written from the pages it retrieved
An AI search tool does two jobs in a row. First it searches: it turns your question into queries and gets back pages, much as a search engine would. Then a language model writes an answer from passages of those pages and attaches links to its sentences. Researchers call this retrieval-augmented generation: A way of building AI answers in two steps: a search first retrieves documents or web pages, then a model writes the answer from passages of them, often with links to the pages it used.; Lewis and others found that models writing from retrieved text were more specific and more factual than models writing from memory alone. Follow one question through the two jobs:
The drawing shows the whole scene; its 6 steps are listed below.
Every step as text
- The question. A student asks whether she can still apply for a state merit scholarship, and what the family income limit is.
- The search. The tool turns the question into searches and sends them to a search index, as an ordinary search engine would.
- Retrieval. Three pages come back: the department's own page, a coaching blog and a news item. Which pages come back decides what the answer can say. A stale or wrong page here is a retrieval error.
- Writing. A language model writes the answer from passages of those pages, one likely sentence after another, and attaches a page number to each. Misreading a good page here is a writing error.
- The answer. Five confident sentences arrive, each with a citation. Nothing in this process checked that the cited page says what its sentence says, or that the page is still current.
- Two places to fail. So an answer can go wrong twice: in retrieval, by choosing an old or weak page, and in writing, by stating what no page says. The audit in this lesson checks for both.
Each job has its own way to fail. Retrieval can bring back the wrong pages: an old blog instead of the department’s page, a copy instead of the original. Writing can misreport a good page: a figure that the page does not give, or a sentence that no page supports at all. A citation tells you which page the tool used, not which job went right.
A deep-research tool: An AI tool that plans many searches in a loop, reads what each one returns and writes a long report with footnotes. Its report rests on retrieved pages, like any AI search answer. runs the same two jobs many times in a loop. Huang and others describe such agents as combining planning, searches that build on each other, repeated tool use and “the generation of structured analytical reports” (Huang and others). The result is long, organised and full of footnotes, and it rests on the same retrieved pages, many more of them. Java and others, who built a benchmark of 100 such tasks, argue that the defining feature is broad searching, not report length; the best system they tested scored 0.55 on a scale on which 1 means every expected key claim found and nothing wrong (Java and others).
Checkpoint
Check: How AI search answers are built
A citation can sit beside a sentence it does not support
The Tow Center for Digital Journalism ran 1,600 queries through eight AI search tools, asking each to identify the source of a news extract. Together they answered more than 60 % of the queries incorrectly, were more likely to give a wrong answer than to admit they did not know, and sometimes cited copied versions of articles instead of the original publisher (Tow Center). The paid versions they tested gave confidently wrong answers more often than the others.
So audit an answer one sentence at a time, with four questions for each citation: does the page say what the sentence says, how old is the page, is it a primary source, and is it independent or a copy of another page? The program below audits the scholarship answer from the figure above; the answer and the three pages it read were written for this lesson and saved, so it runs without a network:
"""Audit an AI search answer: does each cited page support its sentence?
A student asked an AI search tool whether she can still apply for a state
merit scholarship, and what the income limit is. The tool read three pages
and wrote a five-sentence answer with citations. The pages and the answer are
examples written for this lesson, saved here so the program runs without a
network.
For each sentence the program asks the questions of a citation audit:
1. Does the cited page say what the sentence says?
2. Is the page the newest source on the point, or has a newer one changed it?
3. Is it a primary source, or does it only repeat another page?
"""
PAGES = {
1: {"site": "the scholarship department's page", "year": 2026,
"primary": True, "repeats": None,
"text": "Applications for the merit scholarship are open until "
"30 November. The family income limit is 8,00,000 rupees "
"a year. Students must have scored at least 60 per cent in "
"their last examination."},
2: {"site": "a coaching centre's blog", "year": 2024,
"primary": False, "repeats": None,
"text": "The merit scholarship's family income limit is 6,00,000 "
"rupees a year, and applications close on 31 October."},
3: {"site": "a news site", "year": 2025,
"primary": False, "repeats": 2,
"text": "According to a popular coaching blog, the scholarship's "
"family income limit is 6,00,000 rupees a year."},
}
# sentence, cited page, the point it makes, what it says on that point
ANSWER = [
("Applications are open until 30 November.", 1,
"applications", "30 November"),
("The family income limit is 6,00,000 rupees a year.", 2,
"income limit", "6,00,000 rupees"),
("News reports confirm the 6,00,000 rupee limit.", 3,
"income limit", "6,00,000 rupees"),
("Students need at least 75 per cent in their last examination.", 1,
"at least", "75 per cent"),
("Late applications are accepted with a fee.", 1,
"late applications", "with a fee"),
]
def sentence_about(text, point):
for sentence in text.split(". "):
if point in sentence.lower():
return sentence.rstrip(".")
return None
def newest_primary(point):
"""The newest primary page that speaks to the point, if any."""
found = [(p["year"], n) for n, p in PAGES.items()
if p["primary"] and sentence_about(p["text"], point)]
return max(found)[1] if found else None
sound = 0
for i, (sentence, cited, point, says) in enumerate(ANSWER, start=1):
page = PAGES[cited]
print(f"{i}. {sentence} [{cited}]")
print(f" page {cited}: {page['site']}, {page['year']}, "
f"{'primary' if page['primary'] else 'secondary'}")
passage = sentence_about(page["text"], point)
if passage is None:
print(" DOES NOT SUPPORT: the page says nothing on this point\n")
continue
if says not in passage:
print(f' DOES NOT SUPPORT: the page says "{passage}"\n')
continue
flags = []
best = newest_primary(point)
if best and best != cited:
newer = sentence_about(PAGES[best]["text"], point)
if says not in newer:
flags.append(f"OUTDATED: page {best} "
f"({PAGES[best]['year']}, primary) says "
f'"{newer}"')
if page["repeats"]:
flags.append(f"NOT INDEPENDENT: it repeats page {page['repeats']}")
if flags:
print(" supports the words, but")
for flag in flags:
print(f" {flag}")
print()
else:
sound += 1
print(" SUPPORTS it, from a current primary source\n")
print(f"Sound citations: {sound} of {len(ANSWER)} sentences") Output
1. Applications are open until 30 November. [1] page 1: the scholarship department's page, 2026, primary SUPPORTS it, from a current primary source 2. The family income limit is 6,00,000 rupees a year. [2] page 2: a coaching centre's blog, 2024, secondary supports the words, but OUTDATED: page 1 (2026, primary) says "The family income limit is 8,00,000 rupees a year" 3. News reports confirm the 6,00,000 rupee limit. [3] page 3: a news site, 2025, secondary supports the words, but OUTDATED: page 1 (2026, primary) says "The family income limit is 8,00,000 rupees a year" NOT INDEPENDENT: it repeats page 2 4. Students need at least 75 per cent in their last examination. [1] page 1: the scholarship department's page, 2026, primary DOES NOT SUPPORT: the page says "Students must have scored at least 60 per cent in their last examination" 5. Late applications are accepted with a fee. [1] page 1: the scholarship department's page, 2026, primary DOES NOT SUPPORT: the page says nothing on this point Sound citations: 1 of 5 sentences
Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 audit_answer.py
One citation of five is sound. Two pages support their sentences’ words but are out of date, and one of those also repeats the other. Two sentences cite the department’s page for things it does not say: it asks for 60 per cent, not 75, and it says nothing at all about late applications. The fifth sentence is the kind of slip a reader never checks, because it carries the most trustworthy link in the answer.
Checking that the link works instead of what it says
Wrong: “Every sentence has a link and every link opens.” Right: “Sentence 4 cites the department’s page; the page asks for 60 per cent, not 75.” A working link to a good page can sit beside a sentence that page never supports.
Checkpoint
Check: Citations that do not support their sentence
Old, copied and weak sources look as good as current ones
An answer’s citations all look the same: a number in brackets, a site name, a link. The pages behind them do not. In the scholarship answer the income limit seems to have two sources behind it, a coaching blog and a news item. Step through where each came from:
The drawing shows the whole scene; its 5 steps are listed below.
Every step as text
- Three sources?. The answer cites three pages, and the income limit seems to have two of them behind it: the coaching blog and a news item.
- The blog is old. Page 2 is a coaching blog from 2024. It gives the limit as 6,00,000 rupees, the figure of an earlier year's rules.
- The news repeats it. Page 3 says where its figure came from: "according to a popular coaching blog". It is the blog again, not a second source.
- One source, cited twice. Two citations, one origin. A copy adds no confirmation, however many sites repeat it, and it carries the original's age with it.
- The current primary page. Page 1 is the scholarship department's own page, from 2026, and it gives the limit as 8,00,000 rupees. The answer cited it only for the deadline.
Three things went wrong, and the citations showed none of them:
- Out of date. The blog described an earlier year’s rules. Fees, limits, dates and eligibility often change from year to year, and a page keeps saying the old figure long after it changed.
- Copied. The news item repeated the blog. Copies add no confirmation, however many sites repeat a figure. Sources that seem to confirm one another but all trace back to the same original, so that a single claim appears to have several independent sources. is easy to miss because each copy looks independent.
- Weak. A page with no author, no date and no source for its own figures is a lead at best.
NIST’s profile of generative AI expects information of high integrity to trace back to its original source and to say how long it stays valid: it “creates reasonable expectations about when its validity may expire” (NIST AI 600-1). Ask the same of every citation: when was the page written, does it name where its figure comes from, and is there a newer primary page on the same point?
Checkpoint
Check: Old, copied and weak sources
A long report needs a sample check, not trust
A deep-research report may have 40 footnotes. Checking every one takes as long as writing the report, and checking none makes it a guess with formatting. A sample check sits between the two, and its strength can be worked out. Say a report’s footnotes fail at the rate Liu and others measured, about one in four. The model below gives the chance that checking 8 footnotes picked at random finds at least one bad one; here a “success” is a check that finds a bad footnote:
In 8 tries with p = 0.25, the chance of at least 1 successes is 0.8999; on average there are 2.
The numbers as a table
| Successes | Probability |
|---|---|
| 0 | 0.1001 |
| 1 | 0.2670 |
| 2 | 0.3115 |
| 3 | 0.2076 |
| 4 | 0.0865 |
| 5 | 0.0231 |
At one bad footnote in four, 8 checks find at least one with a chance of 0.8999, about nine times in ten, so a sloppy report is caught quickly. Drag the chance of a bad footnote down to 0.1 and the same 8 checks find one only 0.5695 of the time; at 0.05, only 0.3366. A clean sample does not prove a report is clean. The model treats every check as an independent draw, as if the report had far more footnotes; picking 8 different footnotes out of 40 makes a catch a little more likely, so its chances lean to the cautious side.
Use the sample in two ways. Check every footnote behind a claim you will act on, whatever the sample says. Then check a random handful of the rest: if one fails, check them all or put the report aside. And ask what a good report on the question should have cited, such as the official page of the body that decides, and look for it in the footnotes.
Key idea
A footnote is a claim that a page supports a sentence. Check the footnotes behind what you will act on, and use a random sample only to judge the rest.
Checkpoint
Check: Sample checks of long reports
Read the originals before you act
An AI search answer is a good way to find sources and a poor way to decide. Stop and read the original sources yourself when any of these signals appears; the scholarship answer showed four of the five:
| Signal | Why it calls for the original |
|---|---|
| You will act on it: pay, apply, sign, publish, tell others | A wrong figure now costs money or trust |
| The sources disagree, or a figure differs from its own page | One of them is wrong, and only the original settles it |
| The newest page may be older than the rule it describes | Fees, limits and dates often change from year to year |
| The claim is surprising, or just what you hoped | Surprise and hope both lower your guard |
| Only summaries, blogs or copies are cited | No page of the body that decides is behind it |
When you read, start from the primary source: the department’s own page, the published rules, the judgment, the study. Use the AI answer as a list of leads, and judge each lead as the lesson on a risk-based routine for checking AI shows.
Official portals for everyday questions in India
Exam dates and rules are on the website of the body that conducts the exam; tax rules on the income tax department’s site; and central and state schemes are listed with their eligibility rules on myScheme, a national platform for “one-stop search and discovery” of government schemes run by the National e-Governance Division (myScheme). Read the scheme’s own page there, and its guidelines, before you apply.
Checkpoint
Check: When to read the originals
Practise: audit two more answers
Each question gives one cited sentence and what its page says. Decide whether the citation holds; every answer says why:
Checkpoint
Does the citation hold?
Then a self-check on how AI search is built, citations, sources, sampling and originals. It opens with whichever of them your answers show is weakest:
Practice that adapts to you
Practise this lesson
13 questions about 5 ideas of this lesson. Each answer is explained at once, and what you get right is kept in this browser.
Interview questions
Warm-up (fresher to mid-level): How does an AI search answer differ from a list of search results, and what does that mean for checking it?
A list of search results gives you pages, and you read them and decide. An AI search answer adds a second step: a model reads passages of the pages the search found and writes sentences from them, with links attached. That makes it faster to read and easier to trust than it deserves, because each link shows which page was used, not whether the page supports its sentence. An answer can fail in retrieval, by choosing an old, copied or weak page, or in writing, by stating what no page says. So you check it citation by citation: does the page say it, how old is it, is it primary, and is it independent? For anything you will act on, read the original source yourself.
Two workplace questions build on this lesson:
Model answers open with any pass: ₹79 for 1 week ($2.99), one payment that never renews.
-
Mid to senior
Your manager forwards a 30-page report from an AI deep-research tool that recommends one of two software suppliers, and wants a decision by Friday. How do you decide how far to trust the report?
-
Fresher to mid
Your team answers customers' questions about government fees and rules with an AI search tool. Last week a customer was quoted an outdated fee. What do you change in how the team works?
Key takeaways
- An AI search answer is retrieval followed by writing, and it can fail in either: old or wrong pages, or sentences no page supports; a deep-research report repeats the same steps many times.
- A citation shows which page was used, not that it supports the sentence: in one audit only 74.5 % of citations supported their sentences, and in the scholarship answer only one of five citations was sound.
- Check each citation’s page for what it says, its age, whether it is primary and whether it only repeats another page.
- In a long report, check every footnote behind what you will act on, and judge the rest by a random sample, which catches a sloppy report quickly and cannot prove a good one clean.
- Read the original sources yourself before you act, when sources disagree, or when the answer cites only copies and summaries.
Terms in this lesson
- deep-research tool
- An AI tool that plans many searches in a loop, reads what each one returns and writes a long report with footnotes. Its report rests on retrieved pages, like any AI search answer.
- retrieval-augmented generation
- A way of building AI answers in two steps: a search first retrieves documents or web pages, then a model writes the answer from passages of them, often with links to the pages it used.
References
- Evaluating Verifiability in Generative Search Engines (Findings of EMNLP (Liu, Zhang and Liang; arXiv))
- AI Search Has a Citation Problem (Columbia Journalism Review (Tow Center for Digital Journalism))
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (NeurIPS (Lewis and others; arXiv))
- Deep Research Agents: A Systematic Examination And Roadmap (arXiv (Huang and others))
- Characterizing Deep Research: A Benchmark and Formal Definition (arXiv (Java and others))
- Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (NIST AI 600-1) (National Institute of Standards and Technology)
- About myScheme (National e-Governance Division, Government of India)
Report a problem with this lesson
Kept only in this browser. Your Learn progress