Module 1: How AI Works¶
Module 1 of 7
What You Will Be Able to Do¶
- Explain, in one sentence each, what a large language model (LLM) is and how it produces text.
- Explain why these systems sometimes state false things confidently, and why that is a feature of how they work rather than an occasional glitch.
- State two practical consequences of knowledge cutoffs and context windows for your own use.
The Core Idea¶
The Two-Minute Version
A large language model, the kind of artificial intelligence (AI) behind today's chatbots, is a system trained on enormous amounts of text to do one thing: predict the next small piece of text, over and over, until an answer takes shape. Everything impressive (fluent explanations, working code, a differential diagnosis discussion) and everything that goes wrong (confident fabrication, invented citations) follows from that single mechanism. The model is not consulting a database of facts. It is producing the most plausible continuation of the conversation, and most of the time the most plausible continuation is also true. When it is not, the output looks exactly as confident.
For the diagrams behind this module, read How LLMs Work, a ten-minute plain-language tour of the prediction loop, the context window, how training works, and why hallucination happens. Read it now or after the self-check; this module stands on its own.
Three consequences worth internalizing:
- Knowledge has a date. Models learn from training data with a cutoff. Anything after that date is invisible to the model unless it can search the web or you paste the material in. For a fast-moving field, always ask: would the answer have changed recently?
- Memory has a size. The context window is the model's working memory for your conversation. Very long conversations and documents can push earlier material out of focus. New conversation, fresh start.
- Fluency is not accuracy. The polish of the prose carries no information about its truth. Check what you rely on, with more care the more depends on it (Module 2 shows how to match the check to the stakes); the AI Responsible Use Policy requires you to verify AI-generated content before you use it in academic work, research, or clinical work.
The three consequences worth internalizing
Knowledge has a date
After the cutoff: nothing, unless it searches or you paste it in.
Memory has a size
Very long chats push earlier material out of focus.
Fluency is not accuracy
"Confident, polished, specific" tells you nothing about whether it is true.
Check it before you rely on it.
Self-Check¶
A colleague says their chatbot "looked up" an answer in its database and so it must be right. What is wrong with that mental model?
The model did not look anything up (unless it explicitly ran a web search). It generated the most statistically plausible continuation of the conversation from patterns learned in training. Plausible usually overlaps with true, but nothing in the mechanism guarantees it, so the answer needs verification like any unsourced claim.
You ask a model about a drug approval from last month and it confidently describes an older approval instead. Why?
The approval likely postdates the model's knowledge cutoff. The model cannot know events after its training data ends, and rather than say so it may produce the most plausible answer from what it does know. Asking the model to search the web, or pasting in the source, fixes this; trusting unaided recall for recent events does not. Even then, the model summarizes what it finds through the same prediction, so open the source when a detail matters.
When is the model's confident tone evidence that its answer is correct?
Never. Tone is a property of the text generation, not of the underlying accuracy. Treat confidence and correctness as fully independent until verified.
Going Deeper¶
Color key: LessonBenchmark
- How LLMs Work The same mechanics, one level down (already linked above; it rewards a second pass).
- Common Misconceptions Calibrating trust by task.
- Language Model Benchmarks How capability gets measured, with a leaderboard snapshot refreshed several times a day.
- Glossary The terms used across the pathway, one paragraph each.
Where to Go Next
Browse Learn14 pages
The Seven Modules7 modules
- 1How AI Works What these systems are, and are not You are here
- 2Prompting Fundamentals How to direct them
- 3The Policy in Practice A short guide to the policy
- 4Teaching and Assessment For faculty
- 5Research and Scholarship For faculty and student researchers
- 6Clinical Contexts For students and clinical faculty
- 7Working with Agents Optional, when the basics feel comfortable
Watch1 page
Quick Reference4 pages
When You Finish1 page
Color key: Lesson
On This Page4 sections
Content last reviewed September 1, 2026. Review dates are maintained as described on the About page.