VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Artificial Intelligence AI Works | How AI Learns From a Few Labelled Examples

Did you know? Teaching a computer to recognise an image can require examples labelled by people. Preparing labels takes time, particularly when a trained expert must examine each item. Yet there may be hundreds of additional photographs with no verified labels. Semi-supervised learning is one way to make responsible use of both kinds of data.

Quick answer: Begin with verified labelled examples, learn cautiously from relevant unlabelled examples, and evaluate on an independent labelled test. Some techniques create tentative pseudo-labels; others use relationships among examples. An extra million unlabelled images cannot turn an incorrect assumption into a fact.

Imagine a student with ten mathematics problems and carefully checked answers, plus hundreds of questions without answer keys. Noticing similarities may be useful, but guessing an answer and then studying the guess as though it were correct can reinforce a misconception. That is the challenge of semi-supervised AI.

Semi-supervised learning in 30 seconds

  • Labelled example: an input with a verified target for the task, such as a photograph identified as an apple.
  • Unlabelled example: an input without the answer needed for the task.
  • Semi-supervised learning: training that uses both labelled and unlabelled material.
  • Pseudo-label: a tentative model-predicted target, not a human-verified fact.
  • Self-training: using selected model predictions to enlarge training material.
  • Label propagation: spreading label information through suitable data relationships.

These techniques are not identical to self-supervised learning, which can create training targets directly from data, for example by hiding a word and predicting it. One broad AI workflow can use more than one of these approaches at different stages.

Step 1: Decide what needs to be labelled

Suppose a fictional school library has 100 pictures of fruit. A teacher has checked ten: five apples and five oranges. The other ninety have no verified category.

A supervised baseline could train only on the ten known pictures. However, ten examples may not cover different lighting, backgrounds or unusual shapes. It may fail on a yellowish apple or an orange photographed from an unfamiliar angle.

A semi-supervised method can explore the extra ninety images to learn something about the input distribution. But if several are actually pears, a method restricted to apples and oranges may force them into a wrong category. That is why data scope is important from the beginning.

Step 2: Begin with a trustworthy small labelled set

Define each category before training. Choose representative examples and check disputed cases with an appropriate reviewer. Accurate labels and diverse conditions matter more than a beautifully formatted spreadsheet.

Reserve separate validation and test examples. If developers repeatedly consult the final test cases to select their training approach, they lose an honest independent assessment.

A useful starting model does not have to be elaborate. Compare later methods against the supervised-only baseline, so any extra complexity must earn its place by demonstrating better performance.

Step 3: Use a model to propose pseudo-labels

In self-training, a model trained on verified cases predicts labels for examples that have no labels. It may propose “apple” for one picture and “orange” for another.

Some workflows select only predictions that meet a confidence criterion and add those tentative labels to a later training round. But the confidence score must be interpreted carefully. A model can be overconfident on a blurred photo or a fruit variety not represented in its original classes.

A score of 0.95 is not an automatic certificate that the label is true. Its meaning depends on the model and calibration. The pseudo-label remains an estimate.

Step 4: Understand how mistaken guesses spread

Imagine the first model incorrectly predicts that a pear is an apple. The next training round treats this guessed category as part of its material. If nothing checks the mistake, the model may learn to predict “apple” for similar pears even more strongly.

This is one form of confirmation bias in self-training. Predictions influence later training, so the system may reinforce an early error rather than correct it.

It helps to keep verified and pseudo-labelled records explicitly distinguishable, test alternative thresholds and review difficult or unfamiliar examples. Sometimes the right action is to request a new human label rather than confidently guessing.

Step 5: How label propagation uses similarities

Another family of semi-supervised methods examines how examples relate to one another. Suppose images form meaningful groups based on suitable visual features. A group containing several verified apples may provide information about nearby unlabelled images.

Label propagation and related techniques can spread category information across a similarity graph under mathematical assumptions. The scikit-learn semi-supervised learning guide introduces self-training, label propagation and label spreading.

Those assumptions can fail. A pear may look similar to an apple; two different categories can be connected by background colour rather than their actual defining features. Closeness in a model representation is useful evidence, not a final answer key.

Step 6: Why the amount of unlabelled data is not enough

Extra material must reflect the intended application. If a classifier is designed for photographs taken in ordinary classrooms, an enormous collection of unrelated synthetic cartoons may add little useful information.

Duplicates can also distort a model’s view. Thousands of copies of nearly the same picture are not equivalent to thousands of independent situations.

Sources, rights, privacy and data handling remain important. Unlabelled images are not automatically free to collect, share or train on, especially when they include identifiable people or private documents.

Step 7: Compare with active learning

Active learning asks which examples would be most valuable to have a person label next. A system might select ambiguous photographs for human review to make better use of a limited labelling budget.

Semi-supervised learning instead uses unlabelled examples as part of its training procedure, sometimes without obtaining a human label for each one. These approaches can complement one another.

For example, use trustworthy labels for a baseline, explore the unlabelled dataset, and ask an expert to check selected difficult cases. A human review is particularly valuable when a wrong label could have important consequences.

Step 8: Measure the benefit on new examples

Only an independent labelled evaluation can establish whether the method helped. Suppose an invented test contains 50 verified images. The baseline predicts 38 correctly; the semi-supervised model predicts 42 correctly.

Their observed accuracies are 38 ÷ 50 = 76% and 42 ÷ 50 = 84%. This fictional example shows a possible improvement, not a result that should be expected from every semi-supervised system.

Look beyond the overall score. Did the new model improve on difficult lighting? Did it become worse at recognising uncommon fruit? Are its errors important for the planned use? One average can hide harmful weaknesses.

A classroom thought experiment

Draw ten fruit shapes on paper. Label two apples and two oranges, leaving six without labels. Ask a friend to use the labelled shapes and similarities to guess the unlabelled ones.

Now draw a pear that strongly resembles an apple. Ask whether your friend should simply force the pear into the apple category or mark it as uncertain and seek a verified label.

This is a paper illustration rather than a machine-learning implementation. It teaches an important distinction: a plausible match can be useful for investigating a data point, yet remain wrong as a categorical claim.

Common mistakes

  • Treating model guesses as ground truth. Pseudo-labels remain provisional unless verified.
  • Assuming every unlabelled example helps. A poor fit to the task can degrade results.
  • Ignoring unfamiliar categories. A model may force out-of-scope items into its existing classes.
  • Confusing self-supervised and semi-supervised methods. They refer to related but different training ideas.
  • Measuring only training accuracy. Generalisation requires independent, representative testing.
  • Forgetting privacy. A record does not stop being sensitive because no class label was attached.

Frequently asked questions

What is semi-supervised learning in simple words?

It is training that combines a limited amount of verified labelled information with relevant unlabelled examples.

What is pseudo-labelling?

A model creates tentative labels for previously unlabelled examples, and selected predictions may be reused in training.

Does this method eliminate human review?

No. Initial labels, quality checks, ambiguous examples and independent tests still need suitable verification.

Can semi-supervised learning work for text?

Yes. Variants can be used with text, images and other data, provided the objectives and assumptions match the task.

Why can semi-supervised learning become worse than supervised learning?

Incorrect pseudo-labels, irrelevant unlabelled data and misleading similarity assumptions may introduce training errors.

The one-minute takeaway

Semi-supervised learning can help when verified labels are scarce and relevant unlabelled examples are plentiful. But additional data help only when the training assumptions hold. Evaluate on genuinely new verified examples, and do not promote a model guess into a fact.

Trusted reading and connected AI guides

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading