Active learning
What Is Active Learning?
Active learning is a machine learning setting in which the learning algorithm selects the examples it is trained on, querying an oracle, usually a human annotator, for labels on the instances it expects to find most informative. It applies wherever unlabeled data is plentiful and labels are expensive, a situation common in medical imaging, speech transcription, materials characterization, and any task requiring expert judgment. The premise, stated in Burr Settles' active learning literature survey, is that a learner allowed to choose its own training data can reach a target accuracy with substantially fewer labels than one trained on a random sample of the same pool.
The idea belongs to the broader family of learning systems that interact with their environment rather than consuming a fixed dataset, alongside reinforcement learning and experimental design. The term is also used in education to describe participatory classroom methods, a separate sense unrelated to the machine learning technique described here.
Query Scenarios
Three settings define how the learner obtains candidates. In membership query synthesis the learner generates an instance from scratch and asks for its label, which is powerful in principle but can produce inputs that a human annotator cannot interpret. In stream-based selective sampling, instances arrive one at a time and the learner decides immediately whether to pay for a label or discard the example, a fit for online systems with bounded annotation budgets. In pool-based sampling, the most common arrangement in practice, a large unlabeled pool is available at once and the learner ranks the whole pool at each round, selects the top candidates, obtains labels, retrains, and repeats. The retraining loop is what makes active learning an iterative procedure rather than a one-time data selection step.
Query Strategies
Uncertainty sampling is the default strategy and the baseline every new method is measured against. It queries the instance whose predicted label the current model is least sure of, quantified by least-confidence, margin between the top two class probabilities, or predictive entropy. Query-by-committee instead maintains several hypotheses consistent with the labeled data and queries where they disagree most, measured by vote entropy or Kullback-Leibler divergence. Decision-theoretic strategies target the quantity that actually matters: expected model change selects the instance likely to produce the largest gradient update, and expected error reduction estimates the improvement in generalization error from adding each candidate, at considerably higher computational cost. Density-weighted and diversity-based methods correct a known weakness of pure uncertainty scoring, which is that outliers are uncertain but unrepresentative, and batch methods such as coreset selection and gradient-embedding clustering ensure that the examples chosen in one round are informative collectively rather than redundant. Benchmarks remain contested: an expanded benchmark on tabular datasets found that carefully implemented uncertainty sampling holds an edge over more elaborate alternatives across many problems.
Practical Considerations
Deployment raises issues the idealized formulation ignores. The cold start problem means early queries are made by a model too weak to judge informativeness, so the first rounds are often drawn at random. Annotation cost varies by instance, so minimizing label count is not the same as minimizing expense, and real annotators are noisy, which motivates repeated labeling of uncertain items. Selection bias is intrinsic: the labeled set is not drawn from the underlying distribution, which complicates unbiased evaluation and model selection. Stopping criteria based on performance plateaus or on query score thresholds decide when further labeling stops paying. Large pretrained models have changed the calculus again, and a survey of active learning with large language models describes systems where the model both selects and generates candidate training data.
Applications
Active learning has applications in a range of fields, including:
- Medical image annotation and pathology slide labeling
- Named entity recognition, text classification, and speech transcription
- Autonomous driving perception, where rare events dominate labeling value
- Industrial visual inspection and defect detection
- Materials discovery and chemical property prediction
- Remote sensing and land cover classification