APLenty: annotation tool for creating high-quality datasets using active and proactive learning

Minh-Quoc Nghiem, Sophia Ananiadou

Abstract

High-quality labeled data is the cornerstone of modern machine learning, yet its production remains a significant bottleneck. APLenty is a web-based annotation tool designed to optimize the creation of sequence labeling datasets, such as those used for Named Entity Recognition (NER). By integrating Active Learning (AL) and Proactive Learning (PL) within a context-rich interface, APLenty intelligently selects informative samples and automates high-confidence labels. Experimental results on the CoNLL-2003 benchmark demonstrate that APLenty significantly accelerates model convergence and reduces manual annotation effort by up to 80% compared to passive learning.

Introduction

The "data bottleneck" is a well-known challenge in Natural Language Processing (NLP). While Active Learning (AL) offers a theoretical solution by selecting the most informative samples for human labeling, practical implementation often suffers from two issues: over-simplified interfaces that strip away necessary context, and a focus on simple classification rather than complex sequence labeling. APLenty bridges this gap by combining a robust visualization interface with sophisticated learning algorithms.

System Architecture and Methods

APLenty is built on the UIMA (Unstructured Information Management Architecture) framework, ensuring flexibility across various data formats. The system integrates three core strategies to enhance efficiency:

  1. Active Learning (AL): Utilizing a Conditional Random Fields (CRF) model, the system identifies unlabeled sentences where the model's confidence is lowest, prioritizing these for human review.
  2. Proactive Learning (PL): Recognizing varying expertise levels among annotators, PL routes "hard" cases to experts and "easier" cases to less-experienced staff based on a difficulty threshold.
  3. Automation: The tool automatically labels spans where the model's confidence exceeds a predefined threshold, allowing humans to focus solely on verification or correcting edge cases.
The APLenty workflow integrates model training, testing, and human-in-the-loop annotation.

The user interface is adapted from the brat annotation tool, providing the full sentence context necessary for accurate sequence labeling.

Experimental Evaluation

The effectiveness of APLenty was evaluated using the CoNLL-2003 English Named Entity Recognition (NER) benchmark. The study compared four distinct settings: Random Sampling, Active Learning, Proactive Learning, and a combined Active Learning + Automation approach.

Key Results

The experimental results highlight the clear advantages of intelligent sampling and automation:

  • Performance Gains: All active and proactive strategies significantly outperformed random sampling.
  • Rapid Convergence: The "Active Learning + Automation" configuration reached peak F1-score performance the fastest, stabilizing by the 50th iteration.
  • Labor Efficiency: The automated approach can reduce the number of tokens requiring manual annotation by approximately 60% compared to fully supervised learning and 80% compared to passive learning.
Comparison of F1 scores across different learning strategies over 100 iterations.

Conclusion and Future Work

APLenty demonstrates that integrating machine learning directly into the annotation interface can drastically reduce the cost of high-quality data. Future development will focus on expanding support for link annotation (identifying relationships between entities) and integrating with global repositories like PubAnnotation to facilitate data sharing.

Summary updated

BibTeX
@inproceedings{nghiem2018aplenty,
  author = {Minh-Quoc Nghiem and Sophia Ananiadou},
  title = {{APLenty: annotation tool for creating high-quality datasets using active and proactive learning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-2019},
}
Figure