Parametric and External Knowledge › What Counts as Knowledge in a Language Model?

Michael BrenndoerferDecember 1, 20263 min read
Language AI HandbookAll chapters
Part 45 of 67Knowledge, Memory, Editing, and Unlearning
Chapter 346Parametric and External Knowledge › What Counts as Knowledge in a Language Model?
Reading section 2 of 10 · What Counts as Knowledge in a Language Model? · 3 minSection 2 of 10 · 3 min

Section 2 of 10 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Parametric knowledge is information the model can express because of what its parameters learned. If you ask a standalone model who wrote Pride and Prejudice, it may give Jane Austen without consulting a catalog. The prediction is conditioned on the question and the model's weights. Changing the wording or supplying a misleading context can change the answer while the weights stay fixed.

Parametric knowledge

Information encoded in learned parameters is elicited through model behavior. A closed-book answer can be tested without a runtime lookup. The answer alone generally does not identify an authoritative source or indicate when a fact was current.

External knowledge

An application can supply information from documents, databases, retrieval indexes, or tool results. Source and version metadata let the application cite a particular revision and check which record it used. A store can update a record without retaining its history.

Two systems can use the same model and answer the same question from different evidence. One might use a trained association between a book and its author. Another might consult a library catalog and return the catalog record with its answer. The second application can record which item it used. The first can be easier to run if the model is already available, but its output is weaker evidence of which external source would justify the answer.

Four places a "fact" can live at inference time

Consider a question about what a support policy allows. Four places can influence what the system says.

  1. Weights. The model can generate an answer from learned associations conditioned on the question.
  2. Prompt context. The caller may supply the rule directly, as part of a question or a quoted document.
  3. Retrieved evidence. Search selects relevant passages from a collection. In a typical text setup those passages enter the prompt with source information attached.
  4. Tools and structured lookups. A service or function can return the value of a field, or the application can use the result directly without asking a model to extract it.

Documents and tool results can both appear as text in a request. Message framing and explicit source identifiers can help the application distinguish provenance, and the generator may condition on roles or labels included in the input. The policy decision about which source sets the rule can be enforced outside the model. That distinction matters when the same words appear in a signed notice and in a caller's example.

A working taxonomy of model knowledge

You can separate what you want to evaluate before choosing how to change it. A factual question asks for a particular proposition, such as which policy revision applies. A linguistic or procedural task asks the model to apply a pattern, such as formatting an amount or writing a conditional. A commonsense task may require relationships or assumptions left unstated in the question. A reasoning task may ask the model to connect intermediate steps and reach a result. These are evaluation categories for this chapter. The same request can involve several of them.

Retrieval can supply missing premises for a reasoning problem. Keeping the generator fixed leaves its learned parameters in place. If the system still misapplies the rule when supplied with the correct passage, compare outputs on a controlled task where the evidence is held fixed. A retrieval improvement and an improvement in reasoning given the same evidence are different results.

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy