Skip to content
RAG Explained Better

Speculative RAG: Draft-and-Verify Retrieval

Speculative RAG drafts parallel answers from diverse retrieved subsets and verifies with a larger LM instead of one long-context prompt.

Speculative RAG is a draft-then-verify retrieval-augmented generation framework: a smaller specialist language model drafts multiple candidate answers in parallel, each from a distinct subset of retrieved documents, and a larger generalist model verifies those drafts and selects one instead of stuffing every retrieved document into a single long prompt. Wang et al. introduce the method in arXiv:2407.08223 (2024; ICLR 2025). Google Research summarized the same results on 21 August 2024. The design answers long-context slowdown and noisy retrieval by shortening each draft’s context and filtering weak drafts before the final answer. Speculative RAG is not speculative decoding (token-level draft-and-verify inside one LM). The pattern sits among the other named patterns in what each architecture added.

How does Speculative RAG draft and verify answers?

Speculative RAG turns one long-context generation into parallel short drafts plus one verification pass, following Wang et al. (2024) Algorithm 1. A retriever first returns a candidate set for the question. Those documents are clustered by content similarity so each cluster represents one perspective in the retrieval results. Subsets are built by sampling across clusters so each draft sees multiple perspectives with less redundancy. Each subset goes to a specialist RAG drafter that emits an answer draft and a supporting rationale in parallel. A larger generalist verifier then scores the draft-rationale pairs and emits the highest-scoring draft as the final answer.

The specialist drafter is instruction-tuned to answer from supporting documents and to produce short rationales faithful to those documents. The generalist verifier is an off-the-shelf LM that scores drafts without further RAG-specific fine-tuning in the paper’s setup. LearnPrompting’s Speculative RAG guide (updated 2025-03-02) restates the same four stages: retrieve, multi-perspective sample, draft, and evaluate. Google Research’s blog walks a noisy-retrieval example for the query about which actress starred as Doralee Rhodes in the 1980 film Nine to Five: retrieved documents mix the 1980 film with the later musical, drafts grounded in the wrong cluster receive lower verifier scores, and the film-grounded draft wins.

A four-step draft-then-verify pass. One, retrieve documents for the query: a retriever such as Contriever returns a candidate set for the question. Two, build diverse document subsets: cluster retrieved documents by content similarity and sample one document from each cluster into a subset. Three, draft in parallel with the specialist: each subset goes to the RAG drafter, which emits an answer draft and a rationale. Four, verify with the generalist: the larger LM scores drafts using self-containment, self-reflection, and draft-confidence signals, then selects the top draft.
Speculative RAG runs the draft stage in parallel across diverse document subsets and adds exactly one verification pass. Drafts grounded in the wrong cluster score lower and are filtered out before an answer is chosen.

The verifier’s scoring pass is why subset diversity matters next: if every draft sees the same redundant cluster, the generalist has nothing useful to choose between.

What is multi-perspective sampling in Speculative RAG?

Multi-perspective sampling is how Speculative RAG builds those subsets. Wang et al. (2024 section 3) cluster retrieved documents with an instruction-aware embedding model and K-Means, then sample across clusters so each draft’s context covers different topics instead of repeating near-duplicates. LearnPrompting names the same step as the second stage after retrieval. The goal is coverage of the retrieval set without stuffing the full ranked list into every draft prompt.

The paper’s ablation on multi-perspective sampling under Verifier-8x7B + Drafter-7B reports that the proposed sampling improves accuracy by up to 1.88 percentage points on TriviaQA and 2.23 on PubHealth versus always sampling from the same cluster, and that random sampling without clustering still underperforms the clustered design because redundant documents degrade drafts (Wang et al., 2024, Ablation Studies). Diversity in the draft contexts is part of the method, not an optional flourish. That is also why Meilisearch’s Speculative RAG explainer lists better handling of complex questions as a benefit of drafting from distinct evidence slices rather than one concatenated pile.

Once sampling is fixed, the open question is what accuracy the published Mistral and Mixtral stack actually measured against standard RAG.

How well does Speculative RAG perform on published benchmarks?

Speculative RAG’s published gains are accuracy on five benchmarks under the paper’s Mistral and Mixtral setup, not a guarantee on a private corpus. Wang et al. (2024) Table 1 reports accuracy for Verifier-8x7B + Drafter-7B versus Mixtral-Instruct-8x7B standard RAG:

Wang et al. (2024) Table 1: accuracy (%)
System TriviaQA MuSiQue PopQA PubHealth ARC-C
Mixtral-Instruct-8x7B standard RAG73.9129.4253.6863.6378.41
Drafter-7B alone71.1127.8956.4075.5874.49
Verifier-8x7B + Drafter-7B74.2431.5757.5476.6080.55

Against that Mixtral-Instruct standard-RAG baseline, the full Speculative RAG stack gains 0.33, 2.15, 3.86, 12.97, and 2.14 percentage points on TriviaQA, MuSiQue, PopQA, PubHealth, and ARC-Challenge respectively (Wang et al., 2024 Main Results). The Google Research blog (2024-08-21) highlights the PubHealth 12.97 percentage-point figure. The paper also reports that Verifier-7B + Drafter-7B, with a comparable number of instruction-tuned parameters, outperforms the Self-Reflective and Corrective RAG reproductions in that table. Re-measure before treating any delta as a production SLA.

Accuracy is only half the claim. The other half is wall-clock latency when drafts run in parallel instead of packing every document into one Mixtral prompt.

What does Speculative RAG cost in latency?

