Parametric and External Knowledge › The Four Intervention Families
Language AI HandbookAll chapters The four options describe what changes in the system. The update budget depends on the rest of the release process. A simple prompt patch, for example, may still need to pass the same review as any other change in a consequential workflow.
Prompting
Prompting can change the output on the next request if you already have the relevant information. It competes with the rest of the input for the context budget. Pass the relevant passage along with the task and test whether the model uses it, especially when the answer differs from what it tends to generate unaided.
When the caller provides all the information, test how the prompt handles it before you build a store or change the model. For example, check whether the same extraction instruction works on two formats of the invoice your users upload. In-Context Learning discusses how examples enter that process.
Retrieval-augmented generation (RAG)
RAG moves the evidence selection step outside the generator. Use it when you need to route a query to the relevant subset of a corpus, such as all policy documents for a company. Ingesting a revision makes it eligible for retrieval. Ranking, scope and policy checks still decide whether it reaches the model. A structured lookup is another option when the answer is already available as a field in an authoritative service.
If the passage needs citation, retain the identifier and revision of the passage you give the model. Test recall and grounding separately. A system can retrieve the relevant policy yet cite a different passage, or it can retrieve the old revision and cite it faithfully.
Knowledge editing
Knowledge editing targets a learned association. Meng et al.'s ROME study used a rank-one update to edit factual associations in GPT-style models. The follow-up MEMIT study reported experiments editing thousands of associations in GPT-J and GPT-NeoX. Those results describe their tested models and editing tasks. For a deployment, validate the edited answer across paraphrases and check related and unrelated outputs for side effects.
An edit can be deployed with the model and used without bringing an external document into each request. To test locality, compare the targeted behavior and the related queries you want to preserve. Record which checkpoint carries the edit and which evaluation cases it passed.
Retraining or fine-tuning
Retraining or fine-tuning uses data to change parameter behavior across requests. Consider it when you have a distribution of examples for the desired behavior, such as a new domain task. For an individual policy revision, a controlled lookup can change the value the system uses without replacing the model or requiring it to recall the new value from weights. The fine-tuning fundamentals and continual learning parts cover parameter updates in more detail.
Adding examples for a new task changes a training problem. The resulting checkpoint needs evaluation beyond the new examples. For a volatile fact already maintained by a source system, the release cycle for a checkpoint and the update cycle for the source are often separate concerns.
A comparison at a glance
| Intervention | What changes in this setup | Useful when | Check before relying on it |
|---|---|---|---|
| Prompting | Input supplied for the current request | The caller already has the relevant text or wants to define the task | The context includes the needed passage and the answer stays consistent across request formats |
| RAG | Retrieved evidence supplied for the current request | The collection is too large to include in every request or its contents change | The source, index, retrieved records, and answer agree for the requested time |
| Knowledge editing | Selected parameters or an attached editing component | You want targeted behavior to persist across requests without passing a document each time | The edit works across paraphrases and doesn't alter unrelated answers |
| Retraining or fine-tuning | Parameters learned from a training run | The target behavior spans many examples or tasks | Held-out performance improves and regressions stay within the intended tolerance |
The figure marks the place each intervention changes in this setup. Prompting and retrieval work with the request path and leave this generator checkpoint fixed. Editing and retraining require a changed model artifact. A team could use two interventions together, such as fine-tuning for an output format and retrieving the current value. The row order gives no estimate of latency, cost or edit reliability.
VisualizationOut [3]Expand

For a company memo where the requester already has the signed revision, a direct prompt may suffice. If the requester only has a question and the service needs to search thousands of revisions, the index is part of the solution. If the desired change persists across unrelated requests, the model update options become more relevant. Compare the actual change required in each case rather than assuming a universal ordering by cost.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!