Uncertainty-aware Parameter-Efficient Self-training for Semi-supervised Language Understanding

Jianing Wang, Qiushi Sun, Nuo Chen, Chengyu Wang, Jun Huang, Ming Gao, Xiang Li

Abstract

Large Pre-trained Language Models (PLMs) often struggle in few-shot scenarios due to their high data requirements. While self-training offers a path forward by leveraging unlabeled data, it is frequently hampered by confirmation bias from noisy pseudo-labels and the prohibitive computational cost of full-parameter fine-tuning. We present UPET (Uncertainty-aware Parameter-Efficient self-Training), a framework that addresses these challenges by combining Bayesian uncertainty estimation with parameter-efficient learning. UPET filters unreliable pseudo-labels through Monte Carlo Dropout and optimizes only a fraction of model parameters. Our results demonstrate that UPET achieves state-of-the-art performance across multiple NLU tasks while significantly reducing training time and memory overhead.

Introduction

The "data-hungry" nature of models like RoBERTa makes them difficult to deploy in domains with limited labeled data. Self-training, where a "teacher" model generates pseudo-labels for a "student" model, is a common solution. However, two major issues persist:

  1. Confirmation Bias: If a teacher provides incorrect pseudo-labels, the student reinforces these errors, leading to poor generalization.
  2. Computational Cost: Iterative self-training of massive PLMs is slow and expensive.

UPET tackles these hurdles by introducing a reliable sampling mechanism and an efficient tuning strategy.

The UPET framework overview, illustrating the iterative cycle between Teacher and Student models through Reliable Example Sampling and Efficient Robust Tuning.

Methodology

Reliable Example Sampling (RES)

To mitigate confirmation bias, UPET moves beyond simple confidence (class probability) and incorporates certainty estimation. Using Monte Carlo (MC) Dropout, the teacher model processes the same input multiple times with stochastic neuron deactivation.

  • Confidence vs. Certainty: A model might assign high probability to a class (high confidence) but show high variance across dropout runs (low certainty). UPET only selects pseudo-labeled examples that satisfy both high confidence and high certainty, ensuring the student learns from high-quality data.

Efficient Robust Tuning (ERT)

To address efficiency, UPET utilizes Parameter-Efficient Learning (PEL). Instead of updating all 355 million parameters of a RoBERTa-large model, it employs techniques such as Adapters, Prefix-tuning, or P-tuning, updating as few as 1 million parameters (<1%).

Furthermore, UPET introduces Easy-Hard Contrastive Tuning. Examples where the teacher was uncertain ("hard" examples) are not simply discarded. Instead, they serve as negative samples in a contrastive loss function. This approach encourages the student model to develop more robust decision boundaries in the semantic space.

Experimental Results

The framework was evaluated on seven NLU tasks (including SST-2, MNLI, and AGNews) in a 16-shot setting.

Performance and Efficiency

  • Accuracy: UPET (using Prompt-Ptuning) achieved an average accuracy of 78.2%, outperforming standard self-training (74.6%) and other strong baselines like LiST (76.2%).
  • Efficiency: Tunable parameters were reduced from 355M to under 1M. Student training time was slashed from 11 hours to under 4 hours.
  • Ablation: Removing uncertainty-aware sampling led to a performance drop of over 2%, highlighting the importance of the RES component.

Key Insights

The authors observed that Prompt-Tuning (reusing the original pre-training head) is superior to Head-Tuning (adding a new classification layer) in self-training contexts. This is likely because prompt-based methods more effectively tap into the model's pre-existing knowledge.

Prompt-Prefix architecture, an example of the prompt-based tuning methods that the authors found to be more effective than traditional head-tuning by leveraging the pre-trained MLM head.

Conclusion

UPET provides a robust and efficient framework for few-shot semi-supervised learning. By filtering noisy labels via uncertainty estimation and utilizing parameter-efficient tuning, it makes high-performance language understanding accessible with minimal data and compute. Future work will explore extending UPET to sequence labeling and generative tasks (NLG), as well as different architectures like T5 or GPT.

Summary updated

BibTeX
@inproceedings{wang2023uncertainty,
  author = {Jianing Wang and Qiushi Sun and Nuo Chen and Chengyu Wang and Jun Huang and Ming Gao and Xiang Li},
  title = {{Uncertainty-aware Parameter-Efficient Self-training for Semi-supervised Language Understanding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.528},
}
Figure