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 73

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.

Does learning articulatory physics explain speech communication superiority? Why does consolidated memory sometimes hurt continual learning more than no memory? When should retrieval be triggered to augment language model reasoning? How should test-time compute be allocated adaptively across task difficulties? Does parallel reasoning outperform sequential approaches in reasoning efficiency? Do language models truly understand their encoded knowledge or merely retrieve patterns? What are the trade-offs between memory capacity and continuous task learning? How do transformer circuits and attention mechanisms enable or limit reasoning? What fundamental limitations prevent embeddings from solving task-relevant retrieval? Does reasoning architecture matter more than model scale? How can language models effectively manage long-context memory without quality degradation? What training data structures and signals produce robust learning across distributions? What determines whether visible reasoning traces improve task performance? How should conversational agents balance proactive goal-pursuit with user autonomy? Do language models learn underlying linguistic structure or merely surface patterns? How does model scale affect fine-tuning and downstream task performance? What external mechanisms enable reliable self-improvement in language models? Can prompts override training-embedded biases in language models? How do pretraining data composition and task diversity shape reasoning? How do mechanistic features and representations drive model behavior? How do LLMs generate false citations that fool readers and evaluators? Can harness optimization rival model scaling in effectiveness? How can recommendation systems balance individual and population-level goals? How do clinicians evaluate the trustworthiness of AI medical recommendations?

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 · 186 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