Abstract
Semi-supervised wrapper methods are concerned with building effective supervised classifiers from partially labeled data. Though previous works have succeeded in some fields, it is still difficult to apply semi-supervised wrapper methods to practice because the assumptions those methods rely on tend to be unrealistic in practice. For practical use, this paper proposes a novel semi-supervised wrapper method, Dual Teaching, whose assumptions are easy to set up. Dual Teaching adopts two external classifiers to estimate the false positives and false negatives of the base learner. Only if the recall of every external classifier is greater than zero and the sum of the precision is greater than one, Dual Teaching will train a base learner from partially labeled data as effectively as the fully-labeled-data-trained classifier. The effectiveness of Dual Teaching is proved in both theory and practice.
Introduction
In many real-world machine learning scenarios, labeled data is expensive and scarce, while unlabeled data is abundant. Semi-supervised learning (SSL) aims to bridge this gap. Among SSL techniques, "wrapper methods" are particularly attractive because they can enhance any existing supervised algorithm (the "base learner") without requiring internal modifications.
However, traditional wrapper methods face significant practical hurdles. Self-training often suffers from error propagation, where the model reinforces its own early mistakes. Co-training requires independent "views" of the data that are rarely available. Dual Teaching addresses these limitations by shifting the focus from direct labeling to error estimation, using a framework that relies on realistic, easily met assumptions.
The Dual Teaching Framework
Dual Teaching is a recursive framework that employs two external "teacher" classifiers to identify and correct the student model's mistakes. Instead of guessing labels for unlabeled data, the teachers answer a simpler question: "Did the student get this one wrong?"
The process follows a four-step cycle:
- Zero-Initialization: The process begins with an empty set of corrected examples.
- Classification: The base learner (student) classifies the unlabeled dataset.
- Teacher Testing & Tuning: Two external classifiers—the FP Teacher (detecting False Positives) and the FN Teacher (detecting False Negatives)—are trained on a small labeled subset. Their thresholds are tuned to ensure they meet two "qualified" criteria: a recall greater than zero and a combined precision greater than one.
- Error Estimation & Re-training: The teachers identify likely errors in the student's output. These examples are corrected and added to a re-training set, which is then used to update the student model for the next generation.
Experimental Evaluation
The researchers evaluated Dual Teaching across 12 diverse datasets, including semi-supervised benchmarks (e.g., digit1, usps), UCI repository data (e.g., adult, wine quality), and image classification tasks (mnist). The method was compared against Self-Training, Co-Training, and advanced SSL methods like S3VM and S4VM across 324 different experimental cases.
Key Results
- Performance Dominance: Dual Teaching outperformed other wrapper methods in 72.3% of the tested cases.
- Reliability and Safety: A major concern in SSL is "degradation," where unlabeled data makes a model worse. Dual Teaching proved to be a "safe" choice, performing worse than baselines in only 2.8% of cases.
- Efficiency: With only 20% labeled data, the method frequently achieved accuracy levels comparable to models trained on 100% labeled data.
Conclusion
Dual Teaching offers a practical and robust solution for semi-supervised learning by utilizing "weak" teachers that only need to be slightly better than random to be effective. While the recursive nature of the method increases computational costs and requires a small validation set for teacher tuning, its high reliability makes it a superior choice for real-world binary classification tasks. Future work will focus on extending this error-estimation framework to multi-class problems.
Summary updated