Skip to main content
QUICK REVIEW

[Paper Review] Uncertainty-aware Self-training for Text Classification with Few Labels

Subhabrata Mukherjee, Ahmed Hassan Awadallah|arXiv (Cornell University)|Jun 27, 2020
Topic ModelingComputer Science40 references41 citations
TL;DR

The paper proposes an uncertainty-aware self-training framework (UST) for text classification with few labels by incorporating Bayesian uncertainty via MC dropout, BALD-based sample selection, and confident learning to improve pseudo-label quality without extra resources.

ABSTRACT

Recent success of large-scale pre-trained language models crucially hinge on fine-tuning them on large amounts of labeled data for the downstream task, that are typically expensive to acquire. In this work, we study self-training as one of the earliest semi-supervised learning approaches to reduce the annotation bottleneck by making use of large-scale unlabeled data for the target task. Standard self-training mechanism randomly samples instances from the unlabeled pool to pseudo-label and augment labeled data. In this work, we propose an approach to improve self-training by incorporating uncertainty estimates of the underlying neural network leveraging recent advances in Bayesian deep learning. Specifically, we propose (i) acquisition functions to select instances from the unlabeled pool leveraging Monte Carlo (MC) Dropout, and (ii) learning mechanism leveraging model confidence for self-training. As an application, we focus on text classification on five benchmark datasets. We show our methods leveraging only 20-30 labeled samples per class for each task for training and for validation can perform within 3% of fully supervised pre-trained language models fine-tuned on thousands of labeled instances with an aggregate accuracy of 91% and improving by upto 12% over baselines.

Motivation & Objective

  • Motivate reducing annotation bottlenecks for text classification by leveraging unlabeled data.
  • Develop an uncertainty-aware self-training framework that uses Bayesian uncertainty to guide pseudo-labeling.
  • Investigate sample selection strategies based on uncertainty to minimize drift from noisy pseudo-labels.
  • Demonstrate effectiveness on five benchmark text classification datasets with very few labeled examples.

Proposed method

  • Fine-tune a pre-trained language model (BERT) on a small labeled set to serve as the teacher.
  • Use MC dropout to obtain uncertainty estimates by performing multiple stochastic forward passes on unlabeled data.
  • Compute BALD-based acquisition scores to rank unlabeled instances by teacher confusion for sample selection.
  • Augment training with hard pseudo-labels from selected unlabeled instances and retrain the student model end-to-end.
  • Incorporate predictive variance into the unlabeled data loss to implement confident learning, emphasizing low-variance samples.
  • Compare easy vs hard sampling, class-dependent selection, and confided learning components via ablations.

Experimental results

Research questions

  • RQ1Can uncertainty-aware sampling improve self-training for text classification with very limited labels?
  • RQ2Does BALD-based sample selection outperform uniform sampling or backtranslation-based augmentation in this setting?
  • RQ3What is the impact of incorporating predictive variance (confident learning) on pseudo-label quality and final accuracy?
  • RQ4How do class-balanced sampling and ablations of components affect performance stability across runs?

Key findings

  • UST outperforms baselines including standard self-training and backtranslation-based UDA under the same encoder (BERT-Base) and with 30 labeled samples per class.
  • Across five datasets, UST achieves higher aggregate accuracy and reduced variance compared to baselines (average improvement over base model and/or baselines reported in the paper).
  • Class-dependent sampling with exploration and confident learning contribute to robustness and higher accuracy in ablations.
  • Uncertainty-based sampling (BALD) with easy vs hard strategies shows that easy sampling often yields stronger improvements in this self-training setting.
  • The method achieves close to fully supervised performance with thousands of labeled instances using only 20-30 labeled samples per class and large unlabeled pools.
  • UST demonstrates up to 12% absolute improvement over the base model in aggregate accuracy across tasks.

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.