Skip to main content
QUICK REVIEW

[Paper Review] Cold-start Active Learning through Self-supervised Language Modeling

Michelle Yuan, Hsuan-Tien Lin|arXiv (Cornell University)|Oct 19, 2020
Machine Learning and AlgorithmsComputer Science55 references6 citations
TL;DR

This paper proposes ALPS (Active Learning by Processing Surprisal), a cold-start active learning method for BERT-based text classification that uses masked language modeling (MLM) loss as a proxy for uncertainty. By selecting samples with high perplexity—indicating low likelihood under the pre-trained model—ALPS achieves higher accuracy with fewer labeling iterations and less computation than baseline methods, demonstrating strong efficiency and effectiveness in low-data settings.

ABSTRACT

Active learning strives to reduce annotation costs by choosing the most critical examples to label. Typically, the active learning strategy is contingent on the classification model. For instance, uncertainty sampling depends on poorly calibrated model confidence scores. In the cold-start setting, active learning is impractical because of model instability and data scarcity. Fortunately, modern NLP provides an additional source of information: pre-trained language models. The pre-training loss can find examples that surprise the model and should be labeled for efficient fine-tuning. Therefore, we treat the language modeling loss as a proxy for classification uncertainty. With BERT, we develop a simple strategy based on the masked language modeling loss that minimizes labeling costs for text classification. Compared to other baselines, our approach reaches higher accuracy within less sampling iterations and computation time.

Motivation & Objective

  • To address the challenge of active learning in low-resource settings where models are uncalibrated and data is scarce.
  • To develop a cold-start active learning strategy that does not rely on classification confidence scores or fine-tuned models.
  • To leverage pre-trained language models' self-supervised objectives as a proxy for uncertainty in data selection.
  • To improve algorithmic efficiency and model accuracy with minimal labeling effort in text classification.
  • To enable flexible sampling strategies, including batch querying, without retraining the classifier.

Proposed method

  • ALPS uses the masked language modeling (MLM) loss from a pre-trained BERT encoder as a surrogate for classification uncertainty.
  • It selects unlabeled samples with the highest MLM perplexity, assuming these are more surprising and thus more informative for fine-tuning.
  • The method operates in a cold-start setting, relying solely on the pre-trained model's self-supervision without requiring initial fine-tuning or confidence scores.
  • ALPS supports both iterative and single-batch sampling strategies, enabling flexible deployment under varying annotation budgets.
  • The algorithm is applied in a standard active learning loop: query high-surprise samples, label them, and fine-tune the classifier.
  • The approach is evaluated on four text classification datasets, comparing performance against multiple active learning baselines.

Experimental results

Research questions

  • RQ1Can self-supervised language modeling loss effectively serve as a proxy for uncertainty in cold-start active learning?
  • RQ2How does ALPS compare to traditional active learning methods in terms of accuracy and labeling efficiency?
  • RQ3Can ALPS maintain performance when sampling large batches of data at once, without retraining the classifier?
  • RQ4Does using pre-trained model perplexity improve data selection in low-resource text classification scenarios?
  • RQ5To what extent does ALPS reduce the number of labeling iterations and computational cost compared to baselines?

Key findings

  • ALPS achieves higher test accuracy than baseline active learning methods across four text classification datasets, including PubMed and IMDB.
  • The method requires fewer labeling iterations to reach peak performance, demonstrating superior sample efficiency.
  • ALPS reduces computation time by avoiding repeated model retraining after each query, as it only depends on the pre-trained encoder.
  • The algorithm maintains consistent performance whether sampling iteratively or in a single batch, showing flexibility in deployment.
  • Sampling 1,000 sentences using ALPS takes only about 97 minutes on PubMed and 7 minutes on IMDB, indicating high scalability.
  • The use of MLM perplexity as a selection criterion outperforms uncertainty sampling based on model confidence, especially in cold-start scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.