Sub topic 2
Why a Language Model Cannot Answer from Memory Alone
This chapter assumes you have used an AI chat or AI search product and know the basics of traditional search and SEO. You don't need to program. The short code sketch is there to make one idea concrete.
By the end you should be able to explain why AI search tools retrieve documents before they write an answer. That explanation underpins the rest of this tutorial. Query fan-out, passage ranking and citation all exist because of the limits described here.
What a language model actually stores
A large language model (LLM) is a program trained on a very large body of text to predict likely next words. During training, it adjusts billions of numeric values, called parameters, until its predictions match the training text well. After training, the parameters are fixed.
The model does not keep a library of documents it can look up. What it keeps is a compressed statistical pattern of the text it saw. When it answers a question, it generates text that fits those patterns. Sometimes that text matches reality closely, and sometimes it doesn't.
This has a few direct consequences:
- The model has no index of URLs or pages to consult.
- It cannot tell you where a particular fact came from unless it is given the source.
- Its knowledge of any topic depends on how often and how clearly that topic appeared in training.
Compare this with a classic search engine. A search engine stores a document index and returns pages that exist. An LLM on its own stores patterns and produces new text.
Limit 1: The training cutoff
Training data is collected up to a certain date, called the training cutoff. The model has no built-in knowledge of anything after that date.
In practice there is a further gap. Models are usually released months after their cutoff, and people keep using them for a long time after release. A model used today may be missing a year or more of events, product launches, price changes and news.
For marketers, this matters because many of the questions people ask are time-sensitive:
- "What is the best project management tool this year?"
- "Is this product still available?"
- "What changed in the latest version?"
- "What does it cost now?"
A model answering from memory can only describe how things looked at its cutoff, or guess.
Limit 2: Ungrounded answers and hallucination
The second limit is about reliability, not freshness. Because the model generates plausible text, it can produce statements that read well but are false. This is commonly called hallucination.
A hallucination is not a random glitch. It is a natural result of how the model works. If the training data contained little about a niche product, the model still produces fluent text about it, because fluency is what it was trained for. It has no built-in signal that says "I don't know this."
An answer is grounded when it is tied to a specific, checkable source. An answer from memory alone is ungrounded. The reader cannot verify it, and neither can the model.
Limit 3: Gaps in what the model learned
Even for facts that existed before the cutoff, the model may know little or nothing:
- Private data. Internal company documents, a user's own files and paywalled content were generally not in the training data.
- Rare topics. Small brands, local businesses and specialist subjects appear rarely in training text, so the model's patterns for them are weak.
- Precise details. Exact figures, model numbers, quotations and dates are easily blurred when text is compressed into parameters.
Hallucination risk is highest in exactly the places where marketers care most: specific products, prices, comparisons and claims.
Limit 4: No way to cite
A trustworthy answer to a purchasing or health question usually needs a source the reader can check. A model answering from memory cannot reliably provide one. When a model produces a reference from memory, the link or title may be invented.
This limit has a business effect. Products that show sources next to answers need a mechanism that supplies those sources. That mechanism is retrieval.
Why not just retrain the model?
A natural question is whether the fix is to train the model again on newer data. Retraining has real drawbacks:
| Approach | What it addresses | Drawbacks |
|---|---|---|
| Retrain on new data | Newer knowledge | Very expensive and slow, so it cannot happen for every news item or price change |
| Fine-tune on specific data | Style, domain focus | Does not reliably add new facts, and the model can still hallucinate |
| Retrieve documents at question time | Freshness, grounding, citations | Needs a search step, and answer quality depends on what is retrieved |
Retrieval is the approach most AI search products have adopted for this reason. Rather than trying to make the model remember everything, the system fetches relevant documents when a question arrives and gives them to the model to work from. The next chapter covers that design, called retrieval-augmented generation (RAG).
The core idea in one picture
The following diagram contrasts the two ways of answering.
A small illustration of the problem
The sketch below is a toy, not a real model. It shows how a system that answers only from a fixed snapshot behaves when the world changes. The same lookup, given fresh documents, gives a different and correct answer.
# A toy illustration, not a real language model.
# "memory" stands for what a model absorbed before its training cutoff.
memory = {"acme widget price": "19 dollars"}
# "live_documents" stands for pages a retrieval step could fetch today.
live_documents = {"acme widget price": "24 dollars (updated this month)"}
def answer_from_memory(question):
return memory.get(question, "I am not sure, but it is probably around 20 dollars.")
def answer_with_retrieval(question):
document = live_documents.get(question)
if document is None:
return "No source found."
return f"{document} [source: acme.example/pricing]"
question = "acme widget price"
print("Memory only: ", answer_from_memory(question))
print("With retrieval:", answer_with_retrieval(question))Two things to notice. The memory-only answer is out of date, and for an unknown question it falls back on a confident guess. The retrieval answer is current and carries a source. Real systems are far more complex, but the difference in behaviour is the same.
Common misunderstandings
"The model has read my website, so it knows my content." Your site may or may not have been in the training data, and if it was, the model keeps patterns rather than pages. It cannot reliably recall your current pricing, product range or claims. For those, a retrieval step must fetch your page.
"Retrieval removes hallucination." It reduces it, but doesn't remove it. The model can misread a retrieved passage, blend two sources, or add details that no source contains. Retrieval gives the model something to be accurate about. It does not guarantee accuracy.
"The model's knowledge cutoff is the date it was released." The cutoff is earlier than release, and often by months.
"Retrieval means the model is searching the live web every time." Not necessarily. Some systems search a live web index, some search a fixed collection of documents, and some decide per question whether to search at all. Which of these a given product uses is often not publicly documented.
What this means for marketers
Three practical points follow from the limits above, and later chapters develop each one.
- Being retrievable matters more than being remembered. For many questions, an AI search product relies on documents it fetches at question time. A page that cannot be found, read or matched to the question cannot ground an answer.
- Freshness is part of the value you offer. Because models are stale by default, clearly dated, updated and specific pages give a retrieval step something a model cannot supply from memory.
- Verifiable specifics are what grounding needs. Exact prices, dimensions, policies and named sources are the kind of detail a model blurs in memory and a retrieved page can state precisely.
Summary of the limits
| Limit | What goes wrong | What retrieval adds |
|---|---|---|
| Training cutoff | Answers reflect an older world | Current documents |
| Ungrounded generation | Fluent but false statements | Text to stay close to |
| Knowledge gaps | Weak on private, rare or precise facts | Access to specific sources |
| No citation | Claims cannot be checked | Sources to show the reader |
Exercise
A user asks an AI assistant, "What is the current return policy for Brightline Shoes?" The assistant answers confidently, but the policy changed two months ago. Name two limits of a language model that could explain the wrong answer, and say what a retrieval step would change.
Show answer
First, the training cutoff: the model's knowledge stops at a fixed date, so a policy change made after it is not known. Second, ungrounded generation: with no source in front of it, the model produces a plausible-sounding policy instead of saying it doesn't know. A retrieval step would fetch the current policy page at question time and give it to the model, so the answer is based on a document that can be shown as a source.
Exercise
Why is retraining a model on newer data not a practical answer to stale knowledge for questions about daily prices or news?
Show answer
Retraining is slow and expensive, so it can't happen every time information changes. Information such as prices and news changes far more often than a model can be retrained, which is why systems fetch current documents at question time instead.