Abstract
Retrieval-Augmented Generation (RAG) systems often struggle with the semantic asymmetry between brief, interrogative user queries and dense, declarative document chunks. We introduce QuOTE (Question-Oriented Text Embeddings), a novel indexing strategy that pre-computes hypothetical questions for every document chunk. By shifting the "semantic heavy lifting" to the indexing phase, QuOTE significantly enhances retrieval accuracy—especially for complex multi-hop queries—while maintaining query-time latency comparable to naive RAG and nearly 10x lower than query-time augmentation methods like HyDE.
1. Introduction: The Asymmetry Problem
In standard RAG pipelines, documents are partitioned into chunks and converted into vector embeddings. Retrieval relies on finding chunks semantically similar to a user's query. However, a fundamental mismatch exists: queries are typically short and inquisitive, whereas chunks are long and descriptive. This "asymmetry" often causes retrievers to miss relevant context. While techniques like Hypothetical Document Embeddings (HyDE) attempt to bridge this gap by generating a synthetic answer at query-time, they introduce substantial latency, forcing users to wait for an LLM generation before the search even begins.
2. The QuOTE Framework
QuOTE addresses the asymmetry problem by moving the question-generation process to the indexing phase. Instead of modifying the query, QuOTE modifies the index to better match potential queries.
The framework consists of three primary stages:
- Question Generation (Pre-Query): For each text chunk, an LLM generates 10–15 hypothetical questions that the chunk is uniquely qualified to answer.
- Augmented Indexing: The system embeds "Question + Chunk" pairs. Each chunk is represented multiple times in the vector database, indexed by the various questions it satisfies.
- Retrieval & Deduplication (Query-Time): The system performs "over-retrieval" (e.g., fetching the top 50 results). Since multiple indexed questions may point to the same chunk, a deduplication step ensures the final context provided to the LLM is unique and high-quality.
3. Experimental Evaluation
The authors evaluated QuOTE across three diverse benchmarks:
- SQuAD (Stanford Question Answering Dataset): A classic reading comprehension benchmark focused on single-hop retrieval.
- Natural Questions (NQ): Real-world Google search queries mapped to Wikipedia.
- MultiHop-RAG: A challenging dataset where answering a single query requires connecting information across multiple documents.
The study also tested model agnosticism by applying QuOTE to five different embedding models (including Jina, OpenAI, and Alibaba), ensuring the benefits were not tied to a specific architecture.
4. Results and Analysis
QuOTE consistently outperformed naive RAG across all benchmarks. The use of "Complex Prompts"—designed to capture multi-hop reasoning and nuanced details—provided the most significant gains.
Key Findings:
- Accuracy Boosts: On SQuAD, QuOTE improved Top-1 Context Accuracy from 67.11% (Naive) to 77.65%. In the difficult MultiHop-RAG task, the "Full Match" rate (finding all necessary pieces of evidence) increased from 22.5% to 35%.
- Efficiency: QuOTE achieves performance parity with HyDE but is nearly 10x faster at query-time because the LLM work is pre-computed.
- Model Agnosticism: Performance gains were observed regardless of the underlying embedding model, suggesting that the strategy is a universal improvement for RAG architectures.
- Optimal Augmentation: The researchers identified a "sweet spot" of 10–15 questions per chunk; exceeding this number introduces noise that can degrade retrieval quality.
5. Conclusion and Future Work
QuOTE demonstrates that pre-computing question-oriented embeddings is a highly effective way to solve the query-chunk asymmetry in RAG. While it incurs a higher one-time indexing cost, the benefits in retrieval accuracy and query-time speed make it a compelling choice for production systems where low latency is critical. Future research will focus on optimizing indexing costs for massive datasets and developing domain-specific prompts for specialized fields like law or medicine.
Summary updated