Member-only story
Why LLMs Hallucinate: How to Reduce It
See the live hallucination in the attached video
Imagine you’re preparing for a big presentation. You ask an AI assistant for statistics on renewable energy adoption in India. The AI confidently replies, “India achieved 60% renewable energy in 2023, led by wind power.” It sounds convincing, the numbers look neat, and the phrasing is professional. But when you double-check the official government report, you realize the actual number was 40%, and solar, not wind, was the leader.
This is a classic example of hallucination in large language models (LLMs). The AI wasn’t trying to deceive you; it generated something that sounded plausible but wasn’t factually true. Just like a friend who improvises when unsure, LLMs sometimes make up information.
In this article, we’ll break down why hallucinations happen in LLMs, the risks they bring, and most importantly, what techniques researchers and engineers are using to reduce them. We’ll use simple examples, practical strategies, and even a bit of Python code to help illustrate the ideas.

