Module 6 · Why it goes wrong, by mechanism

Two places a fact can live, and what happens when they disagree

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 4 of 10 in this chapter

This chapter’s goalDiagnose a wrong or unreliable answer by naming the mechanism behind it (sampling, training signal, tokenisation, knowledge conflict, position, version change or data share) run the two-minute test that confirms the diagnosis, and choose the mitigation that acts on that mechanism rather than on the prompt.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Your document says one thing, the weights say anotherFact seen often in trainingFact seen rarelySubstitution is plausibleoften follows youA different but believable chiefexecutiveusually follows youA niche detail the weights barelyholdSubstitution is implausibleoften revertsA capital city moved into thewrong countryusually follows youLittle memorised contribution tocompete withBoth routes add into the same vector and the larger contribution wins the logit. Nothing in thearchitecture ranks what the model was told above what it remembers, which is why the override rate isa number to measure for your model rather than a setting to switch on.
Both routes add into the same vector and the larger contribution wins the logit. Nothing in the architecture ranks what the model was told above what it remembers, which is why the override rate is a number to measure for your model rather than a setting to switch on.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Two places a fact can live

A fact reaches the output by one of two routes. It was in the pretraining data and is now encoded in the weights: the feed-forward key-value store of module two. Or it is in the context window right now, put there by you, a document, or a retrieval step, and reaches the output through attention.

Module four said the context is not memory. Module five said the weights are where knowledge comes from. What neither said is what happens when the two disagree, and that case is where retrieval systems fail.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘Two places a fact can live, and what happens when they disagree’, in How a Language Model Actually Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-llms-work/knowledge-in-weights-versus-context (Accessed: 29 November 2026).