Abstract
This research explores the integration of Active Learning (AL) with state-of-the-art deep pre-trained models like BERT and ELECTRA for sequence tagging tasks. We demonstrate that AL can reduce the required annotation budget by up to 84% while maintaining 99% of a model's peak performance. Furthermore, we show that lightweight distilled models (e.g., DistilBERT) can effectively select informative data points for larger models, significantly accelerating the AL iteration cycle without sacrificing quality.
Introduction
Sequence tagging, including tasks like Named Entity Recognition (NER), is a cornerstone of Natural Language Processing. However, creating high-quality labeled datasets is often prohibitively expensive, requiring expert knowledge in specialized fields. Active Learning (AL) addresses this by iteratively selecting only the most informative examples for human labeling. While AL is well-established, its performance with modern Transformer architectures and Bayesian uncertainty estimation in the context of sequence tagging has not been fully mapped. This study tackles these gaps, focusing on both performance gains and computational efficiency.
Methodology
The study evaluates several model architectures and query strategies across two benchmark datasets: CoNLL-2003 and OntoNotes 5.0.
Models and Baselines
The researchers compared traditional baselines, such as Conditional Random Fields (CRF) and CNN-BiLSTM-CRF, against deep pre-trained models including ELMo, BERT, DistilBERT, and ELECTRA.
Query Strategies and Uncertainty Estimation
Query strategies included deterministic methods like Maximum Normalized Log-Probability (MNLP) and Bayesian methods such as Variation Ratio (VR) and Bayesian Active Learning by Disagreement (BALD). To estimate uncertainty efficiently, the authors employed Monte Carlo (MC) Dropout, specifically testing "MC last" (applying dropout only to the final classification layer) versus "MC all" (applying it to all layers).
Model Mismatching
A novel aspect of the study involved using a "distilled" acquisition model (DistilBERT) to pick data for a larger "successor" model (BERT). This approach aims to speed up the human-in-the-loop annotation process by using faster models for data selection.
Key Insights
- Pre-training Synergy: Deep pre-trained models are inherently "AL-ready." Their broad language understanding allows them to reach high performance with very few labeled examples, making the biased sampling of AL highly effective.
- Efficient Uncertainty: For Transformers, "MC Last" provides uncertainty estimates comparable to full-model dropout but at a fraction of the computational cost.
- Distilled Proxies: DistilBERT acts as an effective proxy for BERT. Because they share similar internal representations, the data DistilBERT finds informative is typically what BERT needs to see, allowing for a much faster annotation loop.
- ELECTRA Efficiency: ELECTRA proved to be highly efficient, training over 10x faster than traditional CNN-BiLSTM-CRF models while delivering superior performance.
Results
The combination of AL and Transformer models yielded significant data savings. To reach 99% of full-dataset performance, ELECTRA + AL required only 20% of the CoNLL-2003 data, while BERT + AL required only 16% of OntoNotes. In contrast, random sampling required 44-46% of the data to reach the same threshold.
Furthermore, using DistilBERT as an acquisition model reduced the duration of an AL iteration significantly (total time of 88 seconds vs. 150+ for larger models), with virtually no drop in the final successor model's performance.
Conclusion
This study demonstrates that combining Active Learning with deep pre-trained models and efficient Bayesian uncertainty estimates can drastically reduce the cost of sequence tagging. The use of distilled models as proxies for data acquisition offers a practical path toward real-time human-in-the-loop annotation systems. Future work will investigate batch selection strategies to ensure sample diversity and test these methods in highly specialized domains like medicine and law.
Summary updated