AIQ AIQ
World 3: How AI Learns · Lesson 3.1.1

Learning from Examples

Everything a teacher needs to deliver this lesson — pick your grade's script below once you've read the background.

Learning Objectives

This is the first lesson of World 3, "How AI Learns," and it introduces the single most common way AI systems are actually trained: supervised learning. Everything students meet later in this world — clustering, reinforcement, neural networks — builds on the loop this lesson teaches first: label an example, show it to the AI, let it guess, tell it whether the guess was right, and repeat thousands of times. The lesson runs 5–15 minutes in-app across all four age modes, using the same three fact scenes (Supervised Learning, Teaching AI, Real Examples) with a different hook, summary, and quiz for each age band.

By the end of the lesson, a student should be able to:

Teacher Background

The lesson's hook asks a genuinely good question: how did you learn what a cat looks like? Not by being handed a dictionary definition — by seeing lots of cats, usually with someone pointing and saying "cat." Supervised learning is AI doing something structurally similar. A person (or a team of people) takes a large pile of data — photos, emails, X-rays, songs — and attaches the correct answer to each one: "this photo is a cat," "this email is spam," "this X-ray shows pneumonia." That answer is called a label, and the whole labeled pile is the training set. The AI is shown the training set over and over, and each time it makes a guess, it is told the real answer.

Here is the mechanism in full, in the same order the app's three scenes present it: the AI looks at a labeled example and makes a guess; the guess is compared against the real label; if the guess matches, nothing dramatic happens — the AI's current settings worked, so it keeps them; if the guess doesn't match, the AI adjusts a large number of internal numeric settings by a tiny amount, in whatever direction seems to make future guesses on that example more accurate. Do this across every example in the training set once, and that's called an epoch. Real training runs the whole set through many epochs — sometimes thousands — which is why the app's "Real Examples" scene mentions training taking days or weeks on many computers running continuously.

The one-sentence version students should walk away with: labeled examples go in, and a rule the AI discovered for itself — not one a person wrote — comes out. Every other fact in this lesson is a detail on top of that one idea.

"Accuracy" is simply the percentage of correct guesses — but the guesses that count are on examples the AI has never seen during training, not the ones it practiced on. This distinction matters more than it looks. An AI shown the same 1,000 cat photos over and over can eventually "solve" that specific set of 1,000 photos without ever learning what makes something a cat in general — it may have quietly memorized incidental details of those exact files instead. This is called overfitting, and it's the reason real training always holds back some labeled examples the AI never trains on, purely to test it honestly afterward. The app's own line that "more examples usually means better accuracy" is true and is exactly what younger students should take away; the nuance that a model can still fail by training on the same limited set for too long is the layer the Hacker and Architect scripts below add, because their quizzes test it directly.

If a student asks "so does it actually know what a cat IS?" — the honest answer at every age is no. It's finding statistical patterns in pixels, not forming a concept the way a person does. A famous real research example: a model trained to tell huskies from wolves turned out to be mostly detecting snow in the background, because most of its wolf photos happened to be snowy — it had found a real pattern in its training data, just not the one anyone intended. That's exactly why testing on new, unseen examples matters: it's the only way to catch a shortcut like that before the system is trusted with something that matters.

The app's quiz gets more demanding as the age band goes up, and it introduces vocabulary that the three fact scenes above don't spell out on screen. Ages 11–14 are quizzed on overfitting, a loss function (the running score of how wrong the guesses are), the train/validation/test split (holding back data specifically to test honestly), and gradient descent (the actual procedure behind "adjusts its internal numbers" — nudging each number a small step in whichever direction reduces the loss). Ages 15–18 go further, into the bias-variance tradeoff, L1/L2 regularization, the Adam optimizer, and cross-validation. None of that is a separate topic — it's the same predict-compare-adjust- repeat loop, named with the precision a technical audience expects. The age-specific scripts linked below build that bridge explicitly before each quiz question, so you don't have to invent the explanation live in class.

Materials & Prep

No prep and nothing to print for the core lesson. Each student (or pair, if devices are shared) needs a phone, tablet, or computer with a browser and the AIQ app loaded — the hook, the three fact scenes, the practice matching round, and the quiz all run entirely on-device, with no login required. Read the Teacher Background above once before class, especially if you're teaching Hacker or Architect mode, since their quizzes assume vocabulary the in-app scenes don't spell out.

The extension activities in each age script add a little more: Explorer and Builder work best with a small stack of picture cards or two piles of real classroom objects (nothing that needs buying — drawings, magazine cutouts, or printed photos all work); Hacker and Architect extensions ask students to sketch a design on paper or, optionally, try a free browser-based tool. Nothing in this lesson or its extensions costs money, consistent with how AIQ itself is built and run.

Common Misconceptions

"If the AI's guess doesn't match the label, something went wrong or broke."
A mismatched guess isn't a malfunction — it's the mechanism training runs on. Every time the AI guesses and gets corrected, it nudges its internal numbers slightly, and doing that thousands of times across thousands of examples is literally what "learning" means here. Keep "wrong"/"failed" language out of how you frame this to students, in line with the app's own "not yet, try again" tone.
"More training passes (epochs) always makes the AI better, so more is always better."
The app tells younger students "more epochs = better learning," and that's the right simplification for ages 5–10 — it's true up to a point and gives the right instinct (more practice generally helps). For older students, add the nuance: training on the exact same limited set for too long can make a model memorize those specific examples instead of learning the general pattern — overfitting — which is exactly what the Hacker and Architect quizzes below test for.
"The AI actually understands what a cat, a spam email, or a disease IS, the way a person does."
It's finding statistical patterns in pixels or words, not forming a concept. The husky-vs-wolf snow-background example above is a real, documented case of a model finding a genuine pattern that wasn't the one anyone intended — a useful story for any age band, simplified as needed.
"95% accuracy means the AI is basically always right and can be trusted every time."
95% still means roughly 1 wrong guess in 20. Whether that's fine or serious depends entirely on the stakes — a spam filter missing 1 in 20 spam emails is a minor annoyance; a medical AI (one of the lesson's own real examples) missing 1 in 20 cases is not. This is a good discussion hook at any age, phrased more simply for younger students and more directly for older ones.

Pick your grade's script

← All lesson plans ← AI Perception Challenge Finding Patterns →