NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Algorithms for Active Learning

Philip Bachman, Alessandro Sordoni, Adam Trischler

Introduction

Active learning (AL) is the process of strategically choosing which unlabeled data points are most valuable to label when human expertise is expensive. Traditionally, this has relied on hand-engineered heuristics like "uncertainty sampling." However, these rules of thumb are often task-agnostic and may not generalize across different domains. This paper proposes a meta-learning framework that trains a model to discover its own active learning algorithms by treating data selection as a sequential decision problem solved via reinforcement learning.

Methods

The authors frame active learning as a sequential decision process where the model interacts with a pool of unlabeled items, selects one to query, updates its internal state, and repeats.

Architecture of the Active Learning model, illustrating the interaction between the controller LSTM, selection/read modules, and the matching network base.

Key Components:

  1. Matching Network (MN) Base: The model utilizes Matching Networks for few-shot learning, employing a bidirectional LSTM to create context-sensitive embeddings for all items in the pool.
  2. The Controller: An LSTM-based controller maintains a state ($h_t$) that tracks the information gathered from collected labels.
  3. Selection Module: This module acts as the decision-maker, using a gated combination of features to determine which unlabeled item is most beneficial to query next.
  4. Hybrid Training: The system is trained end-to-end using a combination of supervised learning (to minimize prediction error) and reinforcement learning (Policy Gradients with GAE to optimize the selection strategy).

Datasets and Evaluation

The model was evaluated on two distinct benchmarks:

  • Omniglot: A standard few-shot learning dataset with 1,623 handwritten characters, used here to test $N$-way classification efficiency.
  • MovieLens-20M: A large-scale movie rating dataset used to simulate the "cold-start" problem in recommendation systems, where the goal is to quickly learn a new user's preferences.

Key Results

The proposed "Active MN" demonstrated superior performance and efficiency across both tasks.

Performance on Omniglot (left) and label efficiency (right), showing the Active Policy's ability to reach high accuracy with fewer labels compared to random strategies.
  • Omniglot Accuracy: In a 10-way, 1-shot setting, the Active MN achieved 94.3% accuracy, significantly outperforming random selection (67.3%) and nearly matching the performance of a perfectly balanced oracle (96.5%).
  • MovieLens RMSE: The model achieved a 2.5% improvement in Root Mean Squared Error (RMSE) over the best baseline after only 10 ratings, consistently beating Gaussian Processes and standard entropy-based heuristics.
  • Generalization: A policy trained on simpler 10-way classification tasks generalized effectively to more complex 20-way tasks that were unseen during training.

Key Insights

  • End-to-End Co-adaptation: The model's data representation, selection heuristic, and prediction logic co-adapt, allowing it to learn representations that specifically enhance its selection strategy.
  • Anytime Performance: The model is optimized to provide the best possible prediction after every single label query, making it highly practical for real-world scenarios where budgets may change dynamically.
  • Personalization: In recommendation tasks, the learned policy discovered that selecting items similar to those already seen can be more beneficial than simple diversity-seeking heuristics.

Limitations and Future Work

While effective, the model's reliance on nested LSTMs introduces architectural complexity and computational weight. Additionally, as a meta-learning approach, it requires a substantial distribution of related tasks for initial training. Future research aims to streamline the architecture and scale the selection module to handle millions of unlabeled items in massive production environments.

Summary updated

BibTeX
@inproceedings{bachman2017learning,
  author = {Philip Bachman and Alessandro Sordoni and Adam Trischler},
  title = {{Learning Algorithms for Active Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
}
Figure