Pseudo-labeling and weak labels explained
When cheaper labels that say less are good enough, how to grow a dataset from a model's own predictions with a confidence threshold, and why unchecked pseudo-labels make a model's mistakes worse.
Weak labels and pseudo-labels are two ways to label images without paying a person to draw every label exactly. A weak label is cheaper and says less than the label the task really needs. A pseudo-label is made by a model instead of a person. Both help when exact labels for every image would cost too much, and both bring mistakes that a team has to watch for.
What a weak label is
The output a task asks for sets how much each label has to say. A task that finds objects wants a box around each one. A task that outlines objects wants a mask, which marks exactly which pixels belong to each object.
A weak label carries less information than the task's real output and costs far less to make. If the task wants boxes and only image tags are affordable, the tags are weak labels for finding objects. A tag such as "dog" says a dog is somewhere in the photo without saying where. A model trained on tags can learn roughly where objects are, with less precision than a model trained on boxes.
If the task wants masks, a box is a weak label. It bounds the object without saying which pixels inside the box belong to it.

When weak labels help
Weak labels are useful in two situations. They get a first model trained cheaply, before exact labels exist. They also cover far more images than exact labeling could afford.
If the gap between the weak label and the real target is too large, the model cannot close it. Image tags will not teach exact boundaries, however many images get tagged. So match how weak the label is to what the task can tolerate. A model that only has to point at roughly the right region can learn from tags, and a model that has to trace an outline needs boxes or masks.

What a pseudo-label is
A pseudo-label is a label made by running an existing model over unlabeled images and keeping its predictions as if a person had drawn them.
This grows a dataset quickly. The steps are:
- Label a small set of images by hand.
- Train a model on that set.
- Run the model on a large pool of unlabeled images.
- Add its most confident predictions to the training set as labels.
The model trained on the hand-labeled set now has many more labeled images to learn from, and only the small first set cost human time.

The confidence threshold
A classifier outputs a probability for each class, and its confidence is the probability it gives its top class. Pseudo-labeling keeps a prediction only if that confidence clears a threshold. Predictions below the threshold are thrown away and those images stay unlabeled.
For example, run the current model over 100,000 unlabeled images and try two thresholds:
- At 0.95, about 22,000 images pass. Spot checks show roughly 3 percent of them are wrong, which is about 660 wrong labels.
- At 0.80, about 61,000 images pass. About 12 percent of them are wrong, which is about 7,300 wrong labels.
A lower threshold gives more labels with more mistakes in them. The 0.95 set adds 22,000 mostly correct examples. The 0.80 set adds 61,000, and enough of them are wrong to teach the model its own mistakes.

Why pseudo-labels repeat the model's mistakes
Where the model is weak, its pseudo-labels are wrong. Training on them makes the weakness worse, because the model now sees its own mistakes presented as correct labels. Pseudo-labels tend to make a model more confident on the cases it gets wrong without making it more correct on them.
So inspect, correct or filter pseudo-labels before using them. Adding them unchecked feeds the model's mistakes back into its own training data.

When to use which
- Weak labels fit when the task can live with less precise output, or when you need a first model before exact labels exist.
- Pseudo-labels fit when you have a small hand-labeled set, a model trained on it and a large pool of unlabeled images from the same kind of source.
- Exact labels are still needed where the output has to be precise, such as exact object edges.
Common mistakes
- Expecting exact edges from image tags. The model cannot learn detail the labels never contained.
- Lowering the threshold to get more labels without spot checks. Count how many of the new labels are wrong before training on them.
- Adding pseudo-labels unchecked. The classes the model already gets wrong are where its pseudo-labels are wrong too.
Related concepts
Pseudo-labels are one more source of label noise, alongside the mistakes people make while annotating. Image annotation: label taxonomies, annotator agreement, and label noise covers how wrong labels affect training and cap a test score. The label types themselves, from one tag per image to boxes and masks, are laid out in vision tasks and label types.
QuiddityML teaches weak labels and pseudo-labels in the vision data unit of its Computer Vision track. Its exercises ask what a box leaves out when the task wants masks and what changes when the pseudo-label threshold drops from 0.95 to 0.80 (QuiddityML).