AIQ AIQ
World 3: How AI Learns · Lesson 3.2.1

Good Data vs Bad Data

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

Learning Objectives

This lesson runs across all four AIQ age modes on the same core idea — that an AI system's behavior is shaped entirely by the data it was trained on, and that flawed data produces flawed (and sometimes unfair) AI. The examples and vocabulary scale up a great deal from Explorer to Architect, but every version is building toward the same understanding. By the end of the lesson, a student should be able to:

Teacher Background

You don't need a programming or statistics background to teach this lesson — the underlying idea is closer to "you are what you eat" than to anything mathematical. Most modern AI systems, including the kind students use every day (voice assistants, photo apps, recommendation feeds, chatbots), are not programmed with explicit rules for every situation. Instead, they are shown enormous numbers of examples — called training data — and they gradually adjust themselves to find patterns in those examples. A spam filter isn't told "these exact words mean spam"; it's shown thousands of emails that humans already labeled spam or not-spam, and it learns which patterns tend to show up in each. This is the whole reason data quality matters so much: the AI has no independent way to know what's true or fair. Everything it "knows" comes from what it was shown.

"Garbage in, garbage out" is an old idea from computing generally (it predates AI by decades — it originally described any computer program producing bad output from bad input), but it applies to AI with special force, because AI systems generalize from their training data to situations they've never seen. If the training data is inaccurate, incomplete, too small, or skewed, the AI doesn't just get a few answers wrong — it can systematically get a whole category of people or situations wrong, and it will do so confidently, because it has no way of knowing what it wasn't shown.

Key point: When a student asks "couldn't they just fix the AI?", the important idea to land is that the AI is not separately broken from its data — for this class of system, the data is the AI's knowledge. Fixing the problem usually means fixing or expanding the data, not tweaking a formula.

Bias is the concept that carries the most weight in this lesson, and it's worth being precise about it in front of students, because the everyday meaning of the word ("being unfair" or "having a personal opinion") and the data-science meaning are related but not identical. In this lesson, bias means the training data does not fairly or accurately represent the population the AI will be used on. That can happen in more than one way: selection bias is when certain groups are simply missing or underrepresented in the data (a face-recognition system trained mostly on lighter skin tones will be less accurate on darker skin tones, not because of malice, but because it saw far fewer of those examples); historical bias is when the data accurately reflects the past, but the past itself was unfair, so the AI learns to repeat that unfairness going forward.

The lesson leans on three real, well-documented cases, and it's worth knowing the actual story behind each one, since students often ask follow-up questions:

If a student asks "so is it the AI's fault or the data's fault?" — the most accurate answer is that for these systems, that's a false distinction. The AI has no knowledge or judgment apart from its training data. Responsibility sits with the people who chose, collected, and reviewed that data before training the system on it — which is exactly why the "fixing data problems" part of this lesson (auditing data, adding diverse examples, testing for bias, using diverse teams) is about human decisions, not a purely technical fix.

Note for older grades: this lesson is a deliberate stepping stone toward two ideas students will meet again later in AIQ — that AI can be "confidently wrong" (it doesn't know what it doesn't know), and that responsible AI development requires ongoing human oversight, not a one-time fix. You don't need to over-explain this now; it's enough that students leave with "good data in, good AI out" as a durable mental model they can build on.

Materials & Prep

This is a low-prep lesson. You need:

Common Misconceptions

"Bias in AI means the AI has opinions or feelings, like being mean to certain people."
Bias in this context is a technical, statistical idea: the training data doesn't fairly or accurately represent everyone the AI will be used on. The AI has no opinions or intentions at all — it's a pattern-matching system that repeats whatever imbalance existed in the examples it learned from. This distinction matters because it points to the actual fix: better, more representative data, not "teaching the AI to be nicer."
"If an AI makes a biased decision, it's a bug that a quick software patch can fix."
For AI systems that learn from data (as opposed to traditional rule-based software), the "knowledge" the system has largely comes from its training data. Fixing bias typically means auditing and expanding the dataset — finding out which groups or situations are underrepresented and adding accurate, representative examples — not just adjusting a formula in the code. It is a data-and-process problem as much as a technical one.
"More data is always better, no matter what it looks like."
Quantity alone doesn't fix a data problem. A dataset can be enormous and still be biased if it overrepresents some groups and underrepresents others — adding a million more examples of the same skewed kind doesn't help. What matters is whether the data is accurate, complete, and representative of everyone the AI will encounter, not just how much of it there is.
"Biased AI outcomes mean the people who built it were deliberately prejudiced."
In the documented real-world cases this lesson discusses (like Amazon's hiring tool), the bias came from historical data patterns that existed before the AI project even started — ten years of a male-dominated applicant pool, for example — not from any single person's intent. That doesn't make the outcome acceptable, but it does change the fix: the responsibility is to actively audit and correct for that historical pattern, not to look for an individual villain.

Pick your grade's script

← All lesson plans ← Learning from Mistakes Neural Networks →