Artificial Intelligence Curriculum for Primary and Secondary Schools

AI in Computer Science in Elementary Schools

Hoo and Ray Go Shopping

Bias in Computer Vision
Lesson 07

Bias

For robots to understand what they’re looking at, we have to show them lots and lots of things – and give those things names. But if we show robots poor examples or too few of them, they can get confused. This time, the children are headed for an adventure in the supermarket!

Lesson Overview

The lesson begins with a story in which the robots Hoo and Ray go shopping with the task of bringing back apples and pineapples. Even though they have expert books full of information, they’re unable to find the fruit — because they expect to be looking for apple trees or a bush full of pineapples. The teacher leads a discussion about how people form mental models based on varied experiences and examples, whereas machines learn only from the data we give them. Children reflect on the many different forms an apple or pineapple can take — and how it might be difficult to recognize them if a model wasn’t trained on a diverse enough image set. In a hands-on activity, students train their own machine learning model using Teachable Machine — they prepare a training set and then test how well their model recognizes different objects. This is followed by a discussion about how bias arises and how it can affect AI system decisions — for example, in facial recognition or recommendation algorithms. The lesson ends with a reflection, where students share their insights and discuss how machine learning models could be improved by providing higher-quality and more diverse data.

Lesson Overview

Recommended Age, Lesson Length

Children aged 8-11, 45—90 minutes.

Tools

Teacher: Projector and screen or presentation device, camera.
Students: Supplies for creative work, group activity materials.

Building Blocks

Bias.

What Are the Students Learning?

If we provide a system with poor data, it will learn to recognize things incorrectly — just like a human would.

Why Are They Learning This?

To help students critically evaluate how AI systems work, based on an understanding of bias.

How Do We Know They Have Learned It?

Students prepare data to train a machine learning model and then test whether the model can correctly recognize different things using that data.

Digital Competence

Communication and Collaboration.

Bloom's Taxonomy

Applying: Students prepare data to train a machine learning model.
Analyzing: Students analyze the quality and variety of the training data and how it affects model accuracy.
Evaluating: Students evaluate how well the machine learning model performs.

Five Big Ideas

2-A-IV Representation (Feature vectors).
2-C-II Reasoning (Reasoning algorithms).
3-A-VI Nature of Learning (Learning from experience).
3-C-III Datasets (Bias).

Teaching Material​

Version: 03
Number of recorded pilot tests: 02
Last update: 01/2025

Created by: Bára Karpíšková
Concept: Eva Nečasová
Expert guarantors: Cyril Brom, Zbyněk Filipi, Tomáš Mlynář, Pavel Kordík
Artistic design: Jindra Janíček