Small AI Models Are Achieving Big Things in Math and Coding
November 11, 2025When AI Raises the Bar, Craftsmanship Shines Brighter
November 11, 2025Understanding AI Hallucinations
One major reason for AI hallucinations is the way models are trained. They are rewarded for accuracy, meaning they get “points” for correct answers during evaluation. This creates an incentive to guess when uncertain because guessing increases the chance of being correct. If the model chooses to not answer when uncertain, it might be marked as incorrect or incomplete. Therefore, models learn that guessing is better than not answering, even if it means sometimes being wrong. This is similar to a student guessing on a multiple-choice test because leaving it blank guarantees zero points, while guessing might be right.
- Training data lacks negative examples
- Next-word prediction focuses on grammar over facts
- Data quality issues amplify the problem
Another factor is how AI models predict text. They are trained to predict the next word in a sentence, much like how we might finish a sentence someone else started. However, these models are trained on vast amounts of text where most sentences are well-formed and factual. But when they encounter gaps or ambiguous prompts, they generate text that continues in a plausible way, even if it is not true. This is because they have learned patterns from their training data, and if that data has gaps, outdated information, or biases, the model will reflect those issues. For example, if a model was trained on data that says “the sky is green” (due to an error), it might say the sky is green because it learned that from its training. This becomes problematic when the model is asked about the color of the sky and it answers based on flawed training rather than real-world knowledge.
