Deep Bayesian Active Learning for Natural Language Processing: Results of a Large-Scale Empirical Study

Aditya Siddhant, Zachary C. Lipton

Abstract

Several recent papers investigate Active Learning (AL) for mitigating the data dependence of deep learning for natural language processing. However, the applicability of AL to real-world problems remains an open question. While in supervised learning, practitioners can try many different methods, evaluating each against a validation set before selecting a model, AL affords no such luxury. Over the course of one AL run, an agent annotates its dataset exhausting its labeling budget. Thus, given a new task, an active learner has no opportunity to compare models and acquisition functions. This paper provides a large scale empirical study of deep active learning, addressing multiple tasks and, for each, multiple datasets, multiple models, and a full suite of acquisition functions. We find that across all settings, Bayesian active learning by disagreement, using uncertainty estimates provided either by Dropout or Bayes-by Backprop significantly improves over i.i.d. baselines and usually outperforms classic uncertainty sampling.

Introduction

Deep learning models have revolutionized natural language processing (NLP) but remain notoriously data-hungry, making them expensive to deploy in domains where human annotation is costly. Active Learning (AL) offers a potential solution by strategically selecting the most "informative" examples for human annotation rather than picking them at random. However, existing research often suffers from two major flaws: the "cheating" problem—tuning hyperparameters on the full dataset before simulating AL—and a reliance on uncertainty measures that fail to distinguish between data noise (aleatoric) and model ignorance (epistemic). This study addresses these gaps through a rigorous, large-scale evaluation of Deep Bayesian Active Learning (DAL).

Methodology: Bayesian Active Learning by Disagreement (BALD)

The core of this study is Bayesian Active Learning by Disagreement (BALD). Unlike standard neural networks that provide a single, often overconfident point estimate, BALD utilizes a "committee" of models to identify instances where predictions diverge, signaling high epistemic uncertainty.

The authors evaluate two primary methods for generating these stochastic committees:

  1. Monte Carlo (MC) Dropout (DO-BALD): Keeping dropout layers active during inference to generate a distribution of outputs from multiple forward passes.
  2. Bayes-by-Backprop (BB-BALD): Learning a probability distribution over model weights themselves. This marks the first large-scale application of BBB to the context of Deep Active Learning.

To ensure real-world applicability, the authors employ a strict experimental protocol: starting with a tiny 2% "warm-start" dataset, tuning hyperparameters only on this subset, and retraining the model from scratch in each acquisition round to prevent overfitting to early samples.

Experimental Results

The study spans three major NLP tasks—Sentiment Classification (SC), Named Entity Recognition (NER), and Semantic Role Labeling (SRL)—across six diverse datasets.

Efficiency in Sequence Labeling

On NER tasks, Bayesian methods demonstrated exceptional data efficiency. As illustrated in Figure 1, DAL methods reached 98-99% of the full-dataset performance using only 20% of the labels. In contrast, random i.i.d. sampling required significantly more data to achieve comparable results, often failing to close the gap even at 50% data usage.

Figure 1: F-score on CoNLL 2003 NER task using a CNN-BiLSTM-CRF model. Bayesian methods (DO_BALD, BB_BALD) reach near-peak performance significantly faster than random sampling and standard uncertainty sampling (MNLP).

Robustness Across Tasks and Architectures

The superiority of Bayesian uncertainty estimation was consistent across different architectures (CNNs, BiLSTMs) and tasks. In sentiment classification, the gap between BALD and random sampling remains pronounced, even when using simpler CNN architectures, justifying the use of complex Bayesian acquisition even in classification settings.

Figure 3: Accuracy on MaReview sentiment classification using a CNN model. Both DO_BALD and BB_BALD consistently outperform the random baseline and Least Confidence (LC) sampling.

Discussion and Key Insights

  • Epistemic Uncertainty is Key: Standard "Least Confidence" sampling often fails because neural networks are frequently "confident but wrong." Bayesian methods provide a more calibrated assessment of what the model truly doesn't know.
  • Practicality of MC Dropout: Interestingly, BB-BALD and DO-BALD performed similarly across most benchmarks. Given that Dropout is significantly easier to integrate into existing deep learning pipelines, it represents a highly practical "out-of-the-box" choice for practitioners.
  • Superiority over Shallow Baselines: Deep Active Learning significantly outperformed "shallow" active learning baselines (such as Linear SVMs), proving that the benefits of deep architectures persist even in low-data regimes when paired with smart acquisition strategies.

Conclusion

This large-scale empirical study confirms that Deep Bayesian Active Learning is a robust and effective method for reducing the annotation burden in NLP. By focusing on epistemic uncertainty through disagreement, these methods consistently outperform both random sampling and classical uncertainty heuristics across a wide range of real-world tasks and models.

Summary updated

BibTeX
@inproceedings{siddhant2018deep,
  author = {Aditya Siddhant and Zachary C. Lipton},
  title = {{Deep Bayesian Active Learning for Natural Language Processing: Results of a Large-Scale Empirical Study}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=Sk-SkzG_ZS},
}
Figure