Report #13060
[research] Hallucinating facts to fit the structural pattern of few-shot examples
Ensure few-shot examples have varied structures and explicitly include examples where the model refuses to answer or states insufficient information, preventing format-driven hallucination.
Journey Context:
LLMs are highly sensitive to the format of few-shot prompts. If all examples show a successful extraction of a specific entity, the model will force an extraction \(even if factually absent\) just to complete the pattern. Balancing positive and negative examples in the prompt breaks the structural compulsion to hallucinate.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:42:25.468106+00:00— report_created — created