How to measure uncertainty in uncertainty sampling for active learning

Vu-Linh Nguyen, Mohammad Hossein Shaker, Eyke Hüllermeier

Introduction

Active learning (AL) aims to optimize the training process by strategically selecting the most informative data points for labeling. Traditionally, "uncertainty sampling" has been the go-to strategy, where the model queries instances it is most "confused" about. However, this approach often fails to distinguish between different sources of uncertainty. This paper explores the critical distinction between epistemic uncertainty (lack of knowledge) and aleatoric uncertainty (inherent noise) and demonstrates how isolating the former leads to more efficient learning.

The Problem: Not All Uncertainty is Created Equal

In standard active learning, measures like Entropy or Least Confidence are used to identify uncertain points. These measures, however, conflate two distinct types of uncertainty:

  1. Epistemic Uncertainty: This arises from a lack of data. It is "reducible" because providing more labeled examples in that region of the feature space will decrease the model's doubt.
  2. Aleatoric Uncertainty: This stems from inherent randomness or noise in the data (e.g., overlapping class distributions). It is "irreducible"; no amount of additional data will make the model certain about a stochastic outcome.

When an active learner queries points based on total uncertainty, it often wastes its labeling budget on regions of high aleatoric uncertainty. These labels provide little information for improving the decision boundary, as the outcome is fundamentally noisy.

Methodology

The authors evaluate several frameworks for quantifying these uncertainties separately:

  • Standard Probabilistic Measures: Entropy, Least Confidence, and Smallest Margin (as baselines).
  • Epistemic and Aleatoric Uncertainty (EAU): A likelihood-based approach that defines degrees of support for different classes. Epistemic uncertainty ($u_e$) is high when multiple hypotheses are equally plausible, while aleatoric uncertainty ($u_a$) is high when the most plausible hypothesis predicts a balanced class split.
  • Credal Uncertainty (CU): Based on "imprecise probability," using a set of plausible models (a credal set) to measure disagreement.
  • Evidence-Based Uncertainty (EBU): A feature-based approach looking for conflicting vs. insufficient evidence.

These measures were tested across three learner types: Parzen window classifiers (local/non-parametric), Decision Trees, and Logistic Regression (global/parametric). The study utilized 10 UCI benchmark datasets for binary classification.

Key Insights and Results

The core finding is that Epistemic Uncertainty Sampling (EU) consistently outperforms standard entropy-based sampling. By focusing on the "unknown" rather than the "noisy," the model achieves higher accuracy with fewer labels.

The Performance Gap

Across the 10 datasets, a clear hierarchy emerged: EU > Entropy > Random > Aleatoric. Sampling based on aleatoric uncertainty was often worse than random selection, as it actively directed the learner toward the most confusing, uninformative parts of the data space.

The Role of Model Bias

The benefit of distinguishing uncertainty types is most pronounced for "local" learners like Parzen windows or deep Decision Trees. For "global" learners like Logistic Regression, the strong linear bias causes model uncertainty to vanish quickly, making the distinction less impactful but still relevant.

A Natural Stopping Criterion

A significant advantage of measuring epistemic uncertainty is that it provides a built-in stopping criterion. When the maximum epistemic uncertainty in the unlabeled pool falls below a certain threshold, it indicates that the model has effectively learned everything it can from the available data.

Limitations and Future Directions

While promising, calculating epistemic uncertainty is computationally more expensive than simple entropy, particularly for models like Logistic Regression that require solving optimization problems for each point. Furthermore, the current study is limited to binary classification. Future work should extend these measures to multi-class problems, regression, and explore combining uncertainty with density weighting to avoid over-sampling outliers.

Conclusion

By distinguishing between "I don't know" (epistemic) and "it's random" (aleatoric), active learning can be made significantly more efficient. Targeting reducible uncertainty allows models to learn faster and more accurately, providing a more robust framework for data-efficient machine learning.

Summary updated

BibTeX
@inproceedings{nguyen2020how,
  author = {Vu-Linh Nguyen and Mohammad Hossein Shaker and Eyke Hüllermeier},
  title = {{How to measure uncertainty in uncertainty sampling for active learning}},
  booktitle = {IAL@PKDD/ECML},
  year = {2020},
}
Figure