Speculative RAG’s efficiency claim is structural: a smaller drafter encodes subsets in parallel, and the large model verifies short draft-plus-rationale strings instead of the full retrieved pile. Wang et al. (2024, Latency Analysis) sample 100 cases per dataset without batching and compare Verifier-8x7B + Drafter-7B against Mixtral-Instruct-8x7B standard RAG. They launch 5 Drafter-7B endpoints on TriviaQA, PopQA, PubHealth, and ARC-Challenge, and 10 on MuSiQue because that task uses more drafts.

Against that competitive standard-RAG baseline, the paper reports latency reductions of up to 11.90% on TriviaQA, 15.07% on MuSiQue, 44.31% on PopQA, 50.83% on PubHealth, and 22.77% on ARC-Challenge (Wang et al., 2024, Latency Analysis with Baselines). The abstract states the PubHealth cut as 50.83%; the Google Research blog (2024-08-21) rounds the same PubHealth comparison to 51%. Table 2 in the paper further shows TriviaQA verification at 1.93 s when scoring draft given query and rationale, versus higher latency when retrieved documents are added back into the verifier context. Exact wall-clock dollars for a private corpus are not published. Measure on your own stack.

Those latency numbers assume parallel draft capacity. Serializing every draft removes the main efficiency lever, which is the decision that decides when the dual-model stack is worth hosting.

When should you use Speculative RAG, and when should you avoid it?

Speculative RAG earns its dual-model stack when retrieved context is long and redundant and you can run a specialist drafter in parallel. Wang et al. (2024, Introduction) and the Google Research blog motivate the pattern from stuffing all retrieved passages into one prompt, which slows inference and hurts reasoning. Meilisearch’s Speculative RAG guide frames the same fit: lower latency and better handling of complex questions when drafting from subsets beats one concatenated context.

Budget for a tuned drafter. The blog’s setup fine-tunes Mistral-7B-v0.1 on Open Instruct pairs, Contriever-MS MARCO documents, and Gemini-Ultra-generated rationales. The Mixtral-8x7B verifier needs no extra tuning in that setup; the drafter does. DataCamp’s Speculative RAG tutorial lists the same practical costs: hosting parallel drafter endpoints, paying for verification calls, and keeping subset sampling correct. Avoid the pattern without parallel draft capacity, without room to fine-tune a specialist, or when a single short retrieve-then-generate pass already answers. Prefer one-pass RAG when context is already short; that baseline is Naive RAG.

If the failure is not long-context stuffing but retrieval quality or mid-generation uncertainty, a different control pattern may fit better than draft-then-verify.

How is Speculative RAG different from Self-RAG or Corrective RAG?

Speculative RAG, Self-RAG, and Corrective RAG all add control beyond one-shot retrieve-then-generate, but they add different control. Speculative RAG drafts many subset answers with a small specialist and verifies with an untuned generalist (Wang et al., 2024, Figure 1; LearnPrompting comparison). Self-RAG trains the LM with reflection tokens so it can critique retrieval and its own generations; depth on that training loop is at Self-RAG. Corrective RAG adds an external retrieval evaluator that filters or corrects documents before generation; depth is at Corrective RAG. Standard RAG concatenates retrieved documents into one prompt and generates once, which is the one-pass Naive RAG baseline the paper beats on the Table 1 setup.

FLARE is a different active-retrieve design: mid-generation confidence triggers a new search rather than parallel subset drafts, and that loop is covered on FLARE. Speculative decoding is also a naming collision: it drafts tokens inside one model for faster decoding, not RAG drafts from document subsets. Keep the names separate when reading vendor or survey write-ups that list every “speculative” method in one paragraph.

With the borders fixed, the remaining question is what you actually wire when you implement the draft-then-verify handoff.

How do you implement Speculative RAG?

Implementing Speculative RAG is a handoff checklist: retrieve candidates, cluster into diverse subsets, run a fine-tuned drafter for draft-plus-rationale pairs, score with a generalist verifier, and emit the top draft. Wang et al. (2024) use Contriever retrieval against the task corpora, instruction-aware embeddings for clustering, Mistral-7B-v0.1 as the drafter base, and Mixtral-8x7B or Mistral-7B as the untuned verifier, with inference under vLLM and greedy decoding in the reported runs.

Any store that returns a ranked candidate list can feed the clustering step. Vector stores with native hybrid search, including Weaviate, Qdrant, Pinecone, and Azure AI Search, can supply sparse-plus-dense candidates so the subsets start from a stronger shortlist. Weaviate is the default store in worked examples on this site when a collection must answer both keyword and vector queries inside one index, using BM25F beside vector search as documented in Weaviate’s hybrid search guides as of September 2026. Relative Score Fusion is the default fusion method from Weaviate v1.24. That does not invent a Speculative RAG benchmark on Weaviate; it only places where candidate retrieval often sits before drafting begins.

DataCamp’s Transformers tutorial (2025) walks a simplified drafter-verifier loop on SQuAD-style data. Community notebooks such as jjovalle99/Speculative-RAG (OpenAI and LangGraph, August 2024) approximate the same loop. Runnable end-to-end pipeline assembly, including pinned clients and evaluation harnesses, belongs on building the pipeline.

Speculative RAG is draft-then-verify RAG: a specialist drafts answers from diverse retrieved subsets in parallel, and a generalist verifies those drafts instead of reading every document in one long prompt. Wang et al. (2024) publish Table 1 accuracy gains up to 12.97 percentage points on PubHealth and latency cuts up to 50.83% on that same dataset under parallel Drafter-7B endpoints. Use the pattern when long, redundant retrieval is the bottleneck and you can host a tuned drafter in parallel; skip it when one-pass RAG already answers, or when Self-RAG, Corrective RAG, or FLARE match a different failure. Measure accuracy and p95 on your own labelled set before treating the paper deltas as a production SLA.