# Active learning (machine learning)

> Canonical: https://skillalmanac.com/glossary/active-learning | Last verified: 2026-11-24 | Index status: not offered to search engines

Active learning is a machine learning approach in which the algorithm chooses which unlabeled examples a human annotator, called an oracle, should label, aiming to need fewer labels. It is unrelated to active learning in education.

Also called: active learning, active learning ML, active learning AI, active learner.

## In plain language

Labelling data is slow and often costs money, because a person has to look at each example and write down the right answer. Active learning tries to spend that effort wisely. Instead of labelling examples at random, the program picks the ones it expects to learn the most from and asks a person about those. Think of a student who asks the teacher only about the problems they cannot work out alone. The limit is that the program's guess about what is informative can be wrong, and a person still has to supply each label it asks for, so the labour is reduced, not removed.

## Technical definition

Active learning is a loop around a supervised learner. The model is trained on a small labelled set, a query strategy scores a pool or stream of unlabeled instances, the top-scoring instances are sent to an oracle for labels, and the model is retrained with them. Settles' survey describes three scenarios: membership query synthesis, stream-based selective sampling and pool-based sampling. Query strategies named in its outline include uncertainty sampling, query-by-committee, expected model change, expected error reduction, variance reduction and density-weighted methods. Deep active learning applies the same loop to deep neural networks.

## How it shows up when you use agents

Active learning is a data-preparation idea, not a feature of Claude Code, Codex or Cursor. It appears when you build or evaluate a model with an agent's help: you have a large pile of unlabeled text or images, a limited budget of human review, and you must decide which items a person labels first.

An agent can help with the plumbing. It can write the script that trains a small model, scores the unlabeled pool, and exports the least certain items for review. The judgement stays with you: how to define "least certain", who labels, and how many rounds to run.

What breaks when it is misunderstood: people treat the labelled set as a fair sample of their data. It is not, because the query strategy deliberately picked unusual or ambiguous items. A test set built this way can mislead, so keep a randomly drawn test set apart. See [data labeling](/glossary/data-labeling) and [human in the loop](/glossary/human-in-the-loop).

Next action: before running any loop, write down the labelling budget, the stopping rule and where the random test set lives. [Supervised learning](/glossary/supervised-learning) still needs those labels to be correct.

## Common confusions

- **Active learning versus active learning in education.** Wikidata lists two separate items with this label. This entry is the machine learning one, where the algorithm chooses what to label. The teaching method has no connection to model training.
- **Active learning versus unsupervised learning.** Active learning still ends with labels from an oracle. It starts from unlabeled data but does not skip labelling.
- **Active learning versus human in the loop.** A human in the loop is a broad pattern of people checking or steering a system. Active learning is a specific way the model picks which items the human sees.
- **Myth.** Active learning guarantees fewer labels for the same quality. Settles' survey frames the key idea as a learner that can achieve greater accuracy with fewer labels if it may choose its training data. Results depend on the task and the strategy.

## Worked examples in this catalogue

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.

Why it exercises the concept: Choosing which cases deserve a human-written label is the question active learning asks. This skill builds eval sets by its own method; it does not run a query strategy, and the catalogue has no active-learning skill. Illustrative only.

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill checks train, validation and test files for duplicates, shared groups, time and label leakage and prints JSON.

Why it exercises the concept: Labels gathered by a query strategy form a biased sample, so a model scored on them needs a clean separate test set. This skill checks splits for leakage; it does not do active learning. Illustrative only.

### [huggingface-datasets](https://skillalmanac.com/skills/huggingface/huggingface-datasets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill reads Hugging Face datasets through the Dataset Viewer API: metadata, rows, search and filters.

Why it exercises the concept: Browsing rows of a dataset is one way to see what an annotator would be asked to label. The skill does not label anything or rank examples. Illustrative only.

## Related terms

- [Supervised learning](https://skillalmanac.com/glossary/supervised-learning.md)
- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Data labeling](https://skillalmanac.com/glossary/data-labeling.md)
- [Ground truth](https://skillalmanac.com/glossary/ground-truth.md)
- [Human in the loop (HITL)](https://skillalmanac.com/glossary/human-in-the-loop.md)
- [Unsupervised learning](https://skillalmanac.com/glossary/unsupervised-learning.md)

## Sources

- [Active Learning Literature Survey - Burr Settles, 2009](https://minds.wisc.edu/handle/1793/60660), University of Wisconsin-Madison (accessed 2026-11-24)
- [Active Learning Literature Survey - Burr Settles, 2009 (full text)](https://burrsettles.com/pub/settles.activelearning.pdf), Burr Settles (accessed 2026-11-24)
- [A Survey of Deep Active Learning - Ren et al., arXiv v2, 2021](https://arxiv.org/abs/2009.00236), arXiv (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
