Report #64543
[research] Providing few-shot examples in the prompt degrades factuality because the model mimics the entity types of the examples rather than answering the query
Use zero-shot prompts for factual extraction tasks, or ensure few-shot examples are drawn from a disjoint entity space \(e.g., if asking about France, use examples about Japan\) to prevent entity leakage.
Journey Context:
LLMs are strong pattern matchers. If a few-shot prompt contains examples where the answer is always a date, the model will force a date answer even if the question requires a name. This 'format bias' overrides factual recall. Zero-shot is safer for pure factuality, but if few-shot is needed for instruction following, strictly isolate the semantic domains of the examples from the target query.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:49:13.111064+00:00— report_created — created