Grande potere, grande responsabilità · Great power, great responsibility

, , ,

Experiment: the Robot’s Laundry Basket (how an AI finds groups on its own)

La Famiglia S.T.O.P. intorno a un letto con i vestiti puliti divisi in tre mucchietti: vestiti blu, calzini colorati e magliette a righe. Il Robottino con il mantello arancione indica i mucchietti tutto fiero, il bambino alza un paio di calzini sorridendo, la ragazza pensa con un dito sul mento, la mamma scrive su un foglio, il papà tiene un cucchiaio di legno con aria perplessa, il nonno osserva il cesto del bucato con la lente e la nonna ride con un libro in mano.

Today we’re doing an experiment with the laundry basket! We’ll discover how an AI can put similar things together even when nobody tells it what the groups are called. This way of working is called clustering, which means “grouping”.

🧒 For Mini Heroes (ages 6-10) · read with a grown-up

Imagine a big basket full of the whole family’s clean clothes: socks, T-shirts, trousers.

Nobody tells the Robot whose clothes they are. Nobody tells it what they are called. It only looks at what it can see: the colour, the size, the patterns.

Then it makes piles of things that look alike: here the blue things, there the small things, over there the striped things.

Some AIs do the same: they find groups of similar things on their own. But the Robot doesn’t know that the small pile holds “the Mini Hero’s socks”. It only knows they are small!

Do you remember the Sorting Robot? There we gave it examples with the right name. Today there are no names: the Robot has to manage by itself. That’s why we are needed afterwards: we look at the piles and decide if they make sense. It’s the P in S.T.O.P.: Pilot decides!

🧑‍🎤 For Young Heroes (ages 11-17)

With the Sorting Robot, the AI learned from examples that already had the right label (“this is a cat”): that’s called supervised learning. Today we look at the other side, unsupervised learning: the data has no labels and the AI has to find a structure on its own.

One example is clustering, a type of machine learning that groups similar items into clusters by looking at their features: colour and size for a piece of clothing, rhythm and energy for a song.

  • K-means: a person chooses k, that is, how many groups to look for. The algorithm starts from k randomly chosen points, the centroids (a point that represents each group), assigns each data point to a group so that the data stays as close as possible to its centre, then moves the centroids and repeats until the groups stop changing (or until it reaches the maximum number of repetitions).
  • Different starts, different groups: the technical documentation explains that the starting point can change the result a lot and recommends trying several times.
  • Groups without names: if the data has no labels, the algorithm creates groups that represent possible categories, based only on the data. Sometimes they turn out badly: a free beginners’ course imagines groups such as “round music things”, “square music things”, “triangular things” and… “cookies”!
  • Anomalies (outliers): data points far from every group. Finding them is useful, for example, to spot possible fraud among credit card payments.

Where it’s used: for market segmentation (for example, which age groups buy which products), to find unusual data, to group documents or search results. But watch out: when the data is about people, a group is just a set of similar data, not a label on who you are (remember the Robot’s Labels?).

👨‍👩‍👧 For Super Parents & Grandparents

Clustering is one of the ways an AI brings order to lots of data without anyone giving it the right answers. Technical sources point out that the groups depend on the starting choices (how many groups to look for, where to begin) and that they can sometimes be of poor quality. A free beginners’ course uses an example straight from home: clustering is like sorting a pile of laundry into each family member’s clothes, or tidying a sock drawer.

📌 Takeaway: a group created by an AI is a hypothesis built from data, not the truth. When something is decided “by groups”, ask yourselves: based on which data? Does it make sense for us?

Remember: in Italy, children under 14 need the consent of whoever has parental responsibility to access artificial intelligence technologies (Law 132/2025, Article 4, paragraph 4). Today’s experiment is screen-free, though: all you need is the laundry basket!

🧪 Experiment: the Robot’s Laundry Basket

Age: 6+, with a grown-up · Time: about 15 minutes · Players: 2 or more (one grown-up and one child are enough; a bigger group can play in teams) · You need: 12 clean clothes from the laundry basket or the wardrobe (socks, T-shirts, trousers, hats…) of different colours, sizes and patterns; one “odd one out” object that is not clothing (for example a wooden spoon or a soft toy); a sheet of paper and a pencil.

  1. The prediction. Before you start, everyone answers this question: “Is there only one right way to sort these clothes into 3 piles?” Yes or no? The grown-up writes the answers on the sheet.
  2. The grown-up mixes the 12 clothes on the bed or on the table. Golden rule: nobody says whose they are or what the groups are called.
  3. Round one. The first player is the Robot: they sort the clothes into 3 piles of things that look alike, without saying their rule. We chose the number 3 ourselves: with some AIs, too, people decide how many groups to look for.
  4. The others try to guess the secret rule (colour? size? patterns?). Whoever guesses it gets 1 point. The grown-up writes the rule on the sheet.
  5. Round two. Mix again. The next player makes 3 piles with a different rule (with two players, it’s the grown-up’s turn; in a bigger group, play more rounds until everyone has been the Robot). The others guess, as before.
  6. The comparison. Same clothes, different piles! Were they all right? Yes: nobody had said which groups were the right ones. So was there only one right way? No! Look at the prediction on the sheet: who guessed right?
  7. The names. Give a name to each pile from the last round (for example “blue things” or “grown-ups’ things”). The Robot only made the piles: we found the names and the meaning.
  8. The odd one out. The grown-up puts the object that is not clothing on the bed. Which pile does it go in? None! For an AI it is a “strange” data point, far from every group: it’s called an anomaly.
  9. The end. Count the points and put the clothes away all together… maybe in piles!

💡 Moral: an AI can find groups of similar things on its own, but it doesn’t know what they mean. We are the ones who look at them, give them a name and decide if they are useful. Pilot decides!

🔍 Mini challenge

Ages 14+, or together with a grown-up. Write these 12 words on a sheet of paper: apple, dog, red, banana, cat, blue, pear, horse, green, grapes, fish, yellow. First sort them into 3 groups yourselves. Then ask an AI chat: “Sort these 12 words into 3 groups and explain the rule.” Are the groups the same as yours? Ask the same thing a second time: does anything change? Note: a chat writes an answer in words and doesn’t necessarily do clustering like k-means, but it helps you see that the same things can be grouped in different ways. Never type personal data.

📚 Sources


Discover more from AI Hero Lab Family

Subscribe to get the latest posts sent to your email.

🚦 Ricorda il S.T.O.P. Sai cosa stai chiedendo? · Trova una conferma · Occhio ai dati · Pensa tu l’ultima parola.
🚦 Remember S.T.O.P. Say exactly what you need · Test it with another source · Our data stays private · Pilot decides.