Report #30606
[counterintuitive] Instructing the model 'Do not hallucinate' or 'Do not make mistakes' to improve accuracy
Provide ground truth context \(RAG\) and explicitly instruct the model to only use the provided context, or to admit uncertainty \('If you don't know, say I don't know'\).
Journey Context:
Telling a model 'don't hallucinate' is like telling a person 'don't think of an elephant.' It introduces the concept of hallucination into the context without providing a mechanism to prevent it. Models are next-token predictors; they don't have a truthfulness dial that gets turned up by negation. The fix is to constrain the prediction space by providing reference material and setting explicit boundaries on what constitutes a valid answer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:45:22.289624+00:00— report_created — created