Nobody gives a toddler a rule for what a dog is. They see a big dog, a small dog, a fluffy one, a spotty one, and each time a grown-up says 'dog'. After enough of them, the toddler spots dogs they have never seen. Many kinds of artificial intelligence, or AI, learn in a similar way.
A normal computer program is a list of steps that a person wrote: do this, then that. It does exactly what it is told. Writing steps for 'is this a dog?' would be nearly impossible, because dogs come in so many shapes.
So instead, people show the computer a huge number of examples. For photos, that might be a million pictures, each marked 'dog' or 'not a dog'. The program makes a guess. If it is wrong, it adjusts a huge number of tiny settings inside itself a little bit. Then it tries again. After doing this a very large number of times, it gets good at guessing. This is called machine learning, and the practice run is called training.
The chatbots many people have met learn in a similar way, but from text. They read enormous amounts of writing and learn which words tend to follow which. That is how they can write sentences that sound natural.
What is AI good at?
- Spotting patterns in lots of data, such as faces, speech or spam.
- Doing a narrow job very fast and without getting tired.
- Suggesting things, such as the next word, or a song you might like.
And where does it go wrong?
- It can be confidently wrong. It makes a guess, and does not know it is a guess.
- It copies what is in its examples, including mistakes and unfair patterns.
- It does not understand the world the way a person does, even when it sounds as if it does.
That is why people still check important answers, and why the examples chosen for training matter.
Picture it
Picture teaching a puppy a trick with treats. You never explain the trick in words. You reward the right move, ignore the wrong one, and the puppy slowly works out what you want. A learning program is trained with something like rewards and corrections, on a much bigger scale.
Words you might hear
- Machine learning
- a way of making programs that learn patterns from examples
- Training
- the practice stage where a program learns from examples and gets corrected
- Model
- the trained program that has learned the patterns
One step further
The phrase 'artificial intelligence' was used for a research workshop at Dartmouth College in 1956, and the field has gone through periods of excitement and disappointment since. Older systems used hand-written rules. Today's best-known systems use neural networks, which are layers of simple maths units whose strengths are tuned during training. They are called neural because the idea was loosely inspired by brain cells, but they work very differently. What these systems can and cannot do keeps changing, so it is worth checking recent, reliable sources.
Next questions
- What is an algorithm?
A list of clear steps, done in order, that gets a job done every time.
- How does the internet work?
Millions of computers joined by cables and radio waves, passing tiny pieces of messages to each other until they arrive.
- How does memory work?
Memory is your brain saving what happened, keeping it, and finding it again later, and it works best with repeats, sleep and meaning.
- What is encryption?
Scrambling a message with a secret rule so that only someone who knows the rule can unscramble and read it.
Sources
Questions
Does AI think like a person?
No. It finds patterns in data and produces likely answers. It has no body, no feelings and no life experience. It can sound like a person because it learned from what people wrote.
Why does AI sometimes make things up?
A text model predicts what words are likely to come next, not whether they are true. When it lacks the knowledge, it can still produce something that sounds right. Checking important facts yourself is wise.
Is AI the same as a robot?
No. AI is a kind of software, and a robot is a machine. A robot can use AI as its brain, but most AI, such as a spam filter or a chatbot, has no body at all.




