AIQ AIQ
Good Data vs Bad Data · Lesson 3.2.1

Teaching "Good Data vs Bad Data" to Architect mode (ages 15–18)

Part of the Good Data vs Bad Data lesson guide. Teaching a different grade? 🌈 Explorer (5–7) · 🔧 Builder (8–10) · 💻 Hacker (11–14)

Hook & Warm-Up

Open with the lesson's framing line, treated as a thesis statement to interrogate rather than accept at face value:

"The data you train on determines what your AI learns — including its biases. Let's examine how data quality shapes AI fairness and accuracy."

Ask the class: "If you were job-hunting in data science or ML engineering right now, and an interviewer asked you 'why does data quality matter more than model architecture for fairness,' what would you say?" Let a couple of students attempt an answer, then sharpen it: architectural choices (which algorithm, how many layers, which hyperparameters) can only optimize how well a model fits the patterns present in its training data — they cannot introduce information that was never in that data, and they cannot know, on their own, which patterns in the data are the ones you actually want the model to learn versus patterns you'd rather it ignore (like a spurious correlation with a protected attribute). That's why data quality and documentation have become their own professional discipline within ML, not just a preprocessing chore.

Frame the session as building toward a real skill: by the end of this lesson, students should be able to reason about a dataset the way a working data scientist or ML engineer does — asking about representativeness, provenance, and documented limitations before ever touching a model.

Run one more calibration question before opening the app: "If a company removes a protected attribute like race or gender from its training data entirely, is the resulting model guaranteed to be unbiased with respect to that attribute?" Most students will initially guess yes — it's an intuitive but incorrect assumption. Hold the answer for now ("no, and we'll see exactly why in a few minutes") — this sets up proxy discrimination as a genuine "aha" rather than a fact just handed to them.

Main Activity

Walk through the lesson's three scenes, using them as a scaffold to introduce the more advanced vocabulary from the age-band summary: representativeness, label accuracy, feature relevance, freshness, and the tools the field uses to document all of it.

Scene 1 — Data Quality ✨. Reframe the four items as named dimensions of dataset quality used in real ML practice:

Scene 2 — Bias in Data ⚖️. Use the three real cases to introduce two more precise fairness concepts beyond what the Hacker-band script covers:

Scene 3 — Fixing Data Problems 🔧. Elevate each item to the professional practice it corresponds to, and introduce the two major real-world documentation standards this age band's summary names:

Return explicitly to the calibration question from the hook: "So — does removing a protected attribute guarantee an unbiased model?" The answer is no, and proxy discrimination is exactly why: correlated features can carry the same information the protected attribute would have carried, so the model can end up statistically discriminating on race, gender, or another protected characteristic without ever seeing it as a labeled field. This is precisely why fairness audits test outcomes across groups rather than just checking which fields were included in training — the presence or absence of a field in the schema tells you very little about whether the resulting predictions are fair.

Close the activity by having students articulate, out loud, the difference between representativeness, label accuracy, feature relevance, and freshness — the four dimensions named in this age band's summary — using one of the three real cases as an example for each.

Discussion

Quiz Walkthrough

Proxy discrimination in ML occurs when... (Proxies are used / Seemingly neutral features correlate with protected attributes and perpetuate bias / Proxy servers fail / Proxy data is used)
Seemingly neutral features correlate with protected attributes and perpetuate bias. A model doesn't need direct access to a protected attribute to discriminate on it — a feature like zip code, which correlates with race due to historical housing patterns, can let the same bias through the back door, exactly as discussed with the loan-bias case.
Concept drift means... (Models drift off course / The statistical relationship between inputs and outputs changes over time / Data drifts between servers / Ideas changing)
The statistical relationship between inputs and outputs changes over time. This is the "freshness" dimension of data quality named in this lesson's summary: a model trained on last year's patterns can become steadily less accurate as the real-world relationship it learned shifts, even though nothing about the deployed model itself has changed.
Intersectional fairness is important because... (Single-axis analysis is sufficient / It's simple / It's trendy / Bias compounds at intersections of protected attributes (race + gender))
Bias compounds at intersections of protected attributes (race + gender). Research on commercial face-analysis systems found error rates were substantially worse for people at the intersection of two attributes (darker-skinned women) than measuring either attribute alone would suggest — a real, documented case for why single-axis fairness checks can miss the worst-affected group entirely.
Datasheets for datasets advocate... (More data / Standardized documentation of dataset characteristics, limitations, and intended uses / Simply deleting all the data / Spreadsheet formatting)
Standardized documentation of dataset characteristics, limitations, and intended uses. The proposal draws a direct analogy to datasheets for electronic components: every dataset should ship with a record of how it was collected, what it does and doesn't cover, and what it's appropriate to be used for — so downstream teams don't have to reverse-engineer that information, or worse, never learn it at all.

Wrap-Up & Extension

Close with: "Everything in this lesson — representativeness, proxy discrimination, intersectional fairness, datasheets, model cards — is current, practiced vocabulary in the AI industry, not classroom-only theory. If you go on to study or work in data science, ML engineering, or AI policy, this is the exact lens you'll be expected to apply before a model ever ships."

Extension activity — draft a real datasheet: Have each student (or pair) pick a hypothetical but specific AI application — a campus attendance face-scanner, a scholarship-recommendation tool, a local hospital triage assistant — and draft a one-page datasheet for its imagined training data, covering: how the data would be collected, which populations it would and wouldn't represent well, at least one plausible proxy-discrimination risk, and one fairness test they'd run before deployment. This is a genuine, portfolio-worthy artifact — the kind of document a working ML team actually produces — and stretches the core 5–15 minute lesson into a full, substantive class period with a tangible output students can keep.

← Lesson overview ← Learning from Mistakes (Architect) Neural Networks (Architect) →