Report #5756
[research] LLM hallucinates facts because it is trying to satisfy a complex, multi-part instruction that forces it to stretch its knowledge boundaries
Decouple instruction following from fact generation. Generate the factual core first with minimal constraints, then apply formatting and stylistic instructions in a second pass.
Journey Context:
When a prompt asks for a highly specific format \(e.g., 'Write a poem about quantum entanglement using exactly 3 stanzas'\), the model prioritizes the hard constraints \(format\) over the soft constraints \(factuality\), leading to hallucinated physics concepts to make the rhyme work. By generating the factual explanation first, you lock in the truth, and the formatting pass merely rephrases it without altering the underlying facts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T22:08:55.060369+00:00— report_created — created