How adaptive RAG works when it needs no LLM at all

Maria Marina, Nikolay Ivanov, Sergey Pletenev, Mikhail Salnikov, Daria Galimzianova, Nikita Krayko, Vasily Konovalov, Alexander Panchenko, Viktor Moskvoretskii29 May 2026

Problem

RAG reduces hallucinations, but it adds a retrieval step to every request and can hurt when the retrieved context is irrelevant. Adaptive retrieval runs the search only when needed. Most adaptive methods ask the LLM itself, using its internal states, output signals or an uncertainty estimate. That costs extra model calls per question and eats the savings the scheme was meant to bring.

Example from the article: in the study's benchmark, the uncertainty-based method AdaptiveRAG makes up to 5.2 LLM calls per question and DRAGIN up to 6.3, while a plain RAG pipeline needs one.

Solution in brief

Decide from the question, not from the model. Extract cheap external features of the question and its entities (popularity, graph links, frequency, type, complexity, how well the LLM knows the entities), then let a small ML classifier decide whether to retrieve.

Questions this case answers
  • How to decide before generation whether a question needs external retrieval when every extra model call adds cost and latency
  • How to decide per question whether RAG retrieval is needed without calling the LLM several times?
  • How to cut the inference cost of an adaptive RAG pipeline while keeping answer accuracy close to uncertainty-based methods?
  • How to build a cheap router that skips retrieval for questions the model already knows?

Tools and methods

  • RAG — the base pipeline: BM25 retriever plus LLaMA 3.1-8B-Instruct (Qwen2.5-7B-Instruct for the transfer check)
  • Feature-based router — a standard ML classifier (soft-voting ensemble of the two best models) over 27 question features in 7 groups
  • BERT, DistilBERT — small classifiers that produce the question-type and complexity features
  • DeepPavlov, BELA — entity linking and entity extraction for the features
Continue reading — it's free

Google or a one-time email code. No password.