AI Agentic Handbook
Foundations

Parametric knowledge

Mid levelReviewed Oct 2026In 4 interview questionsIn 1 post

The facts a model soaked up during training and stores inside its own numbers. Broad, instant, and frozen on the day training stopped.

In plain English

Parametric knowledge is what the model remembers from training, baked into its billions of internal numbers (its parameters). It is why a model can tell you the capital of France without being handed a single document.

The catch: that memory stops at the training date, it cannot tell you where a fact came from, and it has never seen your company's private files. The alternative is knowledge you hand over in the Prompt & system prompt — which is exactly what Retrieval-Augmented Generation (RAG) does.

Analogy

What you remember from school versus the reference book open on your desk. Memory is fast and broad; the book is current, and you can point at the page.

Common pitfall

Fine-tuning on company documents to 'teach the model our data' sounds exactly right, and it is the most common wrong turn in this whole field. The model picks up the style, half-learns the facts, and goes stale the next time a policy changes.

How it actually works

Factual associations are spread across the weights; feed-forward layers behave partly as key-value memories (Geva et al.). Recall tracks how often a fact appeared in training. Mallen et al. (PopQA) showed closed-book accuracy collapses for long-tail entities, retrieval helps most exactly there, and retrieval can slightly hurt on the most popular facts where the model already knows the answer.

There is no index into the weights, so you cannot update, delete, permission or cite a single fact, and the Knowledge cutoff typically sits 6–12 months before a model's release. Division of labour: weights for language, reasoning patterns and stable world knowledge; retrieval for anything private, fast-changing, citable or subject to access control. Fine-tuning mostly moves behaviour and style; Ovadia et al. (2023) found RAG consistently beat unsupervised fine-tuning for injecting new facts.

What I'd ship on day one

Treat the weights as language and reasoning. Retrieve any fact that is private, changes faster than ~6 months, must be cited, or is permissioned. Inject today's date and the product or API version into the system prompt. Require citations on knowledge routes and alert when answers arrive without them.

Worked example

Financial filings: asked for a mid-cap company's FY2025 revenue, a general model answers with the FY2023 figure, or a plausible round number, with no hedge. With RAG the prompt carries the relevant 10-K table and the model answers '$1.84B, up 9% [10-K FY2025, Item 7]'. For the same question about Apple, closed-book is usually right, which is the popularity effect in action.

In the interview

This is the 'RAG or fine-tune?' question wearing a different hat, so answer it as one: retrieve facts, tune behaviour. Name the requirements that force retrieval — freshness under the model release cycle, citations, per-user permissions, right-to-delete — and the decision makes itself. Expect 'when would you let the model answer closed-book?' Only for stable, high-popularity facts, on routes where being wrong is cheap, and only with that slice measured on the golden set.

1001,00010,000100,0001,000,0000255075crossoverEntity popularity (monthly page views) (log scale) →Answer accuracy % →
Weights onlyWith retrieval
Shape from Mallen et al. (PopQA); values illustrative. Weights fail on the long tail; retrieval flattens the curve.

Numbers worth knowing

Cutoff-to-release gap
6–12 monthstypical for frontier releases; the model knows nothing after its cutoff
Closed-book accuracy, long-tail entities
below 25%least-popular PopQA bins for the models Mallen et al. tested; newer models shift the curve up but keep its shape
Facts editable per update
0 individuallyweights have no per-fact index; changes require retraining or editing techniques that do not scale to thousands of facts

How to decide

WhenDo this
Fact is private, changes monthly or faster, or must be citedRetrieve it; never answer from weights.
Fact is stable, popular and a wrong answer is low-costAllow closed-book answers on that route, measured on a golden-set slice.
You need a style, format or domain vocabularyFine-tune or few-shot the behaviour; keep facts in retrieval.

Cost maths

Fact injection by fine-tuning = runs per year × (compute + eval + review). Assume a LoRA run on an 8B model costs ~$50–200 of rented GPU time plus ~1 engineer-day of evaluation (illustrative, Oct 2026). Weekly content changes mean 52 runs a year and a model that is always up to a week stale. Re-indexing only the changed documents for RAG costs cents of embedding per update and is live in minutes.

Operating it

Time to scale up when…
  • More than 2% of answers on a knowledge route carry no citation
  • User-reported wrong-fact tickets mention content newer than the model's cutoff
  • A new regulated data source (health, finance) is added to the product
What to monitor
  • Share of knowledge-route answers with zero citations: alert above 2%
  • Mentions of deprecated identifiers (regex list maintained with each release): alert on any
  • Golden-set accuracy on the post-cutoff slice: alert at −3 points

When it goes wrong

What users saw

A developer-docs assistant recommended an SDK method that had been removed in v3, generating a wave of AttributeError support tickets.

How it was caught

Thumbs-down spike on the docs route, and support tickets quoting the assistant's code.

Root cause

Short questions were routed to a 'fast path' with no retrieval; the model answered from weights trained before v3 shipped.

Fix

Every API or version question now goes through docs retrieval, the current SDK version is injected into the system prompt, and a 60-question slice of post-cutoff API changes was added to the golden set.

Sources

  1. Language Models as Knowledge Bases? — Petroni et al., 2019paper
  2. Transformer Feed-Forward Layers Are Key-Value Memories — Geva et al., 2021paper
  3. When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories — Mallen et al., 2022paper
  4. Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs — Ovadia et al., 2023paper

Check yourself

Three questions. Every option is explained once you answer.

1ConceptPopQA-style results show retrieval helps most on long-tail entities and can slightly hurt on very popular ones. What explains that shape?
2ScenarioA docs assistant answers short API questions on a 'fast path' with no retrieval. The SDK ships a breaking release every quarter. What is the right rule?
3CalculationContent changes weekly. Injecting it by fine-tuning costs ~$50-200 of GPU per LoRA run plus ~1 engineer-day of evaluation per run. What does a year of weekly re-tunes cost?