AcTune: Uncertainty-aware Active Self-Training for Semi-Supervised Active Learning with Pretrained Language Models

Yue Yu, Lingkai Kong, Jieyu Zhang, Rongzhi Zhang, Chao Zhang · DOI

Abstract

While pre-trained language model (PLM) fine-tuning has achieved strong performance in many NLP tasks, the fine-tuning stage can be still demanding in labeled data. Recent works have resorted to active fine-tuning to improve the label efficiency of PLM fine-tuning, but none of them investigate the potential of unlabeled data. We propose AcTune, a new framework that leverages unlabeled data to improve the label efficiency of active PLM fine-tuning. AcTune switches between data annotation and model self-training based on uncertainty: it selects high-uncertainty unlabeled samples for active annotation and low-uncertainty ones for model self-training. Under this framework, we design (1) a region-aware sampling strategy that reduces redundancy when actively querying for annotations and (2) a momentum-based memory bank that dynamically aggregates the model's pseudo labels to suppress label noise in self-training. Experiments on 6 text classification datasets show that AcTune outperforms the strongest active learning and self-training baselines and improves the label efficiency of PLM fine-tuning by 56.2% on average.

Introduction

Fine-tuning Pretrained Language Models (PLMs) like BERT or RoBERTa has revolutionized NLP, but these models remain notoriously data-hungry. To reduce the cost of human labeling, researchers typically employ two strategies: Active Learning (AL), which selects the most informative samples for human annotation, and Self-Training (ST), which uses the model's own confident predictions as pseudo-labels for unlabeled data.

However, combining these approaches is difficult. Active learning often selects redundant samples that waste the labeling budget, while self-training is prone to "error propagation," where model mistakes are reinforced during training. AcTune addresses these challenges by coordinating AL and ST through a unified uncertainty-driven framework, effectively acting as a traffic controller for unlabeled data.

Methodology

AcTune introduces three core innovations to unify active learning and self-training:

  • Uncertainty-Based Switching: The framework calculates model uncertainty for all unlabeled data in each training round. It targets high-uncertainty regions for human annotation (AL) and low-uncertainty regions for self-training (ST).
  • Region-Aware Sampling (RS): To avoid querying near-duplicate samples, AcTune clusters data in the PLM's embedding space. It then selects samples from multiple high-uncertainty clusters, ensuring the queried data is both informative and diverse.
  • Momentum-based Memory Bank (MMB): To solve the "noisy pseudo-label" problem, AcTune maintains an exponential moving average of predictions over multiple rounds. Only samples that the model is consistently confident about are used for self-training, filtering out "lucky guesses" that could lead to training errors.

Experimental Evaluation

The authors evaluated AcTune on six diverse text classification benchmarks, including general topic datasets (SST-2, AG News, DBPedia), domain-specific medical abstracts (Pubmed-RCT), and weakly-supervised tasks (TREC, Chemprot).

Key Results

AcTune consistently outperformed state-of-the-art baselines such as BADGE, ALPS, and CAL across all datasets.

  • Label Efficiency: On average, AcTune improves label efficiency by 56.2%. As shown in the comparison below, AcTune reaches target performance levels using significantly fewer human-labeled samples than standard AL or ST methods.
  • Performance Gains: In semi-supervised settings, AcTune achieved absolute accuracy gains of up to 1.5% over existing methods. Performance curves demonstrate that AcTune variants maintain a consistent lead as the labeling budget increases.
Comparison of label efficiency across four datasets.
Performance curves on the Pubmed dataset in the semi-supervised active learning (SSAL) setting.

Key Insights

  • Dual-Purpose Uncertainty: Uncertainty is not just for finding what the model doesn't know; it is equally useful for identifying what the model knows well enough to teach itself.
  • Diversity and Stability: By using weighted K-Means clustering (RS), the authors show that a sample's position in the data distribution is as vital as its difficulty. Furthermore, the MMB highlights that stability over time is a better indicator of pseudo-label quality than immediate confidence.

Conclusion and Future Work

AcTune demonstrates that intelligently leveraging unlabeled data can drastically reduce the human effort required for PLM fine-tuning. While highly effective for text classification, future research may extend this framework to more complex tasks like sequence labeling or Natural Language Inference (NLI), and explore its performance with larger model scales and prompt-tuning techniques.

Implementation available at: https://github.com/yueyu1030/actune

Summary updated

BibTeX
@misc{yu2021actune,
  author = {Yue Yu and Lingkai Kong and Jieyu Zhang and Rongzhi Zhang and Chao Zhang},
  title = {{AcTune: Uncertainty-aware Active Self-Training for Semi-Supervised Active Learning with Pretrained Language Models}},
  year = {2021},
  eprint = {2112.08787},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.08787},
}
Figure