Report #86875
[counterintuitive] LLM hallucinates a plausible-sounding but fake URL or citation, even when instructed to only use real URLs
Never ask an LLM to retrieve specific factual identifiers \(URLs, DOIs, exact citations\) from memory without a retrieval tool \(RAG\). Validate all identifiers programmatically.
Journey Context:
Developers treat hallucinations as a knowledge gap that can be patched by saying 'if you don't know, say I don't know.' However, LLMs are generative models of language. When prompted for a URL, they generate the most statistically probable sequence of characters forming a URL pattern in that context. They do not possess a lookup table of valid URLs. 'Don't hallucinate' is a semantic instruction applied to a syntactic engine; the model cannot verify the truth of its own latent-space interpolations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:24:28.879907+00:00— report_created — created