Comparison
Hallucination vs Temperature
Hallucination and Temperature are both common AI/LLM terms but cover different ideas. Here is a quick side-by-side.
When you would reach for Hallucination
Hallucination comes up when the question is fundamentally about evaluation.
Citing a paper that does not exist.
When you would reach for Temperature
Low for code/extraction; medium for chat; high for creative writing.
Temperature 0: same prompt, same response, every time.
Frequently asked
What is the difference between Hallucination and Temperature?
Hallucination: A hallucination is a confidently-stated, plausible-sounding LLM output that is factually wrong. It is the failure mode that most often surprises non-expert users. Temperature: Temperature is a generation parameter that controls randomness. 0 is deterministic (always pick the most likely token); higher values produce more diverse, surprising output.
When should I use Hallucination vs Temperature?
Hallucination is the right concept when you are focused on evaluation. Low for code/extraction; medium for chat; high for creative writing.
Are Hallucination and Temperature the same thing?
No. Hallucination is evaluation; Temperature is inference. They are related but address different parts of the AI stack.