NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cold-start Active Learning through Self-supervised Language Modeling

Michelle Yuan, Hsuan-Tien Lin, Jordan L. Boyd-Graber

Introduction

Active Learning (AL) aims to minimize human annotation effort by strategically selecting the most informative examples for labeling. However, traditional AL strategies often struggle with the "cold-start" problem, where a model requires an initial pool of labeled data to identify which unlabeled examples are most beneficial. This paper introduces ALPS (Active Learning by Processing Surprisal), a novel framework that leverages the self-supervised objectives of pre-trained language models to perform effective active learning from the very first iteration, without requiring any initial labeled data.

The Cold-Start Problem in Active Learning

Most common AL strategies, such as uncertainty sampling, rely on a model's output probabilities to gauge its confidence. Deep learning models like BERT, however, are often poorly calibrated, exhibiting high confidence even when incorrect. Furthermore, these methods require a "warm start"—a small set of labeled data to train an initial classifier. While state-of-the-art methods like BADGE attempt to address this using gradient embeddings, they remain computationally expensive and still typically benefit from an initial labeled set. ALPS addresses these limitations by using the knowledge already embedded in pre-trained models to guide the selection process.

Methodology: Active Learning by Processing Surprisal (ALPS)

The core innovation of ALPS is the Surprisal Embedding, which uses the Masked Language Modeling (MLM) head of a pre-trained BERT model as a proxy for uncertainty. Unlike standard BERT training, ALPS does not mask tokens during the sampling phase. Instead, it passes the original text through the model and calculates the cross-entropy loss—or "surprisal"—for a random 15% subset of tokens.

The ALPS architecture: generating surprisal embeddings from a pre-trained BERT model.

As shown in the figure above, the process involves:

  1. Surprisal Calculation: Computing the MLM loss for selected tokens in an unmasked sentence. High loss indicates the model is "surprised" by the context, suggesting the sentence contains novel information.
  2. Embedding Generation: These per-token losses form a surprisal vector, which is then L2-normalized to create a sentence-level embedding.
  3. Diversity via Clustering: To ensure the selected batch is representative of the entire dataset, ALPS applies $k$-means clustering to these surprisal embeddings and selects examples closest to the cluster centers.

This approach transforms the data into a "surprisal space" where clusters are significantly more distinct than in raw semantic embedding space. The authors report a Silhouette coefficient improvement from 0.04 (raw embeddings) to 0.38 (surprisal embeddings), facilitating more effective representative sampling.

Experimental Evaluation

ALPS was evaluated against several baselines, including Random sampling, Entropy sampling, and the previous state-of-the-art, BADGE. Testing spanned four diverse text classification datasets: AG News (news), IMDB (sentiment), SST-2 (sentiment), and PubMed 20k RCT (medical abstracts). The PubMed dataset is particularly challenging due to its specialized domain and class imbalance.

Results and Analysis

Experimental results demonstrate that ALPS consistently outperforms traditional baselines and matches or exceeds the performance of BADGE, particularly in the critical early iterations of the labeling process.

F1 Score performance across four datasets. ALPS (yellow) shows strong performance in the cold-start phase (0-400 labeled sequences).

Key findings include:

  • Superior Cold-Start Performance: As illustrated in the performance curves, ALPS (yellow line) achieves higher F1 scores faster than other methods across all datasets.
  • Efficiency: ALPS is significantly faster than gradient-based methods. On the PubMed dataset, ALPS required only 24 minutes per iteration, compared to 70 minutes for BADGE. This efficiency stems from relying on the pre-trained encoder rather than requiring model retraining after every few labeled documents.
  • Domain Robustness: In specialized domains like PubMed, where simple entropy-based uncertainty sampling often fails, ALPS maintained high performance by ensuring a diverse selection of informative examples.

Conclusion

ALPS provides a robust and efficient solution to the cold-start problem in active learning for NLP. By repurposing the self-supervised MLM objective as a measure of uncertainty and combining it with diversity-based clustering, ALPS enables high-performance active learning from the outset. While its primary advantage is in the early stages of data labeling, its speed and lack of reliance on initial labels make it a powerful tool for practical machine learning workflows.

Summary updated

BibTeX
@inproceedings{yuan2020cold,
  author = {Michelle Yuan and Hsuan-Tien Lin and Jordan L. Boyd-Graber},
  title = {{Cold-start Active Learning through Self-supervised Language Modeling}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.637},
}
Figure