Label

The answer a person attaches to data ahead of time

Key points
  • A label is the answer a person attaches to material ahead of time. It's the single word "cat" written beside a photo.
  • A label is what makes grading possible. Checking the model's answer against the attached answer is the only way to know how much to correct.
  • A label sits in a different spot from a feature. A feature is what the AI looks at to judge; a label is the answer a person decided on beforehand.
  • Get a label wrong and the training goes wrong too. A mistaken answer teaches the model something false.
  • Attaching labels takes a lot of human hours, which makes it expensive. That's part of why methods that learn without labels get used too.
Contents

1The analogy

Flip through an old photo album and plenty of pictures give no clue, from the front, of when or where they were taken. Turn the photo over, though, and there's a line written in pencil: "Spring 1998, in the yard." Someone organizing the album wrote it down so a later viewer could tell. That line is a label.

The front and the back are completely different kinds of things. The front is what's visible; the back is a fact someone already knew, written down. No amount of staring at the photo itself will make the year it was taken reveal itself.

That's why a photo with nothing on the back is hard to use when sorting an album. And if a photo with the wrong thing written on the back gets mixed in, trusting it throws off the whole album built around it.

2In detail

A person attaches the label

A label isn't a value already sitting inside the material. A photo file contains only pixels — the word "cat" doesn't appear anywhere in it. A person looked at the photo, made a judgment, and wrote it down alongside.

That means making labels is work that eats a person's time directly. Naming ten thousand photos means looking at ten thousand photos and writing ten thousand words down. A task that also has to mark where an object sits can take several minutes per photo.

What gets chosen as the answer depends on the goal. The same photo could get labeled "cat," or "indoors," or "bright." A label isn't a property of the material — it carries the problem being solved.

Grading is only possible once there's a label

Training is grading, done over and over. The model looks at the material and gives an answer; that answer gets checked against the label sitting next to it. If it's wrong, the size of the error gets measured, and the numbers inside the model get nudged by that much. Repeat that countless times and skill builds up.

Without a label, none of that grading can happen. There's no way to know whether the answer was right or wrong, so there's no way to know which direction to correct. That's exactly why training on labeled material is called supervised learning.

Features and labels sit in different spots

Picture one record as a row in a table: the earlier columns are features, and the last column is the label. A feature is what the model looks at; a label is what the model has to guess correctly. The two have to be paired up before any of it can go into training.

Once a model is actually being used, though, there's no label. A new photo arrives with only features attached, and figuring out the answer is the model's job. Labels are only needed while teaching and while measuring skill.

That's why a value that can only be filled in once you already know the answer must never end up mixed into the features. Test scores look great, but the model turns out useless in practice, because that value can't actually be had out in the real world.

Get the label wrong and the training goes wrong

A model never questions the label attached to it. If someone accidentally writes "cat" on a photo of a dog, the model learns it exactly that way. Even a small percentage of wrong answers mixed in can drag performance down noticeably, and it's hard to trace what caused it.

Plenty of cases are wrong simply because they're genuinely ambiguous. Something like "is this review positive or negative" gets judged differently from person to person. That's why teams write the standard down as a document beforehand and have several people label the same material to check how well their judgments line up. A low agreement rate is a sign the standard needs fixing, not the material.

There's also a path that learns without labels

Since attaching labels is so expensive, several ways to cut that cost have emerged. One groups unlabeled material by similarity to itself. Another combines a small pile of labeled material with a much larger pile that isn't labeled at all.

The approach today's language models lean on is close to this too. Instead of a person writing down the answer, part of a passage gets hidden and the model has to guess what belongs there. The text that was already there does the job of an answer, so no human hours are spent. Even then, the final stage of polishing a model to match human taste still needs a person's judgment attached.

3More precisely

A label is the target value tied to a single sample. In a classification problem it's one of a fixed set of candidates; in a regression problem it's a single number. Sometimes several labels attach to one sample, and sometimes the label is a set of coordinates, like the box marking where an object sits. This collection of answers used as the benchmark for measuring skill is also called ground truth. If the answers aren't spread evenly across the material and pile up heavily on one side, a model can score high just by guessing the majority every time, which gives a false read on how skilled it actually is.

The analogy breaks down in one place. A note on the back of a photo records a fact about that photo, but a label used in training is closer to an agreement people made to call it that than a fact. Where the line for "cat" gets drawn, and which side a blurry photo falls on, is a call made by whoever sets the standard. That means a label carries the perspective of whoever attached it, baked right in, and if that perspective leans one way, the model ends up leaning the same way.

4Try it yourself

5Common misconceptions

  • It's easy to think a label is something already sitting inside the material, but actually a person looked at it, made a judgment, and attached it afterward.

  • It's easy to think a label is always one clear, obvious answer, but actually plenty of material has people disagreeing on the judgment, and the standard needs to be set first.

  • It's easy to think a label is always required to use AI, but actually learning without labels, or pulling the answer straight out of the material itself, is widely used too.

7One-line summary

In shortA label is the answer a person attaches to material ahead of time, and having that answer is what lets a model's output get graded and corrected.

Spotted an error or have a better analogy? Suggest an edit · Last updated2026-09-02