Introduction
The advent of large-scale pre-trained language models like BERT has significantly advanced natural language processing. However, fine-tuning these models for specific downstream tasks typically requires substantial amounts of labeled data. This "annotation bottleneck" poses a significant challenge in domains where labeling is expensive, time-consuming, or restricted by privacy concerns.
Self-training offers a potential solution by leveraging a small set of labeled data to pseudo-label a larger unlabeled corpus. However, standard self-training often suffers from "confirmation bias," where the model reinforces its own incorrect predictions. This paper introduces Uncertainty-aware Self-training (UST), a framework designed to mitigate these issues by incorporating Bayesian uncertainty estimates into the pseudo-labeling process.
Methodology: The UST Framework
The core innovation of UST is the use of uncertainty to select and weight unlabeled samples during the self-training cycle. The process involves three primary stages:
- Uncertainty Estimation via MC Dropout: Rather than relying on a single deterministic prediction, UST employs Monte Carlo (MC) Dropout. By performing multiple forward passes with different dropout masks, the model generates a distribution of predictions. High variance across these passes indicates model uncertainty, while low variance suggests confidence.
- Sample Selection: UST uses the Bayesian Active Learning by Disagreement (BALD) metric to rank unlabeled instances. The authors found that selecting "easy" samples (those with low uncertainty) is generally more effective for self-training than selecting "hard" samples, as it minimizes the introduction of noise into the student model.
- Confident Learning: The training objective for the student model is modified to emphasize samples where the teacher model exhibits high confidence (low variance). This ensures that the student prioritizes learning from the most reliable pseudo-labels.
Experimental Setup
The researchers evaluated UST across five diverse text classification benchmarks, including sentiment analysis (SST-2, IMDB, Elec) and topic classification (DBpedia, AG News). To simulate a "few-label" scenario, the models were trained using only 20 to 30 labeled examples per class, with the remainder of the training sets treated as unlabeled data.
Key Results and Discussion
UST demonstrates significant performance improvements over standard BERT-Base models trained solely on limited labels. Key findings include:
- Performance Gains: UST achieved an aggregate accuracy of 91% across the five benchmarks with only 30 labels per class. This performance is within 3% of fully supervised models trained on thousands of examples.
- Reliability of Variance: The study confirms that Bayesian variance is a more reliable indicator of pseudo-label correctness than standard softmax probabilities, which are often overconfident.
- Efficiency: Unlike other semi-supervised methods that require external resources (e.g., back-translation models for data augmentation), UST operates purely on the provided dataset.
Conclusion and Future Work
Uncertainty-aware Self-training provides a robust mechanism for fine-tuning language models in low-resource settings. By effectively filtering and weighting pseudo-labels based on Bayesian uncertainty, UST bridges the gap between few-shot learning and full supervision.
While the computational cost of multiple MC Dropout passes is a notable trade-off, the substantial accuracy gains justify the overhead in data-scarce environments. Future research may explore more efficient Bayesian approximations and the application of UST to structured prediction tasks like sequence labeling.
Summary updated