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

, , ,

True or false: how sure is the AI? (the confidence score)

Illustrazione a fumetti della Famiglia S.T.O.P. che gioca a Vero o falso in salotto. Il bambino alza un cartello azzurro con le braccia in alto, la ragazza è accovacciata con un cartello arancione e l’aria pensierosa, il papà è in piedi con un cartello azzurro, la mamma disegna stelline su un foglio, il nonno guarda un cartoncino con la lente d’ingrandimento, la nonna legge da un libro e il Robottino con il mantello arancione tiene un grande termometro a tre colori.

When an AI recognises what is in a photo, it often doesn’t just give an answer: it also says how sure it is. This number is called a confidence score. Today we play true or false to find out what it is for, who decides when it is high enough, and why “sure” doesn’t always mean “right”.

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

Look at a cloud. Sometimes you say: “It looks like a dragon… maybe.” Other times you are super sure: “That’s a sheep!”

Some AIs do the same. The Robot looks at a photo of a house and says: “There’s grass here: I’m super sure!” Then it says: “There’s a tree there: I’m sure, but a bit less.” It says how sure it is with a number: the confidence score.

The people who build the Robot draw a line on its thermometer: it’s called the threshold. If the Robot is sure above the line, its answer is used. If it is below the line, the answer goes to a person, who checks it.

But watch out: being sure doesn’t mean being right! Sometimes you are super sure too… and then you find out you were wrong. It happens to the Robot as well. That’s why people check its work.

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

Some AI systems that analyse images return a confidence score together with each answer. The documentation of an image analysis service shows an example: for a photo of a house, the tag “grass” has a confidence of about 0.996, that is 99.6%, while “tree” has about 0.911, that is 91.1%.

The same documentation explains that you can set a minimum threshold: for example, if the caption generated for a photo scores below the threshold, it is forwarded to someone for further review. That way a person is part of the process (this is called human in the loop).

In another service, which lets you build your own image classifier, the threshold starts at 50% and can be set between 0% and 100%: it should be chosen according to the needs of the project. This is where two measures come in:

  • precision: how many of the answers given are right. Example from the documentation: if the model labels 100 images as “dog” and 99 of them really are dogs, the precision is 99%;
  • recall: how many of the things to be found were actually found. Example: if there are 100 images of apples and the model recognises 80 of them, the recall is 80%.

The trade-off: with a high threshold the answers given tend to be right (high precision), but many things go undetected (lower recall). With a low threshold almost everything is found, but there are more false positives. Sound familiar? In Monday’s Robot’s Sieve there was also a balance to find between false alarms and sentences that slipped through.

There is no threshold that is right for everyone. The documentation explains that a photo-sharing app may prefer high precision, because wrong tags would give wrong search results; an insurance claims application, on the other hand, may prefer high recall so as not to miss information, with a person flagging the wrong tags.

👨‍👩‍👧 For Super Parents & Grandparents

The key message: a very sure AI is not necessarily an AI that is right. The confidence score is useful precisely because it helps decide when a person needs to check.

Technical guides advise the people who build these systems to test them first with data checked and tagged by people (the so-called “ground truth”), in the context where they will be used and with the people who will use them, and to set up a channel to collect feedback from those who rely on the results.

💡 Takeaway: when a technology gives you an answer that sounds super sure, ask yourselves: “What if it’s wrong? Who would notice?” That’s the T in S.T.O.P.: Test it with another source.

Remember: in Italy, for children under 14, access to artificial intelligence technologies requires the consent of whoever holds parental responsibility (Law 132/2025, art. 4, paragraph 4). Today’s game is screen-free.

✅❌ Sure or not sure? The Confidence Thermometer

Age: 6+, with a grown-up · Time: about 15-20 minutes · Players: 2 or more (one grown-up reads and keeps the stars, the others play; with many players you can also play in teams) · You need: this post read aloud, two sheets of paper and a marker for each player or team, a sheet of paper and a pencil for the stars

  1. Make the signs: each player (or team) draws a big ✅ on one sheet and a big ❌ on the other.
  2. The grown-up explains the Confidence Thermometer, which you make with your body: crouching = “Maybe…” (1 star); standing = “Quite sure” (2 stars); standing with arms up = “Super sure!” (3 stars). Anyone who prefers to stay seated shows 1, 2 or 3 fingers.
  3. The grown-up reads a statement. The players think, then on “3, 2, 1… go!” they hold up the ✅ (true) or ❌ (false) sign and take their thermometer position.
  4. The grown-up reads the solution. Right answer: as many stars as the steps chosen (1, 2 or 3). Wrong answer: zero stars, no penalty.
  5. From statement 4 the Threshold comes into play: anyone who feels “Maybe…” can say “Check!” instead of answering. They get 1 safe star, like an AI that passes an uncertain answer to a person.
  6. After statement 6, count the stars. In teams, the team with the most stars wins; with two people, the goal is to reach at least 10 stars (the maximum is 18).
  7. Talk about it together: was anyone “Super sure!” and wrong? When was it useful to say “Check!”?

The 6 statements

  1. Some AIs, when they recognise things in a photo, also say with a number how sure they are.
  2. The AI chooses the threshold by itself, however it likes.
  3. If we raise the threshold really high, the AI finds everything and is never wrong.
  4. If the AI is not very sure, its answer can be sent to a person who checks it.
  5. Even “sure” answers, the ones above the threshold, can be wrong.
  6. The right threshold is the same for every app.

Solutions for the grown-up

  • 1 · ✅ True. It’s called a confidence score. In an official example, for a photo of a house the AI gives the grass a confidence of 99.6% and the tree 91.1%.
  • 2 · ❌ False. The people who build the system choose it, based on what they need. In an image recognition service it starts at 50% and can be moved between 0% and 100%.
  • 3 · ❌ False. With a high threshold the answers given are usually right, but lots of things go undetected. With a low threshold almost everything is found, but there are more false alarms.
  • 4 · ✅ True. The documentation gives the example of photo captions: if the confidence is below the threshold, the caption is sent to someone who reviews it.
  • 5 · ✅ True. If a model says “dog” for 100 images and 99 are real dogs, one answer was wrong: the precision is 99%, not 100%.
  • 6 · ❌ False. It depends on the use: a photo search app prefers right tags, even if it finds fewer; an insurance claims application prefers not to miss anything, and then a person flags the wrong tags.

💡 Moral: being sure doesn’t mean being right, for us or for AI. The confidence score helps us understand when a person needs to check.

🔍 Mini challenge

For Young Heroes, with pencil and paper. A basket holds 20 pieces of fruit and 10 are apples. The Robot says “apple!” for 8 pieces of fruit, but only 6 really are apples. Work out the precision (how many of its “apple” answers are right) and the recall (how many of the 10 apples it found). Then the Robot becomes more careful, as with a higher threshold: it says “apple!” for only 4 pieces of fruit, and they are all apples. What happens to precision and recall?

Solution: first, precision 6 out of 8 = 75% and recall 6 out of 10 = 60%; then precision 4 out of 4 = 100% and recall 4 out of 10 = 40%. More caution, more right answers… but fewer apples found.

📚 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.