Abstract
Active Learning (AL) aims to reduce the labeling burden in machine learning by selecting the most informative data points for annotation. However, traditional Batch Active Learning (BAL) strategies often rely on hand-crafted heuristics that may not generalize across diverse datasets or align perfectly with the objective of maximizing model performance. This paper introduces BALQ, a data-driven approach that reformulates BAL as a Markov Decision Process (MDP) solved via Deep Q-networks (DQN). By training on a variety of datasets, BALQ learns a universal policy that generalizes to unseen domains. Experimental results on the Mushroom dataset demonstrate that BALQ significantly outperforms standard heuristics like BatchBALD and uncertainty sampling in terms of both convergence speed and stability.
Introduction
The cost of data labeling remains a significant bottleneck in the machine learning pipeline. While Active Learning (AL) offers a solution by prioritizing informative samples, Batch Active Learning (BAL) scales this by selecting groups of points for parallel labeling. Most existing BAL methods utilize human-designed heuristics, such as uncertainty sampling, which often suffer from "objective mismatch"—where the heuristic does not directly optimize for the final performance metric—and a lack of cross-domain generality.
To address these limitations, we propose BALQ, a framework that uses Deep Reinforcement Learning (DRL) to "learn how to learn" optimal batch selection strategies. By treating the selection process as a sequential decision-making task, the agent can discover complex data relationships that traditional heuristics overlook.
Methodology
BALQ reformulates the batch selection problem into a Markov Decision Process (MDP) and employs a Deep Q-network (DQN) to learn the optimal policy.
State and Action Representation
To handle the high dimensionality of modern classifiers, we represent the model's state using a proxy: the prediction confidence on a small, fixed "reference set" of unlabeled points. This provides a compact yet descriptive vector of the current model's knowledge state.
The action space involves selecting a point from the unlabeled pool to add to the current batch. Each candidate point is characterized by its average cosine distance to three sets: the unlabeled pool, the already labeled pool, and the points already selected for the current batch. This ensures the agent considers both informativeness and diversity.
Reward Function and Training
The agent is trained with a "time penalty" reward structure, receiving -1 for every step until a target performance (e.g., 98% AUC) is reached or the budget is exhausted. This encourages the agent to find the most informative points as quickly as possible. To ensure generalization, we employ domain randomization, training the DQN agent across eight diverse datasets from the UCI Machine Learning Repository, including financial, medical, and physical data.
Experimental Setup
We evaluated the zero-shot transfer capability of BALQ on the Mushroom dataset, which was not included in the training phase. We compared BALQ against three baselines:
- Random Sampling (RS): Selecting points at random.
- Uncertainty Sampling (US): Selecting points where the model is least confident.
- BatchBALD: A state-of-the-art heuristic designed for batch diversity and informativeness.
Results and Discussion
The experimental results highlight the superiority of the learned strategy over traditional heuristics.
As shown in the figure above, BALQ (red line) reaches higher AUC values significantly faster than all other methods. Notably, BALQ exhibits much lower variance across different runs compared to heuristics like Uncertainty Sampling, which shows high instability (represented by the wider shaded confidence intervals). This suggests that the learned policy is not only more effective but also more robust to data shuffling.
The successful zero-shot transfer to the Mushroom dataset proves that BALQ captures "universal truths" about data informativeness that transcend specific domains. By learning from medical and financial data, the agent developed a policy applicable to biological classification tasks.
Conclusion
BALQ demonstrates that Deep Reinforcement Learning can effectively replace or augment hand-crafted heuristics in Batch Active Learning. By learning a generalizable policy through domain randomization, BALQ achieves superior performance and stability. Future work will explore extending this framework to multi-class classification and regression tasks, as well as investigating the benefits of fine-tuning the learned policy on target domains.
Summary updated