Skip to main content
QUICK REVIEW

[Paper Review] Neural Semi-supervised Learning for Text Classification Under Large-Scale Pretraining

Zijun Sun, Chun Chieh Fan|arXiv (Cornell University)|Nov 17, 2020
Topic ModelingComputer Science81 references10 citations
TL;DR

This paper investigates semi-supervised learning in text classification under large-scale language model pretraining, proposing that in-domain pretraining on unlabeled data $U$ is more effective than open-domain pretraining. It demonstrates that combining in-domain pretraining with pseudo-labeling boosts performance significantly—achieving 93.8% accuracy with only 50 labeled examples on IMDB and 96.6% with full data—offering a practical framework for low-resource text classification.

ABSTRACT

The goal of semi-supervised learning is to utilize the unlabeled, in-domain dataset U to improve models trained on the labeled dataset D. Under the context of large-scale language-model (LM) pretraining, how we can make the best use of U is poorly understood: is semi-supervised learning still beneficial with the presence of large-scale pretraining? should U be used for in-domain LM pretraining or pseudo-label generation? how should the pseudo-label based semi-supervised model be actually implemented? how different semi-supervised strategies affect performances regarding D of different sizes, U of different sizes, etc. In this paper, we conduct comprehensive studies on semi-supervised learning in the task of text classification under the context of large-scale LM pretraining. Our studies shed important lights on the behavior of semi-supervised learning methods: (1) with the presence of in-domain pretraining LM on U, open-domain LM pretraining is unnecessary; (2) both the in-domain pretraining strategy and the pseudo-label based strategy introduce significant performance boosts, with the former performing better with larger U, the latter performing better with smaller U, and the combination leading to the largest performance boost; (3) self-training (pretraining first on pseudo labels D' and then fine-tuning on D) yields better performances when D is small, while joint training on the combination of pseudo labels D' and the original dataset D yields better performances when D is large. Using semi-supervised learning strategies, we are able to achieve a performance of around 93.8% accuracy with only 50 training data points on the IMDB dataset, and a competitive performance of 96.6% with the full IMDB dataset. Our work marks an initial step in understanding the behavior of semi-supervised learning models under the context of large-scale pretraining.

Motivation & Objective

  • To understand whether semi-supervised learning remains beneficial when large-scale pretraining is already applied.
  • To compare the effectiveness of in-domain pretraining versus pseudo-label generation for leveraging unlabeled in-domain data $U$.
  • To determine optimal implementation strategies (e.g., self-training vs. joint training) based on dataset size.
  • To investigate how different semi-supervised strategies affect performance across varying sizes of labeled ($D$) and unlabeled ($U$) datasets.

Proposed method

  • Pretrain a language model on the in-domain unlabeled dataset $U$ to improve domain adaptation, replacing or supplementing open-domain pretraining.
  • Generate pseudo-labels for $U$ using a teacher model trained on the labeled set $D$, forming an extended training set $D'$.
  • Implement two training strategies: (1) self-training (pretrain on $D'$ then fine-tune on $D$), and (2) joint training (train on $D \cup D'$ simultaneously).
  • Apply iterative pseudo-labeling, where the student model from one iteration becomes the teacher for the next, improving label confidence over time.
  • Combine in-domain pretraining with pseudo-labeling by initializing the teacher model with a model pre-trained on $U$.
  • Evaluate performance across varying sizes of $D$ (from 50 to 25k) and $U$ (up to 3.4M reviews), using IMDB as the benchmark.

Experimental results

Research questions

  • RQ1Is semi-supervised learning still beneficial when large-scale open-domain pretraining is already performed?
  • RQ2Should unlabeled in-domain data $U$ be used for in-domain pretraining or for pseudo-label generation?
  • RQ3How do different training strategies (e.g., self-training vs. joint training) affect performance depending on the size of the labeled set $D$?
  • RQ4How does the size of $D'$ (the pseudo-labeled set) and $U$ influence model performance?
  • RQ5What is the impact of iterative pseudo-labeling on performance, especially for small $D$?

Key findings

  • In-domain pretraining on $U$ is more effective than open-domain pretraining, making the latter unnecessary when $U$ is available.
  • In-domain pretraining yields better performance with larger $U$, while pseudo-labeling performs better with smaller $U$, and their combination achieves the best results.
  • For small $D$ (e.g., 50–100 examples), self-training (pretrain on $D'$ then fine-tune on $D$) outperforms joint training; for larger $D$, joint training yields better performance.
  • Performance with $|D| = 50$ reaches 93.8% accuracy using semi-supervised learning, demonstrating strong low-resource generalization.
  • With the full IMDB dataset ($|D| = 25k$), the combined strategy achieves 96.6% accuracy, showing strong competitive performance.
  • Iterative pseudo-labeling provides additional performance gains, especially for small $D$, with performance stabilizing only after multiple iterations.

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.