SYNTHESIS NOTE
Topics›RAG›this note

When should language models retrieve external knowledge versus use internal knowledge?

Can we model retrieval as a per-step decision problem rather than an always-on strategy? This matters because unnecessary retrieval adds noise and latency without improving accuracy.

Synthesis note · 2026-02-22 · sourced from RAG
RAG

Retrieval augmentation is not always helpful. Some queries require external knowledge that the LLM does not have. Others require reasoning over knowledge the LLM already contains. For the second type, retrieval adds noise: potentially irrelevant retrieved documents compete with the model's correct internal representations, increasing latency without improving accuracy.

DeepRAG formalizes this as a Markov Decision Process. At each reasoning step, the model makes a binary decision: retrieve external knowledge or rely on parametric knowledge. The state is the current question and available information; the action is the decision; the reward is downstream answer accuracy. The model learns a policy for when to retrieve.

The MDP framing makes explicit what standard RAG leaves implicit: retrieval is a resource with a cost, not a free improvement. Always-retrieve is a degenerate policy that ignores the cost. Never-retrieve is a degenerate policy that ignores the benefit. Optimal policy adapts to step-level information needs.

The 21.99% accuracy improvement comes from two sources: better answers when retrieval is used (because the model retrieves more targeted subqueries), and reduced noise when retrieval is not used (because the model stops disrupting correct parametric reasoning with irrelevant retrieved content).

The connection to Does reasoning fine-tuning make models worse at declining to answer?: both findings highlight that LLMs trained with outcome rewards learn to always engage (always answer, always retrieve) rather than calibrating engagement to actual knowledge state. The MDP explicitly rewires this — abstention (use parametric knowledge) becomes an active and rewarded choice.

Inquiring lines that read this note 70

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

What articulatory and acoustic information does speech preserve that transcription destroys? Can memory architectures handle ultra-long context better than attention? How should systems decide whether to retrieve or reason alone? What causes retrieval-augmented generation systems to fail despite access to external knowledge? When do semantic similarity approaches miss structural retrieval failures? How should inference compute be allocated based on problem difficulty? How should retrieval systems handle complex multi-step reasoning? Does encoded knowledge in language models actually influence their outputs? Why does adding new knowledge through fine-tuning degrade existing capabilities? What compositional reasoning failures limit large language models despite scale? Can brute-force automated research substitute for iterative depth and human research intuition? What structural properties of attention create systematic model biases? Why do embedding systems fail to capture task-relevant relationships? How effectively can language models perform reasoning, especially combined with symbolic methods? How much do training data properties shape model reasoning? What determines appropriate intervention timing and manner for AI agents? Can prompt-based context override biases that were embedded during pretraining? What capability trade-offs arise from domain specialization through fine-tuning? How does self-revision in reasoning models affect accuracy and confidence? What training dynamics and scale trigger emergence of reasoning capabilities? What safeguards enable trustworthy AI-assisted scientific peer review at scale? How does harness optimization generalize across different model architectures and domains? Why do LLM recommenders underperform collaborative filtering despite their capabilities?

Related concepts in this collection 8

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
18 direct connections · 180 in 2-hop network ·dense cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

retrieval-augmented reasoning as Markov Decision Process enables per-step parametric versus external knowledge switching