AI 101 — What is supervised learning?

Share
AI 101 — What is supervised learning?

Supervised learning is teaching a model from labelled examples: you show it thousands of inputs, each paired with the correct answer, and it works out the rule that turns one into the other. The label is the whole trick. Nobody writes the rule down — the model infers it from enough answer keys.

That is worth stating plainly because the phrase sounds more mysterious than it is. A supervised model is a student with a stack of past exam papers, each with the marking already done. It reads the questions and the marks, notices patterns, and then sits a new paper it has never seen. Everything else in the field — the maths, the hardware, the vocabulary — is scaffolding around that one arrangement of data.

Why it matters right now

Most AI quietly doing a job in the world is supervised. The fraud score that decides whether your card payment goes through, the spam filter, the model that flags a possible tumour on a scan, the speech recogniser turning your voice into text, the system that reads handwriting on a delivery label: all trained on examples where a human already recorded the right answer. Wherever the output is a fixed category, a number or a yes/no, supervised learning is the default tool.

It is also the last step of every chatbot you use. Large language models are not trained on labels at first — they learn by predicting the next word in ordinary text, where the text supplies its own answer. But the part that turns a raw next-word predictor into something that follows instructions is supervised fine-tuning, usually shortened to SFT: a smaller set of human-written example questions and ideal answers. In most model reports, SFT is listed alongside reinforcement learning as the finishing work, and it is the same machinery described here. The reward models that score chatbot answers are also trained on labelled human preferences.

The label supply chain is an industry of its own, because supervised learning is only as good as the answers it is fed — we explain the work in What is data labeling?.

The mental model, in one paragraph

Picture the model as a very flexible function with millions of adjustable dials. For each training example it produces a guess, a loss function measures how far the guess sits from the label, and an optimiser nudges every dial a little in the direction that would have made the guess better. Do that a few billion times and the dials settle into a setting that maps inputs to answers. Two bets are baked in. One, that the pattern it found in your examples also holds for inputs it has never seen — generalisation. Two, that your labels describe what you actually want. Both bets fail regularly, and both failures are predictable: a model trained only on photos of black labradors will confidently mislabel a chihuahua, which is the overfitting problem in What is overfitting?.

The flashcard analogy

Teaching a toddler animals with picture cards is supervised learning. You hold up a card, say "dog", and repeat. Nobody hands the child a definition of dogness; the child builds one from hundreds of labelled pictures, including the ones you correct. Then comes the real test: a dog the child has never seen. If it says "dog" again, the learning generalised. If it calls the neighbour's chihuahua a cat, it learned the wrong thing from a narrow set of examples — good training accuracy, useless in the world.

The analogy also shows where supervised learning runs out. You can teach a child to name animals with cards. You cannot teach a child to ride a bicycle by showing labelled photos of people riding bicycles — there is no single right answer to write on the back of the card, because every wobble is part of one long sequence of decisions. That is the gap reinforcement learning fills, by rewarding outcomes instead of labelling inputs: What is reinforcement learning? covers that side.

Common misconceptions

"Supervised means a person watches the model train." No. The supervision happened earlier, when someone labelled the data. Training itself runs unattended for days; the humans were there at the start, marking answers.

"LLMs are unsupervised, so labels don't matter any more." Pretraining is self-supervised — the text labels itself. The behaviour you actually experience comes from supervised and preference data layered on top. Strip the SFT stage out and you get a model that continues documents beautifully and ignores your question.

"More labelled data is always better." Quality sets a ceiling. A model trained on a million sloppy labels learns the sloppiness, and no amount of extra data fixes a label that was wrong to begin with. Small, carefully checked sets routinely beat large noisy ones — which is why data work, not model architecture, is where most enterprise AI projects stall.

"It's the old approach nobody uses." It is the approach behind nearly every classifier in production, and it remains the only practical way to give a model a behaviour you can demonstrate but not describe.

Where to learn more

The clearest demonstration of why this approach took over is still the 2012 ImageNet contest: a neural network trained on 1.2 million labelled images reached a 15.3% top-5 error rate against 26.2% for the runner-up, as the authors reported in the paper. Stanford's CS229 notes and the scikit-learn user guide are the standard free starting points if you want the maths. If your interest is practical rather than theoretical, the sibling explainer on What is fine-tuning? is the supervised-learning workflow you would actually run on a model you already have.

Have a question about how a model you rely on was actually trained? Write to us via our contact page.

Get SiliconNoon in your inbox

One email a day with the AI stories that matter — what happened, the numbers, and why it matters. No spam, unsubscribe in one click.

Read more

AI 101 — What is gradient descent?

AI 101 — What is gradient descent?

Gradient descent is the loop almost every AI model runs to get better: measure how wrong its answers are, work out which direction would make the error smaller, and nudge every one of its numbers a little that way. Then do it again — millions of times. That is the whole idea. It is older than the computer, it fits on a napkin, and it is still what happens inside a training run that costs tens of millions of dollars and burns through a power station's worth of electricity. Why it matters…

AI 101 — What is a reasoning model?

AI 101 — What is a reasoning model?

A reasoning model is a language model trained — usually with reinforcement learning — to write a long chain of thought before it answers, so it can spend more computation on a hard problem instead of firing back the most likely next sentence. The label arrived with OpenAI's o1 in September 2024. Before it, a chatbot answered in one pass: read the question, predict the reply token by token. o1 added a visible delay and a trail of working behind the answer.

AI 101 — What is GRPO (group relative policy optimization)?

AI 101 — What is GRPO (group relative policy optimization)?

GRPO is the reinforcement-learning method behind most open reasoning models: instead of training a second neural network to judge how good each answer is, it has the model answer the same question many times and rewards whichever answers beat the group's own average. The name is an initialism nobody says out loud — group relative policy optimization — but the idea fits in a sentence, and once you have it a lot of recent AI news stops sounding like alchemy.

AI 101 — What is model collapse?

AI 101 — What is model collapse?

Model collapse is what happens to a generative AI model that learns mostly from other AI models: it slowly stops representing the full range of real data, and the loss is not recoverable by training longer. That is the plain version. The precise version, from the 2024 study that named the effect, is that "indiscriminate use of model-generated content in training causes irreversible defects in the resulting models, in which tails of the original content distribution disappear" — published in…