Core concepts
LLM Hallucination
Hallucination is the most criticized flaw of large models: when it does not know something, it fabricates content that sounds entirely plausible but is actually wrong, and its tone is very confident.
Typical symptoms
- Inventing papers, books, and legal provisions that do not exist
- Fabricating people's experience and company data
- Misattributing real information (wrong author, mixed-up year)
- Citing links that look perfectly formatted but simply do not open
Why hallucination happens
The root cause is that the goal of a large model is to "generate the most likely continuation", not to "tell the truth".
- What it learns is the statistical pattern of language, not a database of facts
- Faced with a knowledge gap, its mechanism is "complete by probability", not "admit it does not know"
- Training lacks positive incentive for samples such as "I do not know"
Mitigation methods
- RAG: give the model reliable material and have it answer based on that material
- Require citations: have it mark its basis so that it can be checked
- Lower the temperature parameter: reduce randomness
- Cross-validate with multiple samples: where answers disagree, hallucination is often frequent
- Explicitly allow refusal: state in the prompt that "if unsure, say you do not know"
Usage advice
Treat a large model as a very capable intern who provides no guarantee - it can greatly speed up work, but key facts must be verified yourself, especially numbers, citations, legal provisions, and medical advice.