Bridging the Question-Answer Gap in Retrieval-Augmented Generation: Hypothetical Prompt Embeddings
Domen Vake, Jernej Vičič, Aleksandar Tošić
Abstract
Retrieval-Augmented Generation (RAG) systems synergize retrieval mechanisms with generative language models to enhance the accuracy and relevance of responses. However, bridging the style gap between user queries and relevant information in document text remains a persistent challenge in retrieval-augmented systems, often addressed by runtime solutions (e.g., Hypothetical Document Embeddings (HyDE)) that attempt to improve alignment but introduce extra computational overhead at query time. To address these challenges, we propose Hypothetical Prompt Embeddings (HyPE), a framework that shifts the generation of hypothetical content from query time to the indexing phase. By precomputing multiple hypothetical prompts for each data chunk and embedding the chunk in place of the prompt, HyPE transforms retrieval into a question-question matching task, bypassing the need for runtime synthetic answer generation. This approach does not introduce latency but also strengthens the alignment between queries and relevant context. Our experimental results on six common datasets show that HyPE can improve retrieval context precision by up to 42 percentage points and claim recall by up to 45 percentage points, compared to standard approaches, while remaining compatible with re-ranking, multi-vector retrieval, query decomposition, and other RAG advancements
Create a lesson
Related papers
PCG-RAG: Progressive Compositional Grounding for Retrieval-Augmented Generation in Complex Web Question Answering
Shared title terminology · Linyao Zheng, Xuhang Shi, Zhifang Mao et al.
Rhetorical-Role-Aware Retrieval-Augmented Generation for Legal Question Answering over Indian Supreme Court Judgments
Shared title terminology · Sayed Ayaan Ahmed Sha, Sangeetha Sivanesan, Anand Kumar Madasamy et al.
LSP-RAG: Latent Scoring Perspectives for Knowledge Graph Retrieval-Augmented Generation
Shared title terminology · Haochen Liu, Guanghui Min, Song Wang et al.
CURATOR: Scalable Fine-grained Evidence Selection for Retrieval-Augmented Generation using Decision Models
Shared title terminology · Shib Dasgupta, Bandish Parikh, Rashmi Gangadharaiah
Financial Evidence Crowding: Diagnosing and Mitigating Constraint-Induced Displacement in Retrieval-Augmented Generation
Shared title terminology · Yixi Zhou, Jiayi Yin, Fan Zhang et al.
Real-Time Hybrid Retrieval in Hyperbolic Space for Retrieval-Augmented Generation on Edge Devices
Shared title terminology · Aradhya Chakrabarti