---
title: "Hypothetical Document Embeddings (HyDE) (PL)"
source: "https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)"
wiki: "systems-analysis.info/int"
article: "Hypothetical_Document_Embeddings_(HyDE)_(PL)"
language: "pl"
categories:
  - "Category:Large language models"
  - "Category:Pages with math errors"
  - "Category:Pages with math render errors"
  - "Category:Polish"
  - "Category:Prompt engineering"
revision_id: 3119
wiki_created_at: 2026-09-06T23:15:59Z
wiki_modified_at: 2026-09-06T23:15:59Z
downloaded_at: 2026-09-07T22:55:17Z
---

# Hypothetical Document Embeddings (HyDE) (PL)

**Hypothetical Document Expansion (HyDE)** — metoda ulepszania wektorowego retirval i retrieval‑augmented generation (RAG), w której duży model językowy (LLM) na podstawie oryginalnego zapytania generuje „hipotetyczny dokument"; następnie tekst ten jest wektoryzowany przez enkoder, a wyszukiwanie odbywa się wśród rzeczywistych dokumentów według podobieństwa do uzyskanego wektora. Podejście pozwala wykorzystać „wzorce relewancji" zakodowane przez LLM i „zakorzenić" je w korpusie za pomocą gęstych embeddingów<sup>[\[1\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-1)</sup>.\n\n== Definicja i intuicja ==\nHyDE dekomponuje zadanie wyszukiwania na dwa etapy:\n\n(1) LLM tworzy „przykład relewantnej odpowiedzi" (*hypothetical document*) do zapytania, modelując w ten sposób cechy relewancji;\n\n(2) kontrastywny enkoder (np. Contriever) przekształca ten tekst w wektor, na podstawie którego z indeksu pobierane są rzeczywiste dokumenty. Wygenerowany tekst może zawierać błędy faktyczne, jednak istotne są wychwytywane przez enkoder wzorce tematyczne i terminologiczne<sup>[\[2\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-2)</sup>.\n\n== Historia i źródła ==\nIdea rozszerzania wyszukiwania tekstami syntetycznymi wywodzi się z prac nad rozszerzaniem zapytań i pseudorelewantnym sprzężeniem zwrotnym (PRF): algorytm Rocchio oraz modele językowe relewancji<sup>[\[3\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-3)[\[4\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-4)</sup>. Do gęstego retirval stosowano kontrastywnie wytrenowane enkodery (Contriever)<sup>[\[5\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-5)</sup> oraz Dense Passage Retrieval (DPR)<sup>[\[6\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-6)</sup>. Benchmark BEIR ustandaryzował ocenę zero‑shot<sup>[\[7\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-7)</sup>. Na tym tle zaproponowano HyDE jako sposób „wniesienia" do trybu zerowego wiedzy o relewancji za pośrednictwem LLM, bez konieczności doustrajania enkodera<sup>[\[8\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-8)</sup>.\n\n== Metoda i formalizacja ==\nNiech korpus dokumentów $\mathcal{D} = \{ d_{1},\ldots,d_{N}\}$, a enkoder tekstów $E:\text{text} \rightarrow {\mathbb{R}}^{n}$ wyznacza reprezentacje wektorowe dokumentów $\mathbf{v}_{d} = E(d)$. Do pomiaru podobieństwa używa się podobieństwa kosinusowego lub iloczynu skalarnego; ważna uwaga: \*\*iloczyn skalarny pokrywa się z podobieństwem kosinusowym tylko wtedy, gdy oba wektory mają jednostkową normę L2\*\* ($\|\mathbf{u}\| = \|\mathbf{v}\| = 1$)<sup>[\[9\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-9)</sup>.\n\nHyDE redefiniuje reprezentację zapytania poprzez „hipotetyczny dokument" wygenerowany przez LLM. Formalnie:\n\n$\begin{matrix}
 & \text{(1) Генерация гипотетического текста:} & & {\overset{\sim}{d}\; = \; G\!\left( q;\,{inst} \right),} \\
 & \text{(2) Эмбеддинг гипотетического текста:} & & {\mathbf{v}_{h}\; = \; E(\overset{\sim}{d}),} \\
 & \text{(3) Поиск ближайших соседей:} & & {\mathcal{R}_{k}(q)\; = \;{TopK}_{\, d \in \mathcal{D}}\; S\!\left( \mathbf{v}_{h},\mathbf{v}_{d} \right),}
\end{matrix}$\n\ngdzie $G$ — LLM z instrukcją $inst$ (np.: „Napisz akapit odpowiadający na pytanie …"), $S$ — miara podobieństwa (cosinus lub IP z normalizacją), a $\mathcal{R}_{k}(q)$ — zbiór $k$ dokumentów o maksymalnym podobieństwie<sup>[\[10\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-10)[\[11\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-11)</sup>.\n\nW praktyce inżynierskiej często generuje się \*\*kilka\*\* hipotetycznych tekstów i agreguje ich reprezentacje, co zwiększa stabilność:\n\n${\overset{\sim}{d}}^{(j)} = G\!\left( q;\,{inst},\xi_{j} \right),\quad\mathbf{v}_{h}\; = \;\frac{1}{m}\sum\limits_{j = 1}^{m}E\!\left( {\overset{\sim}{d}}^{(j)} \right),$\n\ngdzie $\xi_{j}$ — stochastyczne parametry dekodowania (np. temperature/top‑p). Taka ensemblizacja poprawia Recall przy umiarkowanym wzroście latencji<sup>[\[12\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-12)</sup>.\n\n=== Bazowy potok HyDE ===\n

    # 1) prompt(query) -> hypothetical_doc
    # 2) embed(hypothetical_doc) -> v_h
    # 3) retrieve(index, v_h, k) -> candidates
    # 4) (optional) rerank(query, candidates) -> topN
    # 5) (для RAG) stuff / map-reduce / refine на topN

\n\n\n\n=== Związek z innymi metodami (QE, doc2query, PRF) ===\n\* **QE (rozszerzanie zapytań)** dodaje terminy do zapytania; HyDE zamiast tego generuje cały „quasi-dokument", co lepiej współgra z gęstymi enkoderami<sup>[\[13\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-13)</sup>.\n\* **doc2query / docTTTTTquery** rozszerzają **dokumenty** syntetycznymi zapytaniami przed indeksowaniem<sup>[\[14\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-14)[\[15\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-15)</sup>; HyDE rozszerza **zapytanie** w locie, nie wymagając reindeksacji.\n\* **PRF** (Rocchio, Relevance LM) aktualizuje wektor zapytania na podstawie najlepszych wyników; HyDE wydobywa „wzorzec relewancji" bezpośrednio z LLM, a następnie „zakotwicza" go przez retirval na korpusie<sup>[\[16\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-16)</sup>.\n\n== Integracja z RAG i rerankowaniem ==\nW RAG HyDE stosowany jest jako pierwszy etap retirval: hipotetyczny dokument → embedding → k kandydatów. Następnie stosuje się rerankowanie: kros-enkodery klasy BERT<sup>[\[17\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-17)</sup> lub późna interakcja ColBERT<sup>[\[18\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-18)</sup>. Do łączenia list wyników (np. hybryda BM25+vector) typowo stosuje się RRF (*reciprocal rank fusion*):\n$\operatorname{RRF}(d) = \sum\limits_{r \in \mathcal{R}}\frac{1}{k + \operatorname{rank}_{r}(d)},\qquad k \approx 60.$\nMetoda RRF stabilnie poprawia łączną jakość scalonych rankingów<sup>[\[19\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-19)</sup>.\n\n== Ocena na benchmarkach (BEIR i inne) ==\nOryginalna praca ocenia HyDE w trybie zerowym na TREC DL'19/20 (wyszukiwanie webowe) oraz na podzbiorze kolekcji BEIR (Scifact, ArguAna, TREC‑COVID, FiQA, DBPedia, TREC‑NEWS, Climate‑FEVER). Fragment wyników — *według stanu na 2023‑07*:\n\n{\| class=\\wikitable\\\n\|+ *TREC DL19/20 (wyszukiwanie webowe)* — mAP / nDCG@10 / Recall@1k\n\|-\n! Metoda !! DL19 !! DL20 !! Źródło\n\|-\n\| BM25 \|\| 30.1 / 50.6 / 75.0 \|\| 28.6 / 48.0 / 78.6 \|\| <sup>[\[20\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-20)</sup>\n\|-\n\| Contriever (unsup.) \|\| 24.0 / 44.5 / 74.6 \|\| 24.0 / 42.1 / 75.4 \|\| <sup>[\[21\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-21)</sup>\n\|-\n\| **HyDE** (Contriever+LLM) \|\| **41.8 / 61.3 / 88.0** \|\| **38.2 / 57.9 / 84.4** \|\| <sup>[\[22\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-22)</sup>\n\|-\n\| DPR (ft) \|\| 36.5 / 62.2 / 76.9 \|\| 41.8 / 65.3 / 81.4 \|\| <sup>[\[23\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-23)</sup>\n\|-\n\| ANCE (ft) \|\| 37.1 / 64.5 / 75.5 \|\| 40.8 / 64.6 / 77.6 \|\| <sup>[\[24\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-24)</sup>\n\|}\n\n{\| class=\\wikitable\\\n\|+ *BEIR (wybór zestawów)* — nDCG@10 / Recall@100\n\|-\n! Metoda !! Scifact !! ArguAna !! TREC‑COVID !! FiQA !! DBPedia !! TREC‑NEWS !! Climate‑FEVER !! Źródło\n\|-\n\| BM25 \|\| 67.9 / 92.5 \|\| 39.7 / 93.2 \|\| **59.5 / 49.8** \|\| 23.6 / 54.0 \|\| 31.8 / 46.8 \|\| 39.5 / 44.7 \|\| 16.5 / 42.5 \|\| <sup>[\[25\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-25)</sup>\n\|-\n\| Contriever \|\| 64.9 / 92.6 \|\| 37.9 / 90.1 \|\| 27.3 / 17.2 \|\| 24.5 / 56.2 \|\| 29.2 / 45.3 \|\| 34.8 / 42.3 \|\| 15.5 / 44.1 \|\| <sup>[\[26\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-26)</sup>\n\|-\n\| **HyDE** \|\| **69.1 / 96.4** \|\| **46.6 / 97.9** \|\| 59.3 / 41.4 \|\| 27.3 / 62.1 \|\| 36.8 / 47.2 \|\| **44.0 / 50.9** \|\| **22.3 / 53.0** \|\| <sup>[\[27\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-27)</sup>\n\|}\n\nHyDE poprawia również MRR@100 na wielojęzycznych zestawach Mr.TyDi (sw/ko/ja/bn) względem mContriever<sup>[\[28\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-28)</sup>.\n\n== Zalecenia praktyczne ==\n;Kiedy stosować HyDE\n\* Tryby zerowe/transferowe (brak etykiet relewancji; domenowa „odmienność" od korpusów treningowych)<sup>[\[29\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-29)</sup>.\n\* Wymagane zwiększenie Recall@k przy akceptowalnej precyzji — HyDE często „otwiera" relewantne obszary przestrzeni wektorowej<sup>[\[30\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-30)</sup>.\n\n;Typowe ustawienia\n\* **LLM i prompt**: instrukcja „Napisz akapit odpowiadający na pytanie …"; umiarkowana stochastyczność (np. *temperature*≈0.7)<sup>[\[31\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-31)</sup>.\n\* **Liczba hipotetycznych tekstów**: 1–5; uśrednianie embeddingów zwiększa stabilność<sup>[\[32\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-32)</sup>.\n\* **Embeder**: (m)Contriever bez doustrajania; możliwe zastosowanie doustawionych enkoderów (efekt HyDE zostaje zachowany)<sup>[\[33\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-33)</sup>.\n\* **Normalizacja embeddingów**: norma L2; iloczyn wewnętrzny jest równoważny kosinusowi<sup>[\[34\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-34)</sup>.\n\* **Hybrydowy retirval**: BM25+vector z kolejnym rerankingiem<sup>[\[35\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-35)</sup>.\n\* **Reranker**: Cross-Encoder (BERT re‑ranker)<sup>[\[36\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-36)</sup> lub ColBERT<sup>[\[37\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-37)</sup>.\n\* **Łączenie** wyników różnych strategii: RRF (*k*≈60)<sup>[\[38\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-38)</sup>.\n\n;Monitorowanie jakości/kosztów\n\* Retirval: nDCG@k, Recall@k, MRR; end‑to‑end RAG: EM/F1 lub metryki *groundedness* (RAGAS/TruLens)<sup>[\[39\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-39)[\[40\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-40)</sup>.\n\* Koszt/latencja: dominuje generacja LLM oraz (jeśli stosowane) rerankowanie; optymalizuje się liczbą „hipotetyk" i długością odpowiedzi<sup>[\[41\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-41)</sup>.\n\n== Ograniczenia i otwarte pytania ==\n\* **Halucynacje** hipotetycznego tekstu: LLM może wprowadzać błędy faktyczne; „zakotwiczenie" przez enkoder i korpus zmniejsza ryzyko, lecz nie eliminuje go całkowicie<sup>[\[42\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-42)</sup>.\n\* **Ograniczenia domenowe/językowe**: przewaga HyDE zmniejsza się w wyspecjalizowanych domenach i w przypadku języków o małych zasobach<sup>[\[43\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-43)</sup>.\n\* **Latencja i koszt**: generacja LLM dodaje opóźnienie i koszt tokenów; krytyczne w scenariuszach online i przy długich „hipotetykach"<sup>[\[44\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-44)</sup>.\n\* **Etyka i odchylenia**: zalecane jest stosowanie bezpiecznych LLM i filtrowanie<sup>[\[45\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-45)</sup>.\n\n== Tabela porównawcza metod ==\n{\| class=\\wikitable\\\n\|+ Porównanie HyDE i pokrewnych podejść\n\|-\n! Metoda !! Klasa !! Gdzie generowany jest tekst !! Enkoder/indeks !! Reranker (2. etap) !! Typowe metryki (przykład) !! Koszt/latencja !! Źródła\n\|-\n\| **HyDE** \|\| Query→*hypo‑doc* \|\| Po stronie zapytania (LLM → akapit) \|\| (m)Contriever; ANN \|\| BERT re‑rank / ColBERT / RRF \|\| DL19 nDCG@10≈61.3; DL20≈57.9; ArguAna nDCG@10≈46.6 \|\| + generacja LLM; + rerankowanie (opcj.) \|\| <sup>[\[46\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-46)</sup>\n\|-\n\| BM25 \|\| Leksykalny \|\| — \|\| Odwrócony indeks \|\| Opcjonalnie \|\| zob. tabela (powyżej) \|\| Niska (lexical) \|\| <sup>[\[47\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-47)</sup>\n\|-\n\| DPR / ANCE \|\| Gęsty (ft) \|\| — \|\| Bi‑encoder; ANN \|\| Opcjonalnie \|\| DL19 nDCG@10≈62–65 \|\| Średnia (bez LLM) \|\| <sup>[\[48\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-48)[\[49\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-49)</sup>\n\|-\n\| doc2query / docTTTTTquery \|\| Ekspansja dokumentów \|\| Po stronie kolekcji (przed indeksowaniem) \|\| BM25/sparse+expanded \|\| Opcjonalnie \|\| Poprawa BM25 na MS MARCO \|\| Wysoka generacja offline; szybki online \|\| <sup>[\[50\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-50)[\[51\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-51)</sup>\n\|-\n\| PRF (Rocchio, RLM) \|\| QE na podstawie feedbacku \|\| Zapytanie (na podstawie top-wyników) \|\| Dowolny \|\| Opcjonalnie \|\| Wzrost Recall/ryzyko dryftu \|\| + dodatkowy przebieg retirval \|\| <sup>[\[52\]](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_note-52)</sup>\n\|}\n\n== Zobacz też ==\n\* BM25\n\* Wyszukiwanie na podstawie reprezentacji wektorowych,\n\* RAG\n\* Pseudorelewantne sprzężenie zwrotne\n\* BEIR\n\n== Literatura ==\n\* Manning, C. D.; Raghavan, P.; Schütze, H. (2008). *Introduction to Information Retrieval*. Cambridge University Press. ISBN 978‑0521865715.\n\* Robertson, S.; Zaragoza, H. (2009). *The Probabilistic Relevance Framework: BM25 and Beyond*. Foundations and Trends in IR, 3(4), 333–389. DOI:10.1561/1500000019.\n\n== Odnośniki ==\n\* Repozytorium HyDE: github.com/texttron/hyde.\n\* Dokumentacja: Haystack — HyDE: docs.haystack.deepset.ai.\n\* Dokumentacja: LangChain — HyDE Retriever: docs.langchain.com.\n\n== Przypisy ==\n\n\n\n<a href="https://systems-analysis.info/int/index.php?title=Template:SEOMeta%5Cn&amp;action=edit&amp;redlink=1" class="new" title="Template:SEOMeta\n (page does not exist)">Template:SEOMeta\n</a>

1.  <span id="cite_note-1">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-1) Gao, L.; Ma, X.; Lin, J.; Callan, J. (2023). ‘‘Precise Zero‑Shot Dense Retrieval without Relevance Labels (HyDE)’’. ACL 2023. pp. 1762–1777. DOI:10.18653/v1/2023.acl-long.99. <a href="https://arxiv.org/abs/2212.10496" class="external text" rel="nofollow">arXiv:2212.10496</a></span>
2.  <span id="cite_note-2">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-2) Gao, L. et al. (2023). ACL 2023, §3.2. DOI:10.18653/v1/2023.acl-long.99.</span>
3.  <span id="cite_note-3">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-3) Rocchio, J. (1971). ‘‘Relevance Feedback in Information Retrieval’’. In: Salton, G. (ed.) *The SMART Retrieval System*. Prentice‑Hall, pp. 313–323. ISBN 978‑0138145255.</span>
4.  <span id="cite_note-4">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-4) Lavrenko, V.; Croft, W. B. (2001). ‘‘Relevance‑Based Language Models’’. SIGIR. DOI:10.1145/383952.383972.</span>
5.  <span id="cite_note-5">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-5) Izacard, G. et al. (2021/2022). ‘‘Unsupervised Dense Information Retrieval with Contrastive Learning’’. <a href="https://arxiv.org/abs/2112.09118" class="external text" rel="nofollow">arXiv:2112.09118</a>.</span>
6.  <span id="cite_note-6">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-6) Karpukhin, V. et al. (2020). ‘‘Dense Passage Retrieval for Open‑Domain QA’’. EMNLP. DOI:10.18653/v1/2020.emnlp-main.550.</span>
7.  <span id="cite_note-7">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-7) Thakur, N. et al. (2021). ‘‘BEIR: A Heterogeneous Benchmark for Zero‑shot Evaluation of Information Retrieval Models’’. NeurIPS Datasets Track. <a href="https://arxiv.org/abs/2104.08663" class="external text" rel="nofollow">arXiv:2104.08663</a>.</span>
8.  <span id="cite_note-8">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-8) Gao, L. et al. (2023). DOI:10.18653/v1/2023.acl-long.99.</span>
9.  <span id="cite_note-9">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-9) Milvus Docs. ‘‘Similarity Metrics’’ — при L2‑нормализации векторов внутр. произведение эквивалентно косинусу. URL: <a href="https://milvus.io/docs/v2.2.x/metric.md" class="external free" rel="nofollow">https://milvus.io/docs/v2.2.x/metric.md</a></span>
10. <span id="cite_note-10">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-10) Gao, L.; Ma, X.; Lin, J.; Callan, J. (2023). ‘‘Precise Zero‑Shot Dense Retrieval without Relevance Labels (HyDE)’’. ACL 2023, §3–4. arXiv:2212.10496. DOI:10.18653/v1/2023.acl-long.99.</span>
11. <span id="cite_note-11">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-11) Izacard, G. et al. (2021/2022). ‘‘Unsupervised Dense Information Retrieval with Contrastive Learning (Contriever)’’. arXiv:2112.09118.</span>
12. <span id="cite_note-12">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-12) Gao, L. et al. (2023). Прил. (ablation): влияние числа гипотетических текстов и параметров генерации. arXiv:2212.10496.</span>
13. <span id="cite_note-13">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-13) Gao, L. et al. (2023). DOI:10.18653/v1/2023.acl-long.99.</span>
14. <span id="cite_note-14">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-14) Nogueira, R. et al. (2019). ‘‘Document Expansion by Query Prediction’’ (doc2query). <a href="https://arxiv.org/abs/1904.08375" class="external text" rel="nofollow">arXiv:1904.08375</a>.</span>
15. <span id="cite_note-15">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-15) Nogueira, R.; Lin, J. (2019). ‘‘From doc2query to docTTTTTquery’’ (tech report). <a href="https://cs.uwaterloo.ca/~jimmylin/publications/Nogueira_Lin_2019_docTTTTTquery-v2.pdf" class="external text" rel="nofollow">PDF</a></span>
16. <span id="cite_note-16">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-16) Rocchio, J. (1971); Lavrenko & Croft (2001), см. выше.</span>
17. <span id="cite_note-17">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-17) Nogueira, R.; Cho, K. (2019). ‘‘Passage Re‑ranking with BERT’’. <a href="https://arxiv.org/abs/1901.04085" class="external text" rel="nofollow">arXiv:1901.04085</a>.</span>
18. <span id="cite_note-18">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-18) Khattab, O.; Zaharia, M. (2020). ‘‘ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT’’. SIGIR. DOI:10.1145/3397271.3401075; <a href="https://arxiv.org/abs/2004.12832" class="external text" rel="nofollow">arXiv:2004.12832</a>.</span>
19. <span id="cite_note-19">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-19) Cormack, G. V.; Clarke, C. L. A.; Büttcher, S. (2009). ‘‘Reciprocal Rank Fusion Outperforms Condorcet and Nearly Optimally Combines Rankings’’. SIGIR. DOI:10.1145/1571941.1572114.</span>
20. <span id="cite_note-20">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-20) Gao, L. et al. (2023). Табл. 1. DOI:10.18653/v1/2023.acl-long.99.</span>
21. <span id="cite_note-21">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-21) Izacard, G. et al. (2022); сводные метрики — в Gao et al., 2023, табл. 1. arXiv:2112.09118.</span>
22. <span id="cite_note-22">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-22) Gao, L. et al. (2023). Табл. 1.</span>
23. <span id="cite_note-23">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-23) Karpukhin, V. et al. (2020); сводные — в Gao et al., 2023.</span>
24. <span id="cite_note-24">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-24) Xiong, L. et al. (2021). ICLR. <a href="https://arxiv.org/abs/2007.00808" class="external text" rel="nofollow">arXiv:2007.00808</a>.</span>
25. <span id="cite_note-25">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-25) Thakur, N. et al. (2021); сводные — в Gao et al., 2023, табл. 2. arXiv:2104.08663.</span>
26. <span id="cite_note-26">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-26) Izacard, G. et al. (2022); сводные — в Gao et al., 2023, табл. 2.</span>
27. <span id="cite_note-27">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-27) Gao, L. et al. (2023). Табл. 2.</span>
28. <span id="cite_note-28">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-28) Gao, L. et al. (2023). Табл. 3. DOI:10.18653/v1/2023.acl-long.99.</span>
29. <span id="cite_note-29">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-29) Gao, L. et al. (2023). §4–5.</span>
30. <span id="cite_note-30">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-30) Gao, L. et al. (2023). §4.2–4.3.</span>
31. <span id="cite_note-31">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-31) Gao, L. et al. (2023). §4.1.</span>
32. <span id="cite_note-32">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-32) Haystack Docs. ‘‘Hypothetical Document Embeddings (HyDE)’’ (инженерная справка). <a href="https://docs.haystack.deepset.ai/docs/hypothetical-document-embeddings-hyde" class="external text" rel="nofollow">docs.haystack.deepset.ai</a></span>
33. <span id="cite_note-33">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-33) Gao, L. et al. (2023). Табл. 6.</span>
34. <span id="cite_note-34">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-34) Milvus Docs. ‘‘Similarity Metrics’’.</span>
35. <span id="cite_note-35">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-35) Haystack × Milvus Integration (официальная док.). <a href="https://haystack.deepset.ai/integrations/milvus-document-store" class="external text" rel="nofollow">haystack.deepset.ai</a></span>
36. <span id="cite_note-36">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-36) Nogueira, R.; Cho, K. (2019). arXiv:1901.04085.</span>
37. <span id="cite_note-37">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-37) Khattab, O.; Zaharia, M. (2020). DOI:10.1145/3397271.3401075.</span>
38. <span id="cite_note-38">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-38) Cormack, G. V. et al. (2009). DOI:10.1145/1571941.1572114.</span>
39. <span id="cite_note-39">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-39) Manning, C. D.; Raghavan, P.; Schütze, H. (2008). *Introduction to Information Retrieval*. Cambridge Univ. Press. ISBN 978‑0521865715.</span>
40. <span id="cite_note-40">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-40) Es, S. et al. (2023). ‘‘RAGAS: Automated Evaluation of Retrieval‑Augmented Generation’’. <a href="https://arxiv.org/abs/2309.15217" class="external text" rel="nofollow">arXiv:2309.15217</a>.</span>
41. <span id="cite_note-41">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-41) Gao, L. et al. (2023). §5.</span>
42. <span id="cite_note-42">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-42) Gao, L. et al. (2023). §3.2; §4.1. DOI:10.18653/v1/2023.acl-long.99.</span>
43. <span id="cite_note-43">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-43) Gao, L. et al. (2023). Табл. 3; §4.4.</span>
44. <span id="cite_note-44">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-44) Gao, L. et al. (2023). §4–5.</span>
45. <span id="cite_note-45">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-45) Ouyang, L. et al. (2022). ‘‘Training language models to follow instructions with human feedback (InstructGPT)’’. NeurIPS. <a href="https://arxiv.org/abs/2203.02155" class="external text" rel="nofollow">arXiv:2203.02155</a>.</span>
46. <span id="cite_note-46">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-46) Gao, L. et al. (2023). Табл. 1–2.</span>
47. <span id="cite_note-47">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-47) Robertson, S.; Zaragoza, H. (2009). ‘‘The Probabilistic Relevance Framework: BM25 and Beyond’’. Found. Trends IR. DOI:10.1561/1500000019.</span>
48. <span id="cite_note-48">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-48) Karpukhin, V. et al. (2020). DOI:10.18653/v1/2020.emnlp-main.550.</span>
49. <span id="cite_note-49">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-49) Xiong, L. et al. (2021). <a href="https://arxiv.org/abs/2007.00808" class="external text" rel="nofollow">arXiv:2007.00808</a>.</span>
50. <span id="cite_note-50">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-50) Nogueira, R. et al. (2019). arXiv:1904.08375.</span>
51. <span id="cite_note-51">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-51) Nogueira, R.; Lin, J. (2019). tech report.</span>
52. <span id="cite_note-52">[↑](https://systems-analysis.info/int/Hypothetical_Document_Embeddings_(HyDE)_(PL)#cite_ref-52) Rocchio, J. (1971). SMART; Lavrenko & Croft (2001) SIGIR.</span>
