Multi-Query HyDE for Medical Evidence Retrieval
Retrieval-augmented generation (RAG) systems combine large language models (LLMs) with external knowledge, so their answers are only as reliable as the documents they retrieve. In the medical field, this is critical, as a single missed document can change the conclusion. Regular RAG embeds the user’s question to find the closest documents, however questions lack the documents’ terminology and differ in format, so relevant documents can be missed. Hypothetical document methods avoid this mismatch by embedding LLM-generated documents instead of the question. HyDE generates many documents from a single query, but because they share that query, the generated documents differ mainly by noise rather than by perspective. Multi-HyDE adds perspective by deriving several queries, but generates only one document per query. HyDE prioritizes depth, while Multi-HyDE focuses on diversity, leaving the space between them unexplored. The goal of this thesis is therefore to develop an algorithm that enriches the question, divides it into queries, and then combines N queries with M hypothetical documents, each within a fixed generation budget (N×M scheme). With HyDE and Multi-HyDE as special cases, this makes it possible to determine the optimal allocation of the budget between query diversity and document depth.
Research Questions:
RQ1: How does this approach compare to basic HyDE and Multi-HyDE in retrieval quality on medical evidence?
RQ2: At a fixed budget B = n × m, which split between query diversity and sampling depth works best?
RQ3: Which aggregation of the n × m embeddings works best: per-query averaging, rank fusion, or one global average?
| Attribute | Value |
|---|---|
| Title (de) | Multi-Query HyDE for Medical Evidence Retrieval |
| Title (en) | Multi-Query HyDE for Medical Evidence Retrieval |
| Project | |
| Type | Bachelor's Thesis |
| Status | started |
| Student | Maryna Redka |
| Advisor | Katharina Sommer & Ibrahim Yurt |
| Supervisor | Prof. Dr. Florian Matthes |
| Start Date | 26.10.2026 |
| Sebis Contributor Agreement signed on | |
| Checklist filled | |
| Submission date | 26.02.2027 |