AI chatbots write fluent, confident text on almost any topic, which makes it easy to assume they know things in the way a reference book does. They do not. Understanding how they produce text explains both why they are useful and why they sometimes invent facts, quotes and references.
Prediction, not lookup
A chatbot is built on a large language model. During training, the model processes an enormous amount of text and learns statistical patterns: which words, phrases and ideas tend to follow which. When you send a message, the model generates its reply one small piece of text (a “token”) at a time, each time choosing a likely next token given everything before it.
Nothing in that process checks whether a statement is true. The model is producing text that resembles what a good answer would look like. Most of the time, for well-documented topics, the likely answer and the true answer are the same. When they differ, the model has no built-in way to notice.
Why it makes things up
When the model produces false information as if it were true, this is usually called a hallucination. It happens most often when:
- The topic is specialist or niche. There was little training text about it, so the patterns are weak.
- You ask for specifics. Exact page numbers, quotations, dates, statistics and author lists are easy to get slightly wrong but look convincing.
- You ask for references. A reference has a predictable shape (authors, year, title, journal), so the model can produce one that fits the pattern perfectly and does not exist. See catching made-up references.
- The question contains a false assumption. Asked “why did X happen?”, a model will often explain an event that never occurred.
- The information is recent. Models have a training cutoff and know little or nothing after it unless they can search.
What search and documents change
Many chatbots can now search the web or read files you upload. This helps a great deal, because the model can base its answer on real text it has just retrieved, and can show you where it came from. This approach is often called retrieval-augmented generation (see AI jargon, explained).
It does not remove errors entirely. The model may still misread a source, combine two sources wrongly, or cite a page that does not say what it claims. Always open the source and check the specific claim.
Why it sounds so sure
Chatbots are trained to be helpful and fluent, and fluent text sounds confident. The tone of an answer tells you nothing about its accuracy. Some tools add caveats, but a missing caveat is not a sign that the answer is right.
Why the same question gets different answers
Generation involves some randomness, so asking the same question twice can produce different answers. If two answers disagree on a fact, at least one is wrong. This can be a quick warning sign, but agreement does not prove accuracy either.
What this means for your research
- Use chatbots for tasks where you can judge the output yourself: explaining a concept you can then check, suggesting search terms, giving feedback on your own writing, or helping with code you can run and test.
- Treat every factual claim, figure, quotation and reference as unverified until you have checked it against the original.
- Prefer tools that show their sources, and read those sources.
- Do not ask a chatbot to confirm its own answer. It will often agree with itself.
- Keep a note of what you used and for what. Many universities and funders expect you to disclose it (see disclosing AI use).
A useful way to think about a chatbot is as a well-read assistant with no memory for where it read anything, who never says “I’m not sure” unless prompted. Helpful, but everything it tells you needs checking.