Back to AI Engineering Mind Map
中文·English
🤖 AI EngineeringID: hyde-hypothetical-embeddings

HyDE Hypothetical Embeddings

HyDE 假设性文档嵌入
🎯Core Definition
Hypothetical Document Embeddings (HyDE) is a Zero-Shot retrieval enhancement technique that bridges semantic distribution gaps between short queries and long documents; given user query qq, HyDE prompts an offline LLM to synthesize a 'Hypothetical Document' dhypod_{\text{hypo}}; even if factually ungrounded, its vocabulary distribution and syntactic domain align closely with true target documents; dhypod_{\text{hypo}} is then embedded into the vector store, converting asymmetric 'query-to-doc' search into symmetrical 'doc-to-doc' retrieval.
💡Use Cases
Short ambiguous queries, exploratory open-domain search, and cross-domain technical documentation lacking explicit keywords.
Key Problems Solved
Short queries suffer severe Query-Doc Embedding Asymmetry, yielding weak cosine similarity against dense paragraph vectors; HyDE expands sparse query intents into full-length simulated documents, unlocking high-fidelity symmetric embedding alignment.
🎯5 High-Frequency Exam Points
1
Why does HyDE successfully retrieve correct real documents even when the synthesized hypothetical document contains factual hallucinations?
2
Under what specific scenarios does HyDE completely fail (e.g., proprietary acronyms, private code repos, cold-start entities)?
3
How can small language models (1B-3B SLMs) mitigate the TTFT latency penalty introduced by HyDE's preliminary generation step?
4
How does Multi-HyDE (sampling 3-5 hypothetical docs and averaging embeddings) stabilize retrieval variance over single-doc HyDE?
5
What is the engineering heuristic for weighted fusion (vfinal=αvq+(1α)vhypov_{\text{final}} = \alpha v_q + (1-\alpha) v_{\text{hypo}}) of query and hypothetical vectors?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "HyDE Hypothetical Embeddings"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardQuery Rewriting & DecompositionNext CardBM25 Sparse Retrieval

🔗 More AI Engineering Knowledge Cards

Vector Distance Metrics & L2 NormalizationScalar Quantization (SQ8/SQ4)Product Quantization (PQ)ADC Asymmetric Distance Computation