Why Your AI Keeps Making Things Up
Why Your AI Keeps Making Things Up
You just finished building it. After weeks of prompting, tweaking, and testing, you've got a chatbot that sounds confident, articulate, and incredibly smart. It answers questions about your company policies, explains your products, and even handles customer FAQs with the kind of fluency that makes you wonder if you've accidentally hired a new employee. You're ready to demo it to leadership.
Then the demo happens. Someone asks about your maternity leave policy—something that changed three months ago. The chatbot confidently explains the old policy, the one that was replaced in March. Another person asks about a product feature launched last week, and the bot cheerfully describes a feature that doesn't exist yet, as if it's reading from a fever dream. You watch the confidence in the room evaporate as your supposedly intelligent assistant invents facts about your own organization.
This is the hallucination problem, and it's the reason many AI projects stall before they deliver real value. Your chatbot isn't broken, exactly. It's doing exactly what it was designed to do: generating plausible-sounding text based on patterns it learned during training. The problem is that "plausible-sounding" and "actually correct" are two very different things, and the difference matters enormously when you're trusting an AI with information your customers and employees act upon.
The Memory That Never Updates
To understand why hallucination happens, you need to understand what an LLM actually is at its core. Think of a large language model as an extraordinarily well-read student who studied for an exam once, years ago, and then was locked in a room without any access to new information. That student absorbed an enormous amount during their study session—truly staggering amounts of text from books, articles, websites, and documents. They learned patterns, relationships, styles, and facts. But once that study session ended, nothing new could get in.
When you ask an LLM about something, you're essentially asking it to recall what it learned during that one-time study session. If the information you need falls within what it was trained on, and if that information is recent enough to have been included in its training data, you might get a good answer. But the moment you need something that came after the training cutoff—information from last week, last month, or last year—the model is stuck. It can only work with what it memorized, and it has no way of knowing that its memories are outdated.
This knowledge cutoff isn't a bug that clever engineers will eventually fix. It's a fundamental characteristic of how these systems work. Training a large language model is an enormous undertaking—it takes thousands of GPUs running for weeks or months, costing millions of dollars, and requiring enormous technical expertise. Organizations can't simply "update" an LLM the way they would update a document or a database. Every update means starting the training process almost from scratch, with all the cost and complexity that entails.
The result is a peculiar situation: you have an incredibly powerful language engine that knows everything about the world as it existed at some point in the past, but is essentially blind to anything that happened since. Your chatbot might know more about history, science, and culture than any human alive, but it doesn't know that you launched a new product last Tuesday or that you moved offices last month.
Why "Just Train It More" Doesn't Work
When business leaders first encounter the knowledge cutoff problem, their instinct is often to suggest training the model on their specific data. "Can't we just feed it all our company documents?" they ask. "Then it'll know everything we know."
This approach is called fine-tuning, and while it sounds reasonable, it comes with a raft of practical problems that make it unsuitable for many real-world use cases.
First, there's the cost. Fine-tuning isn't cheap. Depending on the size of the model and the amount of training data, a single fine-tuning run can cost tens of thousands of dollars. And that's just for one iteration. If you want to incorporate new information—which you'll inevitably need to do as your business evolves—you're looking at repeated costs, each time something changes in your organization.
Second, there's the timeline. Fine-tuning a model isn't something you do in real-time. The process takes days or weeks, even with substantial computing resources. If your company policy changes on a Friday afternoon, you can't fine-tune your chatbot that evening to reflect the change. You're stuck with outdated knowledge until someone initiates a new training run, monitors it through completion, validates the results, and deploys the updated model.
Third, there's the expertise requirement. Fine-tuning isn't just pressing a button. It requires machine learning engineers who understand how to prepare training data, configure training parameters, evaluate model performance, and diagnose problems when things go wrong. For many organizations, this expertise simply doesn't exist in-house, and hiring or contracting for it represents a significant investment.
Fourth, there's the fundamental mismatch between what fine-tuning achieves and what most applications actually need. Fine-tuning is excellent at teaching a model new patterns, new styles, or new ways of reasoning. It's less reliable at teaching a model specific facts, especially precise facts like policy numbers, document titles, or exact procedural steps. Studies have shown that fine-tuned models often "learn" facts in a fuzzy way—they might know that something is generally true without knowing the specific details that matter for your use case.
Consider a practical example. Suppose you want your chatbot to help employees understand your company's expense reimbursement process. You could fine-tune a model on all your expense policies and historical reimbursement records. But what happens when those policies change? You'd need to initiate another expensive, time-consuming fine-tuning cycle. And during that cycle—potentially lasting weeks—your employees would be working with outdated information. In a business context where policies change quarterly, monthly, or even weekly, this approach simply doesn't scale.
The fundamental issue is that fine-tuning conflates two separate tasks: learning how to understand and generate language, and storing specific facts about the world. These tasks have very different update frequencies. Your language model's ability to understand complex questions and generate coherent responses doesn't need to change every time your company updates a policy. But your chatbot does need to reflect those policy changes immediately, not after a multi-week training cycle.
The Detective Who's Never Allowed to Look at the Files
Here's a different way to think about the problem, one that will guide our exploration throughout this book.
Imagine two detectives solving a murder case. Detective A is exceptional at her job—she's studied every famous case in history, understands human psychology deeply, and can construct compelling narratives from fragmentary evidence. The only problem is that she's been instructed to solve the case using only what she memorized before joining the force. She can't access any case files, interview records, or evidence databases. Everything she knows about the world came from her initial training, and she's forbidden from looking anything up.
Detective B has the same remarkable abilities—but she's allowed to access the case files, interview records, and evidence databases whenever she needs them. She can look up exactly what witnesses said, find relevant precedents, and retrieve specific procedural details on demand.
Detective A will give you a sophisticated, well-reasoned response. But she'll be working entirely from general patterns and memorized knowledge. If thi