Keeping the hypothetical document strictly out of the generator context is the non-negotiable guardrail for HyDE in production. The moment synthetic text accidentally leaks into the synthesis prompt, the model starts citing its own fabricated phrasing as if it came from an internal wiki.
For multi-query expansion, deduplicating near-identical rewrites before hitting the index is also worth enforcing programmatically. Without a similarity cap on generated variants, three paraphrases that collapse to the same lexical stems multiply retrieval latency while adding almost zero new recall.
Ahmet Özel
Keeping the hypothetical document strictly out of the generator context is the non-negotiable guardrail for HyDE in production. The moment synthetic text accidentally leaks into the synthesis prompt, the model starts citing its own fabricated phrasing as if it came from an internal wiki.
For multi-query expansion, deduplicating near-identical rewrites before hitting the index is also worth enforcing programmatically. Without a similarity cap on generated variants, three paraphrases that collapse to the same lexical stems multiply retrieval latency while adding almost zero new recall.