AutoAL: Automated Active Learning with Differentiable Query Strategy Search

Yifeng Wang, Xueying Zhan, Siyu Huang

TL;DR

AutoAL is the first differentiable active learning (AL) framework that automatically searches for and combines the best query strategies for a given dataset. By relaxing discrete strategy selection into a continuous space and using a bi-level optimization loop, AutoAL consistently outperforms traditional active learning methods across both natural and medical image datasets with minimal optimization overhead.

What Problem Does This Paper Address?

Deep learning models are notoriously data-hungry, making the process of labeling massive datasets both time-consuming and expensive. Active Learning (AL) mitigates this by iteratively selecting only the most informative unlabeled samples for human annotation.

However, AL has a fundamental "no free lunch" problem: uncertainty-based strategies (which pick samples the model is most confused about) and diversity-based strategies (which pick samples that best represent the entire dataset distribution) perform inconsistently across different tasks, batch sizes, and budgets. Existing methods that attempt to automatically select the best AL strategy rely on black-box optimization or multi-armed bandits. These approaches are non-differentiable, computationally expensive, and struggle to fully capture the complexities of real-world data.

Methods

AutoAL introduces a fully differentiable strategy search framework by formulating the problem through bi-level optimization using two concurrent neural networks: FitNet ($\Omega_F$) and SearchNet ($\Omega_S$).

Figure 1. Overall framework of differentiable query strategy search for automated active learning (AutoAL). AutoAL leverages labeled pool to train the FitNet and SearchNet in a bi-level optimization mode. Data samples with the largest search score are then selected from the unlabeled pool.
  • Continuous Relaxation: To make the search space differentiable, AutoAL relaxes the discrete choice of picking a single AL strategy. It applies a Sigmoid relaxation over a mixing weight vector, mapping candidate strategies into a continuous domain optimized via standard backpropagation.
  • The Bi-Level Loop: FitNet is trained on the labeled data to capture the underlying data distribution and compute task losses. Concurrently, SearchNet is optimized to look at these losses and learn which combination of candidate AL strategies yields the most informative samples (i.e., samples that would cause the highest loss/largest model update).
  • Unlabeled Pool Simulation: To optimize the networks without prematurely accessing the actual unlabeled pool, AutoAL splits the current labeled dataset into two halves during training: one half acts as the training batch, and the other half simulates the unlabeled pool.

Datasets

The authors evaluated AutoAL across seven benchmark datasets spanning two distinct domains:

  • Natural Images: CIFAR-10, CIFAR-100, SVHN, and TinyImageNet.
  • Medical Images: OrganMNIST, PathMNIST, and TissueMNIST (from the MedMNIST v2 database), chosen specifically to test the framework against real-world data complexities like severe class imbalance.

Key Insights and Ideas

  • The Exploration-to-Exploitation Shift: By analyzing the strategy scores across active learning rounds, the authors confirmed a long-suspected intuition: diversity-based methods (like KMeans) dominate the initial rounds when labeled data is scarce to help the model build a broad understanding of the data layout. In later rounds, uncertainty-based methods (like Least Confidence) naturally take over to help refine complex decision boundaries. AutoAL automatically learns and executes this transition without human intervention.
  • Differentiability Equals Efficiency: Moving from discrete bandit-based selection to continuous gradient-based optimization makes the strategy search highly data-efficient. The model adapts seamlessly to the underlying data distribution using standard gradient descent.

Key Results

  • Superior Accuracy: AutoAL consistently achieved higher mean accuracy compared to all individual candidate AL strategies (e.g., Maximum Entropy, BALD, KMeans) and state-of-the-art deep AL methods (such as BADGE, LPL, and VAAL) across all seven datasets.
  • Smoother Learning Curves: Traditional AL methods often suffer from sudden performance drops due to "harmful data selection" or overfitting in certain rounds. AutoAL's curves are significantly smoother, demonstrating robust, steady accuracy gains.
Overall performance on seven benchmark datasets: natural image datasets (top) and medical image datasets (bottom).
  • Low Search Overhead: Complexity analysis revealed that the actual optimization of SearchNet and FitNet (AutoAL-Search) consumes a negligible fraction of time (e.g., around 0.1x to 0.2x relative to a standard baseline).

Limitations and Future Work

  • Candidate Pool Bottleneck: While the neural network search itself is incredibly fast, AutoAL's total runtime is heavily dependent on the time it takes to compute the initial scores for all candidate algorithms in its pool. If the pool includes computationally heavy geometric or gradient-based strategies, the preprocessing step scales up accordingly.
  • Future Directions: The authors plan to extend AutoAL beyond image classification to broader machine learning tasks like structured prediction, and explore more sophisticated, fine-grained combinations of underlying AL strategies.

Summary updated

BibTeX
@inproceedings{wang2025autoal,
  author = {Yifeng Wang and Xueying Zhan and Siyu Huang},
  title = {{AutoAL: Automated Active Learning with Differentiable Query Strategy Search}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=TkUxFAbpfQ},
}
Figure