Lesson 1.1Lesson 1.1 · LLMs as a Design Partner
How LLMs Work - for Designers
A practical mental model of large language models - next-token prediction, training, context and why they hallucinate - with no maths, just enough to use them well
An LLM does not look anything up and does not know anything. It predicts the next word - astonishingly well. Once you get that, everything else about using it makes sense.
Most designers use ChatGPT or Claude for weeks before anyone tells them what is actually happening under the hood - and it shows. They trust it where they should not, and doubt it where they need not. A five-minute mental model fixes that.
You will never touch the maths in this lesson, and you do not need to. But you do need one honest picture of how a large language model works: what it is doing when it answers you, where its apparent knowledge comes from, why it sometimes invents a building code clause with total confidence, and why the way you phrase a prompt changes everything. Get this, and you stop being surprised by the tool - and start directing it.
It predicts the next word. Everything - cutoff, bias, hallucination - follows from that.
The one idea: it predicts the next token
Here is the whole thing in a sentence: a large language model reads the text so far and predicts the most likely next chunk of text, then does it again, and again, until it has written a full answer. That is it. It is a spectacularly good autocomplete.
The chunks are called tokens - roughly a word or a piece of a word (day, light, ##ing). When you ask "a good rule of thumb for corridor width is...", the model is not consulting a rulebook. It is computing, from everything it has seen, which token most plausibly comes next - probably a number, probably in millimetres - and emitting it, then predicting the token after that, conditioned on what it just wrote.
This explains the model's superpower and its central flaw at the same time. Because it has read an enormous amount of human writing, its predictions are usually fluent, coherent and often correct. But it is optimising for plausible-sounding, not for true. A confident, well-formed, completely wrong answer is not a malfunction - it is the same machinery working exactly as designed on a case where the plausible token was not the correct one. Hold onto that: fluency is guaranteed; truth is not.
There is also a dial called temperature that controls how adventurously it picks among likely next tokens. Low temperature makes it pick the safest, most predictable word (good for factual, repeatable tasks); higher temperature lets it wander (useful when you want surprising ideas). You rarely set this by hand in a chat app, but it is why the same prompt gives slightly different answers each time.
It is autocomplete, trained on half the internet. Fluent always; correct only usually.
Where the 'knowledge' comes from: training, then a polish
The model got good at prediction through training on a colossal amount of text - books, code, websites, documentation, forums. During training it adjusted billions of internal numbers (its parameters, or weights) so that its next-token guesses matched the real text better and better. Nothing is stored as facts you can look up; the 'knowledge' is smeared across those weights as statistical patterns. That is why it cannot cite a source it 'read' - it did not file anything; it absorbed regularities.
Two consequences matter for you. First, a knowledge cutoff: a base model only knows the world up to when its training data ends, so it is stale on anything recent unless the app adds live search or you paste the current information in. Second, the training set shapes its instincts - it reflects what is common in its data, which skews toward well-documented, English-language, Western-defaulting material. Ask for 'a typical house plan' and you may get a suburban American one unless you specify India, a hot-dry climate, a joint family, and so on.
After raw training, models are fine-tuned and aligned to be helpful, follow instructions and stay safe - this is the step that turns a raw text-predictor into a usable assistant. It is also why models have personalities and house styles, and why they sometimes refuse, hedge, or default to bland, list-heavy prose you then have to push past.
No facts filed - just patterns in weights. Hence: cutoff, cultural default, and 'I cannot cite my sources.'
The context window: its short-term memory
Everything the model can 'see' at once - your instructions, the conversation so far, any files you paste, and the answer it is writing - has to fit inside a context window, measured in tokens. Modern assistants have large windows (tens to hundreds of thousands of tokens, enough for a long report or several documents), but it is still finite, and it behaves like short-term memory, not permanent memory.
Three practical rules fall out of this. One: it forgets. In a very long chat, early instructions can slide out of the window or get diluted; if the model starts ignoring a rule you set an hour ago, restate it. Two: what is in the window dominates. If you paste the actual code clause, the real product datasheet, or three precedent descriptions, the model reasons over that - far more reliably than over its fuzzy trained memory. This is the single biggest quality lever you control, and the whole idea behind retrieval-augmented generation (RAG): put the right facts in front of it. Three: position matters. Models attend best to the start and end of the window, so put your most important instruction or the key document where it will not get lost in the middle of a huge paste.
For a designer, the takeaway is blunt: do not rely on the model's memory for anything that must be right. Feed it the source, and it becomes a careful reader of your material instead of a confident guesser from its own.
Ungrounded (guesses from fuzzy memory):
"What is the minimum clear width for an accessible ramp?"
Grounded (reasons over what you gave it):
"Here is the accessibility clause from our project code [pasted].
Using ONLY this text, tell me the minimum clear ramp width and
the maximum gradient, and quote the exact line you used."Context window = a desk, not a filing cabinet. Put the real doc ON the desk.
Beyond raw prediction: reasoning, tools and grounding
The picture so far - a lone text-predictor - is the base case, but the assistants you actually use in 2026 have several things bolted on top, and knowing them sharpens your instinct for when to trust the answer. Reasoning modes let a model 'think' before it replies - it generates a hidden chain of intermediate steps, which markedly improves maths, logic, multi-step problems and careful analysis. It is still prediction underneath, so it can still be wrong, but a reasoning model working step by step is more reliable on anything with moving parts than a model blurting the first plausible answer. Many assistants let you turn this on for hard problems and off for quick ones.
Tool use breaks the model out of its own head. A modern assistant can call a web search, run code, read a file you uploaded, or query a database, then fold the result back into its answer. This is how the knowledge-cutoff and hallucination problems get patched in practice: instead of guessing a current figure from stale memory, the model fetches it and reasons over the real thing. When an assistant cites a live source or runs a calculation you can inspect, you are on far firmer ground than when it answers from raw memory alone.
The umbrella idea is grounding - anchoring the model's output in real, retrievable material rather than its blurry internal patterns. Retrieval-augmented generation (RAG) is the formal version: the system finds the relevant documents and puts them in the context window before the model answers, so the reply is built from actual sources. You do the manual version every time you paste a brief or a code clause. The practical rule for a designer: an ungrounded answer is an informed guess; a grounded one, with a source you can check, is something you can lean on. Prefer grounded whenever the stakes are real, and treat the presence or absence of a checkable source as your first signal of how hard to verify.
Reasoning = think first. Tools = fetch, don't guess. RAG = put real sources on the desk. Prefer grounded.
Why it hallucinates - and what that means for your work
A hallucination is when the model states something false as if it were true - a made-up IS code number, a fabricated citation, a product that does not exist, a plausible-but-wrong load figure. Now you can see exactly why it happens: the model is always predicting the next plausible token, and when it has no good pattern for the truth (an obscure clause, a very recent event, a specific dimension), the plausible token is not the correct one - but it emits it anyway, with the same confident fluency as everything else. It has no built-in signal that says 'I am unsure here.'
This is not a bug they will fully patch away; it is intrinsic to how the technology works. So your job is to work with it. Three habits carry you a long way. Verify anything that must be correct - numbers, codes, standards, citations, names - against a real source; treat the model's version as a lead, not a fact. Ground it with sources - paste the real document and ask it to answer only from that, and it hallucinates far less. Ask it to flag uncertainty - a simple "mark anything you are not confident about" often surfaces the shaky parts, though it is not foolproof.
The rule from Module 0 returns here in concrete form: scrutiny scales with stakes. Brainstorming ten concept directions? Hallucination barely matters - you are curating anyway. Quoting a fire-egress width that goes into a drawing? Verify every digit. The model is a brilliant, fast, well-read assistant that will occasionally lie to you with a straight face. Used with that expectation, it is enormously useful. Trusted blindly, it is a liability.
Hallucination isn't a glitch - it's the same next-token machine with no 'I'm unsure' light.
Next-token prediction
The core mechanism - predict the next chunk of text, repeat
Explains both the fluency and the hallucination; the model optimises for plausible, not true.
Token
A word or word-piece; the unit models read and write
Context windows and pricing are measured in tokens; roughly 3-4 characters each in English.
Context window
The finite span of text the model can see at once
Its short-term memory; what you put in it dominates the answer. The biggest quality lever you control.
Hallucination
Confidently stating something false as true
Intrinsic to the technology, not a fixable bug. Verify anything that must be correct.
Knowledge cutoff
The date the model's training data ends
Makes base models stale on recent events unless the app adds live search or you paste current info.
Workshop — probe the machine so you can feel how it works
The fastest way to internalise how an LLM behaves is to poke it deliberately and watch it succeed and fail. This exercise makes the mental model concrete using any free chat assistant.
Any free LLM chat app and one real document from your own work.
Goal: feel the difference between plausible and true, and the power of context Inputs: any free LLM (ChatGPT, Claude or Gemini) + one real document you have (a code extract, datasheet or brief) Time: ~30 minutes
- 1Ask it a precise factual question in your field without giving any source - e.g. a specific clause, minimum dimension, or standard number. Note the answer, then verify it against the real document. Was it right, wrong, or confidently wrong?
- 2Now paste the actual document text and ask the same question, telling it to answer only from what you pasted. Compare the two answers - this is grounding in action.
- 3Ask for 'a typical house plan' with no context, then ask again specifying India, a hot-dry climate, and a joint family. Watch the training-bias default shift when you add context.
- 4Ask it for three academic or code citations on a niche topic, then try to find each one. See how many are fabricated - a direct demonstration of hallucination.
- 5Start a fresh chat, set an unusual rule (e.g. 'always answer in exactly two sentences'), then have a long conversation and see if the rule eventually slips - the context window forgetting in real time.
You’ll walk away with
A short note comparing unsourced vs grounded answers, one example of a hallucinated citation you caught, and one sentence on where you will now trust the model and where you will verify.
Three altitudes on the same idea
Read the band that fits you — or all three.
Knowing the model has a cutoff and no real citations changes how you brief it. Never ask 'what does the current code say about X' and trust the answer - paste the actual clause and have it explain or apply that. Use it freely for reasoning, structuring and drafting where you can check the output; distrust it for specific numbers, standards and case law. The mental model turns it from an oracle you second-guess into a fast analyst you supervise.
Understanding the training bias saves you from generic results. Because the model defaults to what is common in its data, a plain request yields plain, Western-catalogue-flavoured suggestions. Specify climate, culture, budget band, local materials and the actual space, and you pull it toward work that fits your client. And when it names a specific product, finish or supplier, treat it as a hypothesis to verify - it may be confidently describing something that does not exist.
This mental model is the difference between using AI and being used by it. You will be tempted to accept fluent answers because they sound authoritative - resist. Learn to feel the seam between where the model is reliable (structure, explanation, drafting) and where it guesses (precise facts, recent events, citations). Practising that judgement now, on your studio work, is exactly the literacy employers mean when they say they want graduates who use AI well.
“The LLM looks things up - it is basically a smart search engine that knows facts.”
Do it yourself
Reason it through - these check the mental model, not trivia.
- 1In one sentence, what is an LLM actually doing when it answers you?
- 2Why can a model be perfectly fluent and completely wrong at the same time?
- 3What is the context window, and why is what you put in it your biggest quality lever?
- 4Why does a base model have a 'knowledge cutoff', and how do apps get around it?
- 5Give one task where hallucination barely matters and one where you must verify every word.
The one line to carry out
Peer-reviewed journals & authoritative standards
- 01Large language model — Wikipedia, 2026.
- 02Transformer (deep learning architecture) — Wikipedia, 2026.
- 03Hallucination (artificial intelligence) — Wikipedia, 2026.
- 04Foundation model — Wikipedia, 2026.
Now that you know what the machine is doing, the next lesson is the highest-leverage skill in the whole course: prompting it well - the difference between vague, generic output and sharp, useful work.
The author
Amogh N P
Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.
More about Amogh →