HyDE
https://arxiv.org/abs/2212.10496
LLM generates a hypothetical answer document; embeds that instead of the query. Closes the query-document semantic gap for retrieval. arxiv 2212.10496.
Research code · Verified 2026-10-22 · fresh as of 2026-10-22 · 23 cited facts, 1 with a third-party source · 1 recorded change · Suggest a correction
At a glance
- Type
- Hypothetical document embeddings vendor fix
- Tier
- T3
- Section
- Retrieval-as-memory hybrids
- Latest release
- no releases fix
- License
- Unlicensed repo fix
- GitHub
- texttron/hyde — ~582 stars, dormant repo fix
- Pricing
- searched not found fix
- Funding
- not applicable — not commercial fix
- Freshness
- 2026-10-22 fix
- Layer
- agent-infra repo fix
Memory taxonomy
- storage
- vector
- retrieval
- similarity
- persistence
- long-term
- update
- read-only
- unit
- document
- governance
- inspectable
- conflict
- n/a
When to use
Optimised for: retrieval quality / accuracy on long-context QA
Anti-fit: most are research papers; production fitness varies by maintainer
Pros & cons
Pros
Hypothetical-document embedding — embed the answer-shape rather than the query directly; widely adopted.
Cons
Extra LLM call per query; quality bounded by hypothesis-generation step.
Claims & capabilities
Hypothetical Document Embeddings — LLM generates a hypothetical answer document and embeds that instead of the query, closing the query-document semantic gap. SIGIR 2023; 667 citations.
Technical surface
- API surface
- not applicable — research paper
- Backend storage
- not applicable — research paper
- Deployment
- searched not found
- Embedding model
- not applicable — research paper
- Multi-tenancy
- not applicable — research paper
- MCP
- not applicable — research paper, no deployed product
- A2A
- not applicable — research paper, no deployed product
- OpenTelemetry
- not applicable — research paper, no deployed product
Alternatives to HyDE → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other retrieval-as-memory hybrids in the catalog, ranked by inbound references.
- GraphRAG (Microsoft) T1
Modular graph-based RAG. Leiden community detection over knowledge graph; community summaries at multiple levels. DRIFT Search hybrid (Oct 2024). The GraphRAG repo is now largely in maintenance mode: no new features or PRs, only bug fixes and dependency/CVE updates.
- RETRO T3
DeepMind. Retrieval-Enhanced Transformer with chunked cross-attention over a 2T-token retrieval database. Frozen BERT retriever + differentiable encoder.
- Atlas T3
Meta AI. Jointly fine-tunes retriever + LM for few-shot tasks. The facebookresearch/atlas repo is no longer maintained; the code is provided as is.
- RAPTOR T3
Stanford recursive-summarisation tree over the corpus — clusters and summarises documents into a hierarchical index; retrieves at multiple levels. ICLR 2024.
- Self-RAG T4
Trains an LLM end-to-end to emit reflection tokens that decide whether to retrieve, assess passage relevance, and critique output quality — all within a single model.
- HippoRAG / HippoRAG2 T3
Hippocampus-inspired RAG. LLMs + knowledge graphs + Personalized PageRank to mimic neocortex/hippocampus roles. NeurIPS 2024.
Sources (22 cited facts, 1 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is Hypothetical document embeddings vendor
- What it does & what's distinct LLM generates a hypothetical answer document; embeds that instead of the query. Closes t… vendor
- Claims / benefits Hypothetical Document Embeddings — LLM generates a hypothetical answer document and embe… vendor
- Created 2022-12 vendor
- License Unlicensed repo
- GitHub texttron/hyde — ~582 stars, dormant repo
- Citations 667 cites 166/yr paper
- Founders / pedigree Carnegie Mellon University; Luyu Gao Xueguang Ma Jimmy Lin Jamie Callan; SIGIR 2023 vendor
- Reproducibility Independently reproduced third-party
- Code/weights release Code public + weights closed repo
- Versioning none vendor
- Schema evolution schema with migration vendor
- Validated verticals research, RAG developers (horizontal); some have production deployments vendor
- Anti-fit most are research papers; production fitness varies by maintainer vendor
- Optimised for retrieval quality / accuracy on long-context QA vendor
- Adjacent infrastructure BYO LLM + vector store; OSS reference implementations exist vendor
- Pros Hypothetical-document embedding — embed the answer-shape rather than the query directly;… vendor
- Cons Extra LLM call per query; quality bounded by hypothesis-generation step. vendor
- Project & sources arxiv 2212.10496 GitHub texttron/hyde vendor
- commit-trajectory [{"ym":"2022-12","cum":2},{"ym":"2023-01","cum":5},{"ym":"2024-12","cum":7}] repo
- citation-trajectory [{"year":2023,"cum":2,"infl":0},{"year":2024,"cum":7,"infl":0},{"year":2025,"cum":11,"in… paper
- taxonomy-three-layer-rollup agent-infra repo
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
- 2026-10-22
- Lifecycle first recorded as “research-complete”