Towards Computationally Feasible Deep Active Learning

Akim Tsvigun, Artem Shelmanov, Gleb Kuzmin, Leonid Sanochkin, Daniil Larionov, Gleb Gusev, Manvel Avetisian, Leonid Zhukov

Abstract

Active Learning (AL) is a powerful strategy for building high-performance models with minimal labeled data. However, applying AL to modern deep learning architectures—Deep AL—introduces significant computational overhead and performance trade-offs. This paper addresses two primary obstacles: the "inference bottleneck" during data selection and the "Acquisition-Successor Mismatch" (ASM) that occurs when using different model sizes for selection and final training. We introduce two novel algorithms, PLASM and UPS, which collectively reduce active learning iteration time by over 60% while maintaining or improving model performance across diverse NLP benchmarks.

Introduction

Active Learning aims to maximize model performance by selectively labeling only the most informative examples from an unlabeled pool. While theoretically efficient, Deep AL is often impractical in real-world settings. The process of evaluating an entire unlabeled pool with a deep model like BERT is computationally expensive, and attempts to speed this up by using smaller "proxy" models often lead to degraded final accuracy. This research presents a framework to make Deep AL computationally feasible on standard hardware without sacrificing the quality of the resulting model.

Challenges in Deep Active Learning

1. The Inference Bottleneck

In traditional AL, the model must perform inference on the entire unlabeled pool in every iteration to identify the most uncertain examples. For large datasets and deep architectures, this process is the primary bottleneck. The authors found that inference on the unlabeled pool often accounts for more than 50% of the total iteration time, making interactive human-in-the-loop annotation nearly impossible.

2. Acquisition-Successor Mismatch (ASM)

To mitigate the inference bottleneck, researchers often use a small, fast "acquisition" model to select data and a larger "successor" model for the final task. However, data that is informative for a small model is not necessarily useful for a larger, more expressive one. This mismatch typically results in a significant drop in final accuracy compared to using the large model for both selection and training.

Methodology

PLASM: Pseudo-Labeling for Acquisition-Successor Mismatch

PLASM allows for the use of a small acquisition model without the typical performance penalty. The method follows a specific pipeline:

  1. A small model selects data for human labeling.
  2. A high-quality "teacher" model (the successor) pseudo-labels the remaining unlabeled pool.
  3. These pseudo-labels are filtered for noise using TracIn, a technique that identifies influential samples.
  4. The final successor model is trained on a combination of the human-labeled "gold" data and the filtered pseudo-labeled data.

By using pseudo-labeling, PLASM effectively "translates" the knowledge gained during the AL process into a format the larger successor model can utilize, neutralizing the ASM problem.

UPS: Unlabeled Pool Subsampling

UPS addresses the inference bottleneck by leveraging the observation that uncertainty is locally stable. An example that the model was highly certain about in one iteration is unlikely to become highly informative in the very next round. Instead of recalculating scores for the entire pool, UPS only updates scores for:

  • The most uncertain examples from the previous round.
  • A small random sample to ensure the model explores new parts of the data distribution.

This targeted approach allows the query process to run up to 10 times faster in certain iterations.

Experimental Evaluation

The researchers evaluated PLASM and UPS on four standard Natural Language Processing (NLP) benchmarks:

  • AG News: Topic classification.
  • IMDb: Binary sentiment analysis.
  • CoNLL-2003: Named Entity Recognition (NER).
  • OntoNotes 5.0: Complex sequence tagging.

Experiments were conducted on standard hardware (e.g., a single NVIDIA Tesla V100) to ensure the findings were applicable to typical research and production environments.

Key Results and Insights

  • Significant Efficiency Gains: The combination of PLASM and UPS reduced total AL iteration duration by more than 60% on the AG News dataset.
  • Performance Recovery: PLASM successfully mitigated the performance drop caused by model mismatch. On the CoNLL-2003 dataset, the PLASM-trained successor model actually outperformed a model trained via the standard, more expensive AL approach.
  • Stability of Uncertainty: The success of UPS confirms that uncertainty rankings do not shift radically between iterations, allowing for massive speedups with negligible loss in selection quality.
  • Hardware Feasibility: These techniques demonstrate that high-performance Deep AL can be executed within a timeframe that respects a human annotator's workflow using a single GPU.

Conclusion and Future Work

PLASM and UPS represent a significant step toward making Deep Active Learning a practical tool for data scientists. By addressing both the computational cost of inference and the performance risks of model mismatch, these methods enable the training of large-scale models with significantly less labeled data and time.

Future research directions include addressing the "cold-start" problem in the initial AL iteration and exploring automated hyperparameter optimization to further reduce the manual effort required in the AL loop.

Summary updated

BibTeX
@inproceedings{tsvigun2022towards,
  author = {Akim Tsvigun and Artem Shelmanov and Gleb Kuzmin and Leonid Sanochkin and Daniil Larionov and Gleb Gusev and Manvel Avetisian and Leonid Zhukov},
  title = {{Towards Computationally Feasible Deep Active Learning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-naacl.90},
}
Figure