What is active learning?
Last updated
Active learning is a supervised setup where the model chooses which unlabeled examples a human (the oracle) should label next. The goal is to reach a target accuracy with far fewer labels than labeling data at random.
The core loop:
Train on a small labeled seed set.
Score the unlabeled pool with a query strategy (uncertainty, disagreement, diversity).
Send the top examples to annotators, add them to the training set, retrain, and repeat until the budget or performance target is reached.
Why it works: Many examples are redundant or easy. Labels near the decision boundary or in under-covered regions carry the most information per unit of labeling cost.
Settings:
Pool-based: select from a fixed unlabeled pool. This is the most common setting.
Stream-based: decide per incoming example whether to query it.
Membership query synthesis: the learner generates the inputs it wants labeled.
When to use it: labels are expensive (medical imaging, legal review) but unlabeled data is plentiful.
Caveats:
The labeled set becomes non-i.i.d. (sampling bias toward the model's current blind spots).
Cold start is weak when the initial model is poor.
Retraining each round has a cost.
The selected examples may not transfer well to a different model.
- https://github.com/youssefHosni/Data-Science-Interview-Questions-Answers/blob/main/Machine%20Learning%20Interview%20Questions%20%26%20Answers%20for%20Data%20Scientists.md
- https://github.com/campusx-official/Machine-Learning-Interview-Questions
- https://www.geeksforgeeks.org/machine-learning/ml-active-learning/