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.

Which reinforcement learning modifications most improve dialogue quality in language models? Do accumulated memories help or hurt continual learning in models? When should retrieval systems decide to fetch new information? Why do retrieval-augmented generation systems fail in practice despite sound architecture? Can inference-time computation adaptively substitute for static model capacity? How should retrieval strategies adapt to multi-step reasoning demands? How does fine-tuning trade off accuracy against reasoning quality? Do language models encode knowledge that influences generation, or primarily imitate surface patterns? How do transformer attention patterns implement retrieval and reasoning? Why do vector embeddings fail at capturing task-relevant relationships? Why do training associations persist despite contradictory contextual information? Does augmenting symbolic reasoning improve LLM logical reasoning ability? How do training data quality and composition affect downstream model performance? How do sequence length and task type interact with sparsity tolerance? How can persistent memory architectures preserve information across ultra-long contexts? How should AI agents balance proactive engagement with conversational respect? What prediction granularity best trains models to generate reliable reasoning? When does parallel reasoning outperform sequential reasoning with the same token budget? Why does self-revision amplify confidence in wrong model answers? Can minimal training unlock latent reasoning already present in base models? Can mechanistic interpretability methods reliably reveal what models actually know? How do hallucinated citations emerge in AI scholarly output? Should models ask for clarification when facing ambiguous or under-specified information? How much of agent capability comes from harness versus the model itself? When do simpler collaborative filtering approaches outperform complex LLM recommenders? How do clinicians calibrate trust in 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 · 185 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