Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Semi-supervised Learning with Language Models

Zhengxiang Shi, Francesco Tonolini|arXiv (Cornell University)|May 22, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper re-evaluates semi-supervised learning in NLP by empirically comparing task-adaptive pre-training (TAPT) against five state-of-the-art self-training (ST) methods across multiple NLP tasks. Surprisingly, TAPT outperforms ST methods consistently, even with minimal unlabelled data (as few as 100 samples), and demonstrates greater robustness to data scarcity and domain shifts, suggesting TAPT should be a strong baseline for future SSL research.

ABSTRACT

Semi-supervised learning (SSL) is a popular setting aiming to effectively utilize unlabelled data to improve model performance in downstream natural language processing (NLP) tasks. Currently, there are two popular approaches to make use of unlabelled data: Self-training (ST) and Task-adaptive pre-training (TAPT). ST uses a teacher model to assign pseudo-labels to the unlabelled data, while TAPT continues pre-training on the unlabelled data before fine-tuning. To the best of our knowledge, the effectiveness of TAPT in SSL tasks has not been systematically studied, and no previous work has directly compared TAPT and ST in terms of their ability to utilize the pool of unlabelled data. In this paper, we provide an extensive empirical study comparing five state-of-the-art ST approaches and TAPT across various NLP tasks and data sizes, including in- and out-of-domain settings. Surprisingly, we find that TAPT is a strong and more robust SSL learner, even when using just a few hundred unlabelled samples or in the presence of domain shifts, compared to more sophisticated ST approaches, and tends to bring greater improvements in SSL than in fully-supervised settings. Our further analysis demonstrates the risks of using ST approaches when the size of labelled or unlabelled data is small or when domain shifts exist. We offer a fresh perspective for future SSL research, suggesting the use of unsupervised pre-training objectives over dependency on pseudo labels.

Motivation & Objective

  • To directly compare the effectiveness of task-adaptive pre-training (TAPT) and self-training (ST) in semi-supervised NLP settings.
  • To investigate how TAPT and ST perform under varying amounts of labelled and unlabelled data, including low-resource scenarios.
  • To evaluate the robustness of both approaches under domain shift conditions in labelled or unlabelled data.
  • To challenge the prevailing assumption that TAPT requires large-scale data to be effective.
  • To advocate for unsupervised pre-training objectives as a more reliable alternative to pseudo-label dependency in SSL.

Proposed method

  • TAPT involves continuing pre-training a language model on task-specific unlabelled data using a masked language modeling objective before fine-tuning.
  • Self-training (ST) uses a teacher model to generate pseudo-labels for unlabelled data, which are then used to train a student model.
  • The study evaluates five state-of-the-art ST methods and TAPT across five diverse NLP tasks, including IMDB, Amazon Review, and Yahoo! Answers.
  • Experiments are conducted with varying sizes of labelled and unlabelled data, including in-domain and out-of-domain settings.
  • Hyperparameters for TAPT, fine-tuning, and self-training are carefully tuned and reported, with learning rate adjusted proportionally to unlabelled data size.
  • Robustness is evaluated under domain shifts by training on one domain and testing on a different one, assessing performance degradation or improvement.

Experimental results

Research questions

  • RQ1How does task-adaptive pre-training (TAPT) compare to state-of-the-art self-training (ST) methods in semi-supervised NLP tasks?
  • RQ2Does TAPT maintain strong performance when only a few hundred unlabelled samples are available?
  • RQ3How do TAPT and ST perform under domain shift conditions in labelled or unlabelled data?
  • RQ4Is TAPT more robust than ST when the amount of labelled or unlabelled data is limited?
  • RQ5Can unsupervised pre-training objectives provide a more reliable alternative to pseudo-labeling in semi-supervised learning?

Key findings

  • TAPT outperforms all five state-of-the-art self-training methods across multiple NLP tasks, including in low-data regimes.
  • TAPT achieves significant gains with as few as 100 unlabelled samples, challenging the assumption that it requires large-scale data.
  • In domain shift scenarios, TAPT maintains or even improves performance, while ST methods suffer substantial performance drops.
  • When labelled data is scarce, ST approaches degrade significantly, whereas TAPT remains robust across different data size combinations.
  • TAPT provides greater performance improvements in semi-supervised settings than in fully-supervised settings, indicating its particular strength in leveraging unlabelled data.
  • The results suggest that unsupervised pre-training objectives are more effective and stable than pseudo-labeling, especially in low-resource or out-of-domain settings.

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.