How to Select Which Active Learning Strategy is Best Suited for Your Specific Problem and Budget

Guy Hacohen, Daphna Weinshall

Abstract

In the domain of Active Learning (AL), a learner actively selects which unlabeled examples to seek labels from an oracle, while operating within predefined budget constraints. Importantly, it has been recently shown that distinct query strategies are better suited for different conditions and budgetary constraints. In practice, the determination of the most appropriate AL strategy for a given situation remains an open problem. To tackle this challenge, we propose a practical derivative-based method that dynamically identifies the best strategy for a given budget. Intuitive motivation for our approach is provided by the theoretical analysis of a simplified scenario. We then introduce a method to dynamically select an AL strategy, which takes into account the unique characteristics of the problem and the available budget. Empirical results showcase the effectiveness of our approach across diverse budgets and computer vision tasks.

Introduction

Active Learning (AL) is a powerful paradigm for training machine learning models when labeled data is scarce or expensive. By allowing the model to choose which data points are labeled by a human "oracle," AL aims to maximize performance while minimizing the total number of labels purchased.

Historically, the field has been dominated by uncertainty sampling, which prioritizes "hard" examples near the decision boundary. However, a growing body of evidence suggests that uncertainty sampling is often suboptimal in "low-budget" regimes, where the model lacks a foundational understanding of the data distribution. In these cases, typicality-based sampling—which selects representative, "easy" examples—is significantly more effective. The core difficulty for practitioners is that the transition point between these two regimes is relative; a budget that is "large" for a simple dataset may be "small" for a complex one. We propose SelectAL, a framework to dynamically navigate this transition.

The Challenge of Budget-Dependent Strategies

The effectiveness of an AL strategy is intrinsically tied to the current state of the model's knowledge. In the early stages of learning, the model needs to understand the "typical" structure of the data. If it focuses on uncertain outliers too early, it fails to build a robust baseline. Conversely, once the basic structure is learned, typicality-based methods reach a plateau, and the model must focus on the "exceptions" at the decision boundary to improve further.

Currently, there is no standard mechanism to determine which strategy to apply without prior knowledge of the task's complexity. SelectAL addresses this by treating the selection of an AL strategy as a dynamic decision problem based on the existing labeled set.

Methods: The SelectAL Framework

SelectAL is built on the principle that the optimal data to add is the data that would have caused the greatest loss in performance had it been missing. The framework operates in three primary stages:

1. Theoretical Decision Rule

Using a simplified mixture model, we demonstrate mathematically that the optimal sampling strategy can be identified by analyzing the derivative of the model's error function. The goal is to sample from the distribution where an additional label provides the steepest possible drop in error.

2. The Practical Surrogate Test

Since calculating exact error derivatives is computationally infeasible in deep learning, SelectAL uses a "look-back" or "deletion" approach. Instead of predicting the value of future data, it evaluates the value of the data it already has:

  • Subset Creation: The algorithm takes the current labeled set ($L$) and creates three distinct subsets by removing a small percentage of data. Each subset is created using a different removal strategy: one mimicking typicality-based selection, one mimicking uncertainty-based selection, and one using random removal.
  • Surrogate Training: A small model is trained on each of these subsets.
  • Criticality Identification: The strategy whose removal caused the lowest accuracy is identified as the most "critical" data type for the current budget regime.

3. Strategy Selection

Based on the results of the surrogate test, SelectAL selects the most appropriate "pure" strategy (such as TypiClust for typicality or BADGE for uncertainty) to acquire the next batch of labels from the oracle.

Experimental Setup

We evaluated SelectAL across three standard computer vision benchmarks to test its robustness across varying task complexities:

  • CIFAR-10: 10 classes of low-resolution images.
  • CIFAR-100: 100 classes of low-resolution images.
  • ImageNet-50: A 50-class subset of ImageNet, representing high-resolution, real-world challenges.

To ensure high-quality data representations, we utilized self-supervised models (such as SimCLR or DINO) to generate the feature embeddings used for typicality calculations.

Key Insights and Results

Our empirical results demonstrate that SelectAL consistently matches or exceeds the performance of the best individual AL strategies across all tested datasets.

  • Navigating the Phase Shift: The transition from typicality-based needs to uncertainty-based needs is often sharp. SelectAL successfully identifies this "phase shift" and switches strategies at the appropriate time.
  • Low-Budget Superiority: In scenarios with very few labels (e.g., 100 labels for CIFAR-100), SelectAL correctly identifies the need for typicality, outperforming uncertainty methods that often fail to beat random sampling in these early stages.
  • Avoiding Plateaus: Unlike fixed typicality methods, which stall once the data distribution is covered, SelectAL transitions to uncertainty-based methods to continue refining the model's accuracy as the budget grows.

Limitations and Future Work

While SelectAL provides a robust path forward for automated AL, it has certain limitations. It requires a small initial set of labeled data to perform the surrogate test, meaning it cannot assist with the very first "cold start" batch. Additionally, the requirement to train multiple surrogate models introduces a computational overhead, though this is often negligible compared to the cost of human labeling. Finally, the method's efficacy is dependent on the quality of the underlying feature space; as self-supervised representations improve, we expect the precision of SelectAL to improve accordingly.

Conclusion

SelectAL offers a practical, data-driven solution to the long-standing problem of strategy selection in Active Learning. By simulating the loss of current data to predict the value of future labels, it allows practitioners to maximize their labeling budget regardless of the specific task or constraints.

Summary updated

BibTeX
@inproceedings{hacohen2023how,
  author = {Guy Hacohen and Daphna Weinshall},
  title = {{How to Select Which Active Learning Strategy is Best Suited for Your Specific Problem and Budget}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=eDDZh8C4W4},
}
Figure