[Paper Review] Blended RAG: Improving RAG (Retriever-Augmented Generation) Accuracy with Semantic Search and Hybrid Query-Based Retrievers
The paper introduces Blended RAG, which combines semantic search with hybrid query strategies across multiple indices to enhance retriever and RAG accuracy, achieving new benchmarks on NQ, TREC-COVID, SQuAD, and more in a zero-shot setting.
Retrieval-Augmented Generation (RAG) is a prevalent approach to infuse a private knowledge base of documents with Large Language Models (LLM) to build Generative Q\&A (Question-Answering) systems. However, RAG accuracy becomes increasingly challenging as the corpus of documents scales up, with Retrievers playing an outsized role in the overall RAG accuracy by extracting the most relevant document from the corpus to provide context to the LLM. In this paper, we propose the 'Blended RAG' method of leveraging semantic search techniques, such as Dense Vector indexes and Sparse Encoder indexes, blended with hybrid query strategies. Our study achieves better retrieval results and sets new benchmarks for IR (Information Retrieval) datasets like NQ and TREC-COVID datasets. We further extend such a 'Blended Retriever' to the RAG system to demonstrate far superior results on Generative Q\&A datasets like SQUAD, even surpassing fine-tuning performance.
Motivation & Objective
- Motivate improving RAG accuracy as corpus size grows and retriever quality dominates overall performance.
- Propose Blended Retriever strategies that fuse semantic search (dense/sparse indexes) with hybrid queries.
- Evaluate the Blended Retriever and Blended RAG across multiple IR and QA datasets to establish new benchmarks.
- Demonstrate zero-shot RAG performance improvements without dataset-specific fine-tuning.
Proposed method
- Use BM25 for keyword-based retrieval as a baseline.
- Construct dense vector indexes using sentence transformers for semantic similarity.
- Employ Sparse Encoder indexes to capture nuanced semantic relationships with best-fields hybrid queries.
- Develop hybrid queries (cross fields, most fields, best fields, phrase prefix) and combine with dense/sparse indices to form Blended Retrievers.
- Select a top-6 (sextet) of hybrid queries for RAG evaluation across benchmarks.
- Evaluate RAG with FLAN-T5-XXL, comparing against non-Blended baselines and fine-tuned variants, using EM/F1 and Top-k retrieval metrics.
Experimental results
Research questions
- RQ1How do semantic-search-based retrievers and hybrid queries impact retrieval and RAG accuracy across diverse datasets?
- RQ2Which combination of index type and hybrid query yields the best retrieval performance, and how does this translate to downstream RAG quality?
- RQ3Can Blended RAG improve zero-shot Q&A performance without dataset-specific fine-tuning?
- RQ4What are the trade-offs (e.g., density vs sparsity, metadata effects) in Blended Retrievers and their impact on practical deployments?
Key findings
- Hybrid queries with Sparse Encoder and Best Fields achieve top retrieval performance on Natural Questions (NQ) with 88.77% top-10 accuracy.
- On TREC-COVID, vector-search hybrid queries with Best Fields reach 98% top-10 accuracy for score-2 relevance, outperforming keyword-based methods.
- For HotPotQA, Cross Fields and Best Fields with Sparse Encoder attain 65.70% top-10 retrieval accuracy on a subset due to compute limits.
- Retriever benchmarking shows Blended RAG yields NDCG@10 of 0.67 on NQ (5.8% above monoT5-3B) and 0.87 on TREC-COVID (8.2% above COCO-DR Large).
- SQuAD retrieval results indicate dense vector (KNN) approaches outperform sparse/vector methods, with Blended RAG achieving significant gains.
- Blended RAG achieves 68% F1 on SQuAD and 42% EM on Natural Questions (NQ) in zero-shot settings, surpassing many tuned baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.