Adaptive RAG is a retrieval-augmented generation strategy that decides, for each incoming query, how much retrieval to perform before a language model answers: none, a single retrieval round or an iterative multi-step search. Within retrieval & knowledge in artificial intelligence, it addresses a basic inefficiency of standard RAG pipelines, which apply the same retrieval procedure to every question regardless of difficulty.
The approach is best known from the 2024 Adaptive-RAG research framework, which trains a query complexity classifier to route questions to the cheapest strategy likely to answer them correctly. The broader term now covers any pipeline that adapts retrieval depth, source or strategy to the query at run time, balancing answer accuracy against latency and cost.
How adaptive RAG routes queries
Adaptive RAG works by placing a decision step in front of the retrieval pipeline. A lightweight model or rule set inspects the query, estimates its complexity, and selects an execution path. Simple factual questions that the language model already knows skip retrieval entirely, ordinary lookups use one retrieval pass, and multi-hop questions trigger an iterative loop that retrieves, reasons and retrieves again.
In the reference design, the classifier is a small fine-tuned language model, such as a T5-class model, that outputs one of three labels. Because annotated complexity data is scarce, its training labels are generated automatically: a query is labeled by the simplest strategy that answered it correctly, with dataset origin used as a fallback signal. This silver labeling makes the router cheap to build but also limits its accuracy.
The table below shows the three canonical routes and the kind of query each one serves.
| Route | Retrieval behavior | Typical query |
|---|---|---|
| No retrieval | Model answers from parametric knowledge | Well-known fact or definition |
| Single-step retrieval | One query to the retriever, then generation | Lookup in a specific document set |
| Multi-step retrieval | Iterative retrieval interleaved with reasoning | Question that links several facts |
Signals used to estimate query complexity
The quality of adaptive RAG depends mostly on how reliably complexity is predicted. Production systems rarely rely on a single signal; they combine several cheap indicators to decide whether and how deeply to retrieve.
| Signal | What it measures | Main weakness |
|---|---|---|
| Trained complexity classifier | Learned query difficulty | Needs labeled or silver training data |
| Model confidence | Token probabilities or entropy of a draft answer | Language models are often overconfident |
| Entity popularity | How common the named entities are | Fails for new or niche entities |
| Query structure | Number of entities, clauses and relations | Misses implicit multi-hop questions |
| Freshness requirement | Dependence on recent or private data | Requires domain rules to detect |
A practical rule is that private, recent or regulated information should always trigger retrieval, even when the model appears confident. Parametric knowledge cannot contain documents that were never in the training data, so a no-retrieval route is only safe for stable public facts.
Adaptive RAG compared with related approaches
Adaptive RAG belongs to a family of methods that make retrieval conditional rather than fixed. Its distinctive feature is a pre-retrieval routing decision based on query complexity, whereas neighboring techniques adapt at other points in the pipeline.
| Approach | Where adaptation happens | Key mechanism |
|---|---|---|
| Standard RAG | Nowhere | Fixed retrieve-then-generate pipeline |
| Adaptive RAG | Before retrieval | Complexity-based routing between strategies |
| Self-RAG | During generation | Model emits reflection tokens to retrieve and critique |
| Corrective RAG | After retrieval | Evaluator grades documents and triggers web search |
| Agentic RAG | Throughout the task | Agent plans and calls retrieval tools freely |
| Query routing | Before retrieval | Chooses an index or source rather than depth |
These techniques are complementary rather than exclusive. A common production pattern combines adaptive routing with corrective document grading, so that a simple query goes through one retrieval pass but still falls back to a broader search when the retrieved passages are judged irrelevant.
Designing an adaptive RAG pipeline
Building adaptive RAG starts with defining the routes and their costs, then choosing a router that is much cheaper than the work it saves. If the router itself calls a large model, much of the latency benefit disappears.
| Situation | Recommended choice | Reason |
|---|---|---|
| Mostly simple questions | Default to single-step, allow skip | Saves cost without risky skips |
| Many multi-hop questions | Invest in iterative retrieval route | Single pass misses linked evidence |
| Strict latency budget | Small classifier or rules as router | Router must add only milliseconds |
| High cost of wrong answers | Bias router toward deeper retrieval | Under-retrieval is the costlier error |
| Frequently changing data | Disable no-retrieval route | Parametric knowledge becomes stale |
Evaluation should measure accuracy per route and routing accuracy separately. Useful metrics include exact match or F1 for answers, average retrieval calls per query, end-to-end latency and the confusion matrix of the router. Logging the selected route for each request makes it possible to find systematic misrouting, such as comparative questions that are wrongly treated as simple lookups.
Limitations and failure modes
Adaptive RAG improves efficiency, but it adds a new component that can fail silently. The most important risks are listed below.
- Under-retrieval: a complex question routed to the no-retrieval path produces a fluent but unsupported answer, which increases hallucination risk.
- Over-retrieval: an overly cautious router sends most traffic to the multi-step path and erases the cost savings.
- Distribution shift: a classifier trained on benchmark questions may misjudge real user queries with different phrasing or domains.
- Coarse categories: three complexity levels cannot capture every need, such as tabular, temporal or multilingual retrieval.
- Opaque behavior: without route logging, it is difficult to explain why two similar questions received answers of different quality.
For these reasons, adaptive RAG is usually deployed with conservative defaults, explicit retrieval rules for sensitive domains and periodic re-training of the router on real, reviewed traffic.
Explained without jargon
Think of a librarian at a help desk. Some questions are easy, and the librarian answers right away. Some need one book from the shelf. A few need several books and careful reading. A good librarian knows which is which before walking off.
Adaptive RAG gives an AI system the same habit. Before it answers, it judges how hard the question is. Then it chooses to search nothing, search once, or search step by step. The result is simple: fast answers for easy questions and careful research for hard ones.
A typical use case
An internal assistant at a mid-sized insurance company answers employee questions about policies, claims procedures and product rules. Before adaptive RAG, every query ran a full retrieval over about 40,000 document chunks and a reranking step, which took around three seconds per answer.
The team adds a small routing classifier. Greetings and generic questions such as the meaning of a common insurance term skip retrieval. Questions like the current deductible for a specific product use one retrieval pass. Questions such as how a rider changes claims handling for two product lines trigger multi-step retrieval. All questions about current rates always retrieve, regardless of the classifier.
After a month, logs show that about a third of queries skip or shorten retrieval. Median latency falls by roughly half, while answer accuracy on a reviewed test set stays at the earlier level, and multi-hop questions improve because they now receive deeper search.