Subsequence Based Deep Active Learning for Named Entity Recognition

Puria Radmard, Yassir Fathullah, Aldo Lipani

Abstract

Standard Active Learning (AL) for Named Entity Recognition (NER) is often inefficient because it requires annotators to label entire sentences, even when only small fragments are uncertain. We propose a Subsequence Based Deep Active Learning (SBDAL) framework that targets the most informative parts of a sentence. By querying subsequences and propagating labels to identical strings across the dataset, our method reduces the required training data by up to 39% while maintaining peak performance.

Introduction

Deep learning models for NER require massive amounts of labeled data, which is expensive and time-consuming to produce. Active Learning (AL) aims to mitigate this by having the model "ask" for labels only for the most informative examples. However, most AL research treats an entire sentence as a single "atomic" unit. This is problematic due to the heterogeneity of uncertainty: a model might be certain about most of a sentence but confused by a single name. Labeling the whole sentence wastes the annotation budget on tokens the model already understands. Furthermore, long sentences increase cognitive load and lead to human error. This paper introduces a framework to move from sentence-level queries to subsequence-level queries, surgically targeting "hotspots" of uncertainty.

Methods

The proposed SBDAL framework involves several key components designed to maximize annotation efficiency:

  1. Subsequence Selection: Instead of selecting whole sentences, the algorithm breaks sentences into subsequences of a specific length range (e.g., 4 to 7 tokens). A greedy selection process identifies the most uncertain non-overlapping chunks across the unlabeled pool.
  2. Generalized Acquisition Functions: Standard uncertainty metrics like Least Confidence (LC) and Maximum Entropy are adapted with a tunable normalization factor ($\alpha$). This factor balances the selection between short, highly uncertain sequences and longer sequences that provide more context.
  3. Label Propagation: When an annotator labels a subsequence (e.g., "University of Cambridge" as an ORG), the algorithm automatically applies that label to every other identical, unlabeled occurrence of that string in the dataset.
  4. Partial Training: The model is trained on partially labeled sentences, where backpropagation only occurs for tokens that have been explicitly labeled or propagated.
Figure 1: Illustration of the subsequence selection process. Uncertainty scores ($lc_j^{(n)}$) are calculated per token, and the algorithm identifies high-uncertainty subsequences (colored blocks) for annotation.

Results

The researchers evaluated SBDAL on two gold-standard NER benchmarks: OntoNotes 5.0 and CoNLL 2003. The subsequence approach significantly outperformed state-of-the-art sentence-level baselines.

On OntoNotes 5.0, the model reached 99% of its peak performance using only 13% of the training data. In contrast, the previous best sentence-level method required 22%, representing a 39% improvement in efficiency. Similar results were seen on CoNLL 2003, where the model reached peak performance with 27% of the data, compared to 42% for the baseline—a 37% improvement.

Figure 2: F1 performance on OntoNotes 5.0. The subsequence-based method (SUB) reaches high performance significantly faster than sentence-level (FS) or random baselines.

Analysis showed that subsequence querying extracts tokens with much higher median uncertainty in early training rounds. By focusing on subsequences, the "signal" of uncertainty is sharper, and the model identifies actual entities much earlier than sentence-level methods, which are often diluted by common "O" (non-entity) tokens.

Discussion and Limitations

While SBDAL offers substantial efficiency gains, several challenges remain. The current study uses an "oracle" (ground truth labels) to simulate annotators. In practice, human annotators might struggle with cropped subsequences if they lack the surrounding context needed for disambiguation (e.g., distinguishing "Apple" the company from the fruit). Additionally, the optimal subsequence length and normalization factor vary by dataset, requiring hyperparameter tuning. Future work should investigate how reduced context affects human accuracy and whether the time saved in labeling is offset by the time spent re-orienting to short text fragments.

Summary updated

BibTeX
@inproceedings{radmard2021subsequence,
  author = {Puria Radmard and Yassir Fathullah and Aldo Lipani},
  title = {{Subsequence Based Deep Active Learning for Named Entity Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.332},
}
Figure