Retrieval Selects Context; Atomicity Supports Relevance
By Richard Dahl
Published: 2026-01-20
URL: https://cursingatclod.substack.com/p/why-retrieval-does-not-solve-instruction
Retrieval-Augmented Generation has become a standard technique for improving the factual grounding of large language models. By selecting relevant documents or passages before generation, RAG ensures that the model has access to information it would not otherwise possess.
This is valuable. It is also frequently misunderstood.
This essay argues that retrieval addresses what enters the context window, not how relevance is weighted once information is present. Instruction dilution is a statistical phenomenon that occurs after retrieval, not before it. RAG and atomicity solve different problems. Treating them as interchangeable leads to systems that know more but govern less.
This failure mode is a specific instance of the broader dynamic examined in The Architecture of Irrelevance.
The Misconception
A common assumption runs as follows: instruction dilution occurs because the model lacks the right information. If we retrieve better context, the model will follow instructions more reliably. RAG fixes context, therefore it fixes dilution.
This reasoning conflates two distinct problems.
The first problem is informational: the model does not have access to the facts it needs. Retrieval addresses this directly and effectively.
The second problem is statistical: the model does not privilege instructions over other tokens in the context window. Retrieval does not address this at all. It cannot, because the problem occurs after retrieval completes.
What Retrieval Actually Does
Retrieval determines what information enters the context window. It selects passages, documents, or data that are semantically relevant to a query. This selection can be narrow or broad, precise or approximate, but its function is consistent: it populates the context with content the model will condition on.
Once retrieved content enters the context window, it has no special status. Retrieved tokens compete statistically with all other tokens—instructions, prior conversation, system prompts, formatting markers. The model does not distinguish between “retrieved fact” and “original instruction.” It weights everything by learned association.
Retrieval improves what is available. It does not change how availability translates into influence.
Why Dilution Occurs After Retrieval
Instruction dilution is not caused by missing information. It is caused by statistical competition.
When a context window contains many tokens, the relevance of any particular token to the next prediction is inferred from co-occurrence patterns, not declared by the user. Instructions that appear early in the context lose salience as more tokens accumulate. Constraints that were explicit at the outset become one signal among many.
This happens regardless of how the tokens arrived. Retrieved content participates in the same competition. If retrieval returns a large or heterogeneous set of passages, the statistical interference increases. The model has more information, but the instructions that govern how to use that information have not become more salient. They have become relatively less salient.
Better retrieval can reduce noise by excluding irrelevant content. It cannot increase the authority of instructions that remain.
The Failure Mode
The failure mode that results is subtle and persistent.
A system with well-tuned retrieval will surface accurate, relevant facts. The model will incorporate those facts into its output. The output will sound correct, reference the right concepts, and appear to satisfy the request.
But the specific constraints declared in the instructions: scope boundaries, formatting requirements, invariants that must hold; drift as the retrieved content dominates the probability distribution. The model knows more, but it attends to the instructions less.
This is the British Swallow Problem. The output is sophisticated and grounded in real information. It is also subtly misaligned with what was actually asked. The presence of correct facts masks the absence of constraint fidelity.
Fluent, factual output is not the same as governed output.
Why Smarter Retrieval Still Falls Short
A natural response is to improve retrieval: retrieve less, retrieve more precisely, filter more aggressively. These strategies help. They reduce the volume of competing tokens and increase the likelihood that retrieved content is directly relevant.
But filtering is not governing.
Narrower retrieval reduces statistical noise. It does not impose scope. It does not declare what is in bounds and what is out of bounds. It does not establish invariants that must hold regardless of what is retrieved. It does not distinguish between information the model should use and constraints the model must obey.
Retrieval can be made arbitrarily precise, and the dilution problem will remain, because the problem is not imprecision. The problem is that relevance is inferred from statistical patterns, and instructions are just more tokens in that pattern.
No amount of retrieval tuning can make instructions authoritative. Authority is not a property retrieval can confer.
Where RAG Actually Fits
None of this diminishes the value of retrieval. RAG is a powerful technique for grounding generation in external knowledge. It belongs in systems that need factual accuracy, domain-specific information, or access to data that changes over time.
But RAG operates inside generation. It is additive. It provides material for the model to work with. It does not govern what the model does with that material.
The proper relationship is subordination, not substitution.
Atomic scope should determine how much is retrieved and for what purpose. Retrieval should operate within boundaries established by declared intention. The retrieved content should be constrained by the same invariants that govern the rest of the generation.
When retrieval is unbounded—when it returns large volumes of loosely related content without explicit scope—it reproduces the dilution dynamics it was meant to address. The context window fills with information. The instructions that should govern that information lose their statistical edge.
RAG assists generation. It does not align it.
Relationship to Atomicity and IDAG
Atomicity addresses the dilution problem directly. By reducing scope, declaring boundaries, and concentrating relevance on explicit constraints, atomic generation ensures that instructions remain statistically dominant.
Retrieval is compatible with atomicity but does not replace it. A well-structured atomic task can include retrieval as one of its inputs. The retrieved content enters a context that is already bounded, already governed by declared invariants, already structured to privilege what matters.
In this configuration, retrieval enhances capability without undermining alignment. The model has access to relevant facts. The instructions that govern how to use those facts remain salient because the context is small enough and focused enough to preserve them.
Authority remains external. Retrieval provides information. Atomicity provides structure. Verification provides accountability. These are distinct functions that compose, not alternatives that compete.
Conclusion
Retrieval helps generators know more. Atomicity helps generators care less about what does not matter.
These are different problems. Retrieval addresses the informational problem: what facts should the model have access to? Atomicity addresses the statistical problem: how do we ensure that instructions remain relevant as context grows?
Conflating these problems leads to systems that are factually grounded but structurally ungoverned. The model has the right information. It does not have the right priorities. The output is fluent and accurate. It is also drifting from the declared intent.
RAG is valuable. It is not sufficient. The solution to instruction dilution is not better retrieval. It is smaller scope, explicit boundaries, and constraints that dominate the probability distribution by design.
Retrieval selects context. Atomicity governs relevance. Both are necessary. Neither replaces the other.
License
Copyright 2026 Richard Dahl <https://substack.com/@cursingatclod>
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). You are free to share and adapt this material for any purpose, including commercial use, provided appropriate credit is given.