Introduction
Text classification remains a fundamental task in Natural Language Processing (NLP). However, the reliance on large-scale human-labeled datasets often presents a significant bottleneck for domain-specific applications. Weakly-supervised methods offer a solution by utilizing only label names (e.g., "Politics," "Sports") as supervision. Despite their promise, traditional approaches suffer from two major flaws: context blindness—often relying on brittle keyword matching—and error propagation, where initial labeling mistakes are amplified during training.
PIEClass (Prompting and Iterative Ensemble Training) addresses these issues by leveraging the contextual understanding of Pre-trained Language Models (PLMs) and a robust iterative refinement process that rivals fully supervised performance.
The PIEClass Framework
The PIEClass framework consists of two primary stages: initial pseudo-labeling via zero-shot prompting and a subsequent noise-robust iterative ensemble training loop.
1. Zero-Shot Prompting for Pseudo-Labeling
Instead of static keyword matching, PIEClass employs a moderate-sized PLM to assign initial labels. The authors specifically highlight the effectiveness of ELECTRA, a discriminative model, for this task. By constructing templates such as [Document] + It was [Label], the model uses its internal probability scores to identify the most confident examples in an unlabeled corpus, creating a high-quality initial set of pseudo-labels. This approach handles polysemy and rhetoric far better than previous keyword-based state-of-the-art methods.
2. Noise-Robust Iterative Ensemble Training
To mitigate error propagation, PIEClass enters an iterative loop where it trains an ensemble of classifiers. These classifiers utilize two distinct fine-tuning "views" of the data:
- Head Token Fine-Tuning: A sequence-level approach that analyzes the entire document through the
[CLS]token. - Prompt-Based Fine-Tuning: A token-level approach that aligns classification with the model's original pre-training objective (e.g., Masked Language Modeling or Replaced Token Detection).
The system employs a "co-training" philosophy: it only retains pseudo-labels where all models in the ensemble agree with high confidence. This intersection operation acts as a powerful noise filter, ensuring that idiosyncratic errors from one fine-tuning method do not corrupt the training set.
Experimental Evaluation
PIEClass was evaluated across seven diverse benchmark datasets, covering news topic classification (AGNews, 20News, NYT-Topics, NYT-Fine) and sentiment analysis (Yelp, IMDB, Amazon).
Key Results
- State-of-the-Art Performance: PIEClass consistently outperformed major weakly-supervised baselines, including WeSTClass, LOTClass, and XClass, across all tested datasets.
- Closing the Supervision Gap: On sentiment analysis tasks like Yelp and IMDB, PIEClass achieved performance nearly identical to fully supervised models (e.g., a 0.957 F1 score on Yelp, matching the fully supervised benchmark).
- Efficiency: The framework is significantly faster than iterative keyword-based methods. For instance, on the 20News dataset, PIEClass reached superior accuracy in approximately 3 hours, compared to 30 hours for the ClassKG baseline.
Discussion and Conclusion
The success of PIEClass stems from its ability to move beyond keyword matching to true contextual understanding. By utilizing the intersection of different fine-tuning strategies, the model achieves a level of robustness previously unseen in weak supervision. While the choice of "verbalizers" (label words) remains a factor in performance, PIEClass represents a significant step toward high-performance text classification without the need for exhaustive manual labeling. Future work may extend this iterative ensemble approach to more complex tasks such as Named Entity Recognition and Relation Extraction.
Summary updated