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 79

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.

How reliably do confidence signals indicate reasoning quality in language models? What persistent memory architectures best support learning across sessions? How should retrieval policies adapt to optimize model reasoning at inference? What limits the reliability of retrieval-augmented generation? How should inference-time compute be optimally allocated for reasoning? What determines whether models prioritize training knowledge over retrieved context? Do language models learn true linguistic principles or just surface patterns? What systematic biases stem from transformer attention structure? Can vector embeddings distinguish task relevance from semantic similarity? Why do language models systematically fail at ambiguity recognition? How do LLMs perform reasoning effectively despite gaps between process and output? What limits language models' ability to retrieve information reliably across longer contexts? How should AI memory systems align with users' preferences and mental models? What mechanistic structures underlie the reasoning traces that language models produce? When and how should AI systems transition from passive to active roles? Does parallel reasoning outperform sequential approaches under comparable computational budgets? How does task-specific training affect model generalization and capability transfer? How do parameter-efficient methods maintain performance while reducing training cost? Does learning from external critique outperform self-directed correction? What tradeoffs emerge from fine-tuning models for extended reasoning? What prevents systematic overestimation of research quality in academic evaluation? Can harness improvements substitute for model scaling? Why do LLM recommenders underperform simpler collaborative filtering approaches? How can clinicians assess the trustworthiness of AI medical advice? How susceptible are language models to adopting and maintaining false beliefs? What drives effectiveness in conversational AI system interactions?

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
19 direct connections · 191 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