Litcius/Paper detail

Precise Zero-Shot Dense Retrieval without Relevance Labels

Luyu Gao, Xueguang Ma, Jimmy Lin, Jamie Callan

2023238 citationsDOIOpen Access PDF

Abstract

While dense retrieval has been shown to be effective and efficient across tasks and languages, it remains difficult to create effective fully zero-shot dense retrieval systems when no relevance labels are available. In this paper, we recognize the difficulty of zero-shot learning and encoding relevance. Instead, we propose to pivot through Hypothetical Document Embeddings (HyDE). Given a query, HyDE first zero-shot prompts an instruction-following language model (e.g., InstructGPT) to generate a hypothetical document. The document captures relevance patterns but is "fake" and may contain hallucinations. Then, an unsupervised contrastively learned encoder (e.g., Contriever) encodes the document into an embedding vector. This vector identifies a neighborhood in the corpus embedding space, from which similar real documents are retrieved based on vector similarity. This second step grounds the generated document to the actual corpus, with the encoder's dense bottleneck filtering out the hallucinations. Our experiments show that HyDE significantly outperforms the state-of-the-art unsupervised dense retriever Contriever and shows strong performance comparable to fine-tuned retrievers across various tasks (e.g. web search, QA, fact verification) and in non-English languages (e.g., sw, ko, ja, bn).

Topics & Concepts

Relevance (law)Computer scienceSimilarity (geometry)Relevance feedbackEmbeddingVector space modelArtificial intelligenceInformation retrievalEncoderZero (linguistics)Natural language processingDocument retrievalVector spaceEncoding (memory)Language modelImage retrievalPattern recognition (psychology)MathematicsImage (mathematics)LinguisticsLawPhilosophyOperating systemPolitical scienceGeometryTopic ModelingMultimodal Machine Learning ApplicationsDomain Adaptation and Few-Shot Learning