Learning how to Active Learn: A Deep Reinforcement Learning Approach

Meng Fang, Yuan Li, Trevor Cohn

Abstract

Active Learning (AL) aims to minimize annotation effort by selecting the most informative data points for labeling. Traditional AL methods rely on static, hand-crafted heuristics such as uncertainty sampling, which often fail to generalize across different tasks or languages. This paper introduces Policy-based Active Learning (PAL), a framework that treats data selection as a sequential decision-making problem. By training a Deep Q-Network (DQN) on high-resource languages and transferring the learned policy via cross-lingual embeddings, PAL achieves significant performance gains in low-resource scenarios, reducing annotation costs by up to 90%.

Introduction

The success of modern Natural Language Processing (NLP) models is heavily dependent on large amounts of labeled data. In low-resource settings, acquiring such data is expensive and time-consuming. Active Learning (AL) addresses this by identifying which unlabeled examples would most benefit the model if labeled. However, conventional AL heuristics (e.g., "label the sentence with the highest entropy") are often inconsistent across domains and require a "seed set" of labeled data to begin.

This research proposes a shift from hand-crafted heuristics to learned policies. By framing AL as a Reinforcement Learning (RL) problem, the model learns to identify informative patterns in both the text content and the current state of the classifier.

Methodology: Policy-based Active Learning (PAL)

The authors reframe Active Learning as a Markov Decision Process (MDP). An RL agent observes a stream of unlabeled sentences and decides whether to request a label or skip the instance.

The RL Framework

  • Agent and Environment: The agent interacts with a stream of data. For each sentence $x_i$, it receives a state representation and chooses an action $a \in \{label, skip\}$.
  • State Representation: The state includes three components: text content (encoded via a CNN), model marginals (probability distributions of current predictions), and global confidence scores.
  • Reward Function: The agent is rewarded based on the incremental improvement in the model's F1 score on a validation set after adding a new label.
The PAL decision process framed as a Markov Decision Process, showing the transition from state to action based on learned policies.

Cross-Lingual Transfer

A key innovation is the use of cross-lingual word embeddings. By mapping different languages into a shared vector space, a policy trained on a high-resource language (e.g., English) can be applied to a low-resource target language (e.g., German) without further training. This "cold-start" capability is crucial for languages where no initial labels exist.

Experimental Results

The method was evaluated on Named Entity Recognition (NER) tasks using the CoNLL 2002/2003 datasets for English, German, Spanish, and Dutch.

Performance and Efficiency

PAL consistently outperformed traditional uncertainty sampling and random baselines. In German NER tasks, PAL reached target performance levels using only 10% of the data required by random sampling. As shown in the performance curves below, the PAL variants (Pal.b and Pal.m) maintain a significant lead over traditional methods throughout the annotation process.

F1 score progression across German (de), Spanish (es), and Dutch (nl) comparing PAL variants against random and uncertainty sampling baselines.

Key Insights

  • Content Awareness: Unlike uncertainty sampling, PAL learns to recognize linguistic structures that are inherently difficult for NER models, allowing it to select informative samples even when the model is overconfident.
  • Multilingual Robustness: Training on multiple source languages simultaneously (Multilingual PAL) produces a more generalized policy that performs better on unseen target languages than a single-source policy.

Conclusion

PAL demonstrates that the "logic" of data selection can be learned and transferred across languages. By moving away from fixed heuristics, researchers can significantly lower the barrier to developing high-quality NLP tools for the world's many low-resource languages. Future work includes extending PAL to pool-based settings and incorporating human-centric cost functions that account for varying annotation difficulty.

Summary updated

BibTeX
@inproceedings{fang2017learning,
  author = {Meng Fang and Yuan Li and Trevor Cohn},
  title = {{Learning how to Active Learn: A Deep Reinforcement Learning Approach}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1063},
}
Figure