How does generative AI hallucinate information?

Generative AI sometimes makes up information because it tries to guess what comes next, like a kid trying to finish a story before it's done.

Imagine you're telling a story to your friend, and every time you say a word, they try to figure out what you’ll say next. Sometimes they get it right, “Once upon a time,” they might say, “there was a… castle!” But other times, they guess wrong, “Once upon a time,” they say, “there was a… robot!” That's kind of like how generative AI works.

How It Guesses

Generative AI looks at what it already knows and tries to predict the next part. If it sees a lot of stories about dragons, it might think the next word is dragon. But if it doesn't know much about robots, it might say robot even when it's not right.

Why It Gets Confused

Sometimes AI gets confused because it’s trying too hard to make sense of everything. Imagine you're reading a book with big words and strange pictures, you might guess the story is about space ships, but it could really be about cookies! That’s how generative AI can hallucinate, it makes up things that sound right, but aren’t actually there.

Take the quiz →

Examples

  1. A child says, 'I saw a purple elephant at the park,' even though there are no elephants there.
  2. An AI tells you that Mars has lakes of chocolate milk because it heard that from another AI.
  3. Your phone suggests a restaurant that doesn't exist.

Ask a question

See also

Discussion

Recent activity