Active learning

Active learning is a training approach in which a machine learning system chooses which unlabelled examples a human should label next, aiming to reach good accuracy with fewer costly labels.

Supervised learning needs labelled examples, and labels cost money. A radiologist has to mark the tumour, a linguist has to transcribe the speech. Active learning reduces that bill by letting the model take part in choosing what gets labelled. Google's machine learning glossary describes it as a training approach in which the algorithm chooses some of the data it learns from. The person or system that supplies the labels is usually called the oracle.

The common set-up is pool-based. A model is trained on a small labelled set, then scores a large pool of unlabelled examples. It picks the ones it is least sure about, sends them to a human, adds the answers to its training set and retrains. The loop repeats until the budget runs out or accuracy stops improving. Picking the least certain examples is called uncertainty sampling; another popular strategy, query by committee, trains several models and asks for labels where they disagree most.

The payoff is clearest where labelling is slow. Burr Settles's 2009 survey of the field, a technical report from the University of Wisconsin-Madison, cites an estimate that transcribing speech at the word level takes about ten times as long as the audio itself, and labelling individual speech sounds about 400 times as long. Spending that effort only on the examples that teach the model most can cut annotation costs sharply.

It is not free of trade-offs. The same survey points out that a dataset built this way is skewed towards what one particular model found hard, so it may be less useful for training a different kind of model later, and some studies found active learning needed more labels than random selection. It also adds engineering work: someone has to run the loop, manage annotators and decide when to stop.

The name collides with a teaching term. In education, active learning means classroom methods in which students do things rather than listen; the machine learning sense is unrelated. In AI news it usually appears in stories about labelling pipelines, medical imaging and other areas where expert time is the scarce resource.

Common questions

What is active learning in machine learning?

It is a way of training a model in which the model helps decide which unlabelled examples a human should label next. It usually asks about the cases it is least sure of, so each paid label adds as much as possible. The goal is a good model with fewer labels than random selection would need.

What is the difference between active learning and semi-supervised learning?

Both deal with having lots of unlabelled data and few labels. Semi-supervised learning uses the unlabelled data directly, trusting what the model already infers about it. Active learning instead spends human effort on the examples the model finds most confusing. The two can be combined.

Does active learning always save labelling effort?

No. Most published results show savings, but some studies found it needed more labels than picking examples at random, and the selected data is tailored to the model that chose it. Whether it pays off depends on the task, the selection strategy and how well the loop is run.

Is active learning in AI the same as active learning in education?

No. In education it refers to teaching methods where students take part rather than just listen. In machine learning it refers to an algorithm choosing which examples get labelled. The two share a name only.

Finding more

Search for "active learning machine learning", "uncertainty sampling", "query by committee" or "deep active learning survey" to find the methods and the evidence for them. Reliable starting points are Settles's survey, review papers on arXiv and machine learning glossaries from major providers. Be wary of vendor case studies that report labelling savings without saying what they compared against, since random selection is the fair baseline.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.