Part 1 · The Model Under the Product

LLM Hallucination Demo

Three classic types: factual errors / confident fabrication / knowledge cutoff

THE QUESTION THIS PAGE ANSWERS

ANSWER FIRST

What is the key idea behind “LLM Hallucination Demo”?

Three classic types: factual errors / confident fabrication / knowledge cutoff

DECISION RULE

Make the claim earn its place. Use this page as a decision aid, not a definition to memorize. Connect the idea to one real task, one observable result, and one failure that would change your mind.

TRY NEXT

Write one question you could answer with evidence after trying this idea.

WATCH FOR

A conclusion that sounds complete but leaves the key assumption untested.

Choose a Prompt
CASE 1 · Misattribution
黛玉捧着月光宝盒,轻声问:
The Moonlight Treasure Box belongs to Zixia, but the model only sees co-occurrence weights and has no idea who owns what. (Chinese literary crossover example)
CASE 2 · Cross-Universe Mashup
花千骨对郭靖急道:靖哥哥,
Hua Qiangu and Guo Jing are from entirely different franchises, yet the model fluently continues their dialogue. (Chinese fiction crossover)
CASE 3 · Fabrication
女儿国国王望着杏花簪叹道:
The Apricot Blossom Hairpin is Shen Meizhuang's prop; the model incorrectly assigns it to the Queen of the Women's Kingdom. (Chinese period drama example)
CASE 4 · Character Collapse
小龙女转头对杨过急道:
Xiaolongnü is calm and aloof and would never speak urgently; but the model doesn't understand characterization — it only sees word frequency. (Chinese wuxia example)
CASE 5 · Code Hallucination API
Sort a DataFrame by multiple columns stably using pandas:
The model generates non-existent parameter combinations: the code looks real, but the API doesn't work that way at all.
CASE 6 · Everyday Chat Hallucination
Good evening, have you eaten?
AI has no mouth, yet it says "Yes, I ate" and can even invent "tomato egg noodles." Probabilistic continuation makes it role-play a non-existent character.

Step-by-Step Generation

Slow Medium Fast
← Select a Prompt and click "Start Generating"

How “Choose a Prompt” changes an answer

“Three classic types: factual errors / confident fabrication / knowledge cutoff” shows that a model does not process the “word count” we see. It processes Token pieces. Tokenization affects input length, how much context fits, and how much computation a request consumes.

Length, information, and context are different

As “Three classic types: factual errors / confident fabrication / knowledge cutoff” grows, separate three questions: how many Tokens the text becomes, which pieces can change the current decision, and whether older material has fallen outside the context window. Removing repetition is often more useful than simply making the window larger.

Keep what can change the decision

Use “Three classic types: factual errors / confident fabrication / knowledge cutoff” as an A/B test: keep the same question while removing repeated background, compressing format, and trimming irrelevant history. Compare answer quality, latency, and Token count.

From “Choose a Prompt” to “Step-by-Step Generation”

“Choose a Prompt” grounds the problem in “CASE 1 · Misattribution 黛玉捧着月光宝盒,轻声问: The Moonlight Treasure Box belongs to Zixia, but the model only sees co-occurrence weights and has no idea who owns what. (Chinese literary crossover example) CASE 2 · Cros…”. “Step-by-Step Generation” then moves it toward “Slow Medium Fast ← Select a Prompt and click "Start Generating" ⚠ Hallucination Detected Root Cause: Two Separate Worlds 📚 Model Parameters (Long-term Memory) Written at training time, read-only at inference…”. Together, they show that the lesson is not just a conclusion to remember, but a claim with conditions.

Carry the judgment into the next situation

For long text, keep what can change the conclusion before compressing format and history. A larger context is worth its cost only when the added information is useful.

  • “Choose a Prompt”: CASE 1 · Misattribution 黛玉捧着月光宝盒,轻声问: The Moonlight Treasure Box belongs to Zixia, but the model only sees co-occurrence weights and has no idea who owns what. (Chinese literary crossover example) CASE 2 · Cros…
  • “Step-by-Step Generation”: Slow Medium Fast ← Select a Prompt and click "Start Generating" ⚠ Hallucination Detected Root Cause: Two Separate Worlds 📚 Model Parameters (Long-term Memory) Written at training time, read-only at inference…

The final “Finish by testing the claim” brings the discussion to “Three classic types: factual errors / confident fabrication / knowledge cutoff”. The useful thing to carry forward is knowing which judgments must be revisited when input, scale, or risk changes.

Mark as learned Your reading progress updates automatically
← PreviousNext →

Keep reading

The next useful article in the thread.

ARTICLE DISCUSSION

Leave one useful thought here.

Keep the idea that clicked, the question that stayed open, or a small note for the next learner.

Discussing LLM Hallucination Demo The Model Under the Product
3discussionsArticle discussion · synced with the Circle
View in the learning circle
AM
Asha MorganContent editor
INSIGHTField note

I turned one judgment from this article into a small experiment I could run today. Knowing what to observe next is more useful than simply remembering the conclusion.

ARTICLE DISCUSSION7 helpful
LH
Lin HarperIndie developer
INSIGHTInsight

After reading this, I first looked for the conditions behind the idea instead of copying the method into a project. That order made the later trade-offs much clearer.

ARTICLE DISCUSSION5 helpful
KM
Kiki MooreProduct operations
QUESTIONQuestion

When this judgment reaches real work, which constraint should be added first? I am curious which step matters most between reading and the first practical attempt.

ARTICLE DISCUSSION4 helpful