What is active learning?

Active learning is a machine learning approach in which the model selects, from unlabelled examples, those whose labels would add the most information and asks a person to label them, aiming for a better model with fewer labels.

It is also called query-based learning. It differs from semi-supervised learning in the human's role: semi-supervised learning uses unlabelled data through the model's own predictions, while active learning chooses which unlabelled examples a person should label. The two are often combined.

Topic
Machine learning, models and training
Also known as
Query-based learning

How active learning works

  1. A starting model is trained on a small labelled set and applied to a large unlabelled pool.
  2. The model scores pool examples by a strategy: those it is least sure of, those several models disagree on or those most different from existing data.
  3. Selected examples are labelled by experts and added to training data.
  4. The model is retrained; the loop continues until the labelling budget runs out or performance is good enough.

In more detail

Three settings and uncertainty measures

Active learning operates in three main settings: pool-based sampling (scoring a static unlabelled dataset, as described above), stream-based selective sampling (deciding in real time whether to label each incoming example) and membership query synthesis (generating synthetic inputs for a human to label, which can sometimes produce nonsensical examples). Standard query strategies include uncertainty sampling (least confidence, margin, entropy), query-by-committee (QBC) and expected model change or diversity sampling.

Cold start, batch diversity and calibration

Naive uncertainty sampling faces two major deep-learning pitfalls: cold-start failure when the initial labelled seed is too small and batch redundancy where selecting the top-k most uncertain items picks near-duplicate boundary cases. Modern batch active learning methods such as BADGE and CoreSet combine uncertainty with embedding or gradient diversity, while model calibration (temperature scaling, MC Dropout or deep ensembles) helps ensure confidence scores accurately reflect true uncertainty.

LLM pre-labelling and choosing preference data

In current workflows, active learning is frequently paired with LLMs in a hybrid "LLM + Human" loop: an in-house LLM provides initial weak labels or confidence rationales for easy examples, reserving expensive domain experts strictly for high-disagreement or low-confidence edge cases. The same active-selection principle is also used in RLHF and DPO pipelines to pick the most informative prompt-response pairs for human preference annotation.

Commonly confused terms

TermHow it differs
Human-in-the-loopHuman-in-the-loop (HITL) is a broad operational pattern encompassing review, fallback handling and overrides in production systems; active learning is a specific machine-learning training loop focused on optimising which unlabelled samples are annotated to maximise model learning per label.

Why active learning matters for on-premises AI

In law, healthcare and banking only experts can label and their time is expensive. Active learning spends that time on examples the model truly struggles with rather than random ones. With selection and labelling run in-house, sensitive documents never leave. Selection can also be biased: data made only of uncertain examples does not reflect the real distribution, so the test set is kept random and separate.

ON-PREMISES EXAMPLE

A brokerage uses active learning for a model classifying market news as positive, negative or neutral; each week analysts label only the few hundred items the model is most unsure about.

Common questions

How much does active learning cut labelling cost?

It depends on task and data. The aim is reaching the same performance with fewer labels than random sampling; the real gain is measured on the organisation's own data.

How is the test set prepared in active learning?

It is drawn randomly and kept separate from the examples the model selects. Selected examples cluster on hard cases, so using them for testing misjudges performance.

Sources

In the glossary: Glossary, A to C

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.