- Introduced by
- Blum & Mitchell (co-training); Zhou & Li (tri-training)
- Year
- 1998–2005
- Type
- Ensemble + semi-supervised hybrid paradigm
- Family
- Machine learning
What does it do?
Ensemble semi-supervised learning combines several base learners with the semi-supervised paradigm, so that a small labeled set and a large unlabeled pool are both used for training.
Diverse learners label unlabeled examples for one another, through pseudo-labeling or co-training, which can improve generalization when labels are scarce.
The intuition behind the method
Imagine several classifiers that each see the problem from a slightly different angle. Each one labels the unlabeled examples it is confident about, and those labels are then used to train the others. Disagreement between the learners marks examples that are uncertain and should not yet be trusted. The ensemble structure limits the damage from any single learner's mistakes, while the semi-supervised loop enlarges the effective training set without requiring more manual labels.
History
Co-training originates with Blum and Mitchell (1998), who studied learning from a small labeled set and a large unlabeled set when each example can be split into two views, motivated by web-page classification, and who gave a PAC-style analysis of this setting. Zhou and Li (2005) proposed tri-training, which generates three classifiers from the labeled data and labels an unlabeled example for one classifier when the other two agree under certain conditions; they report experiments on UCI data sets and web-page classification.
When to use it
Use ensemble semi-supervised learning when labeled data is scarce and expensive to obtain but a large unlabeled corpus is available, so that expert annotation is the bottleneck. It is most suitable when the unlabeled data comes from the same distribution as the labeled set and when more than one natural feature view exists, such as text plus metadata. Avoid it when the unlabeled data is distribution-shifted from the labeled set, because pseudo-labels will then be systematically wrong and the ensemble will reinforce those errors. Also avoid it when a fully labeled dataset of reasonable size can be obtained; supervised ensembles such as random forests or gradient boosting are simpler and more reliable in that case.
Limitations and considerations
- If the unlabeled pool differs in distribution from the labeled set, pseudo-labels are systematically biased and the ensemble trains on those errors.
- Computational cost grows with the number of base learners and with the number of unlabeled examples scored in each round.
- The Blum and Mitchell analysis of co-training depends on each view being sufficient for learning, together with further assumptions about how the two views relate, which must be checked in the original paper. Such assumptions are hard to verify for a given dataset and may not hold in practice. Tri-training avoids the view requirement, but its results depend on its agreement conditions.
- Performance is sensitive to the confidence or agreement rule used to accept pseudo-labels.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Uses cheap unlabeled data to compensate for expensive labeled annotation.
- Co-training as described by Blum and Mitchell comes with a PAC-style analysis, but that analysis is for the setting where each example splits into two views, each sufficient for learning if enough labels were available.
- Tri-training does not require sufficient and redundant views and places no constraint on the supervised learning algorithm, so it applies to single-view data and to a wider range of base learners than earlier co-training methods.
- Disagreement among ensemble members can serve as a heuristic signal of uncertainty, for example to hold back examples from pseudo-labeling.
Applications
- Web page classification using both text and hyperlink views as co-training feature splits.
- Web page classification experiments of the kind reported for tri-training, in which unlabeled web pages enlarge a small labeled set.
How it works
How it works
Begin with a small labeled set L and a large unlabeled pool U. Optionally split the feature space into distinct views, as co-training requires, or create diversity through different algorithms or feature subsets, so that each learner processes the unlabeled data from a different angle.
Train each base learner on the labeled set L. Diversity matters: it can come from different algorithms, feature subsets, or bootstrap samples of L, so that the learners disagree on genuinely uncertain instances rather than sharing the same blind spots.
Each learner predicts labels for the unlabeled pool U. In tri-training, an unlabeled example is labeled for one classifier when the other two agree, provided certain conditions hold. The exact conditions are given in Zhou and Li (2005) and should be applied as stated there. More generally, predictions that are confident enough or that gain majority agreement are promoted to pseudo-labels and added to L, while examples on which the learners disagree remain unlabeled for that round.
Repeat the train-and-pseudo-label cycle so that the effective labeled set grows gradually. A validation criterion on held-out labeled data, with early stopping when it stops improving, limits how far the ensemble propagates its own early errors into the unlabeled pool, which is the main failure mode of the approach.
At inference time the trained base learners combine their predictions. For classification, the usual combination is a majority vote over the K learners. Weighted combinations are also possible when the learners differ in reliability, but the weights must be defined explicitly for the chosen scheme.
Formula
\hat{y} = \text{majority vote or weighted average of } K \text{ learners}Common pitfalls
- Using unlabeled data from a different distribution (e.g., a different hospital, time period, or domain) without checking for covariate shift.
- Setting pseudo-label confidence thresholds too low, letting noisy labels flood the training set and degrade all base learners.
- Forgetting to validate on a held-out labeled set at each iteration; without this, error propagation is invisible until final evaluation.
- Treating ensemble agreement as ground truth rather than as a soft confidence signal.
- Skipping the diversity step and training identical base learners, which collapses the ensemble into a single model with extra overhead.
Frequently asked questions
How is this different from standard semi-supervised learning?
Standard semi-supervised methods such as self-training or label propagation typically use a single model to exploit unlabeled data. Ensemble semi-supervised learning uses several learners that label examples for one another. Using several learners can limit the reinforcement of one model's errors, but mainly when the learners are sufficiently diverse; this should be checked empirically on your data.
How many base learners are needed?
Co-training is defined with two views, and tri-training with three classifiers, as in the original papers. Beyond these designs, the number of learners is an empirical choice with no general rule. Check the choice on held-out labeled data before adding members.
What confidence threshold should I use for pseudo-labeling?
There is no universal threshold. A common practice is to start conservatively, admitting only the most confident predictions, and to monitor validation accuracy after each round. If validation performance stops improving or drops, the acceptance rule is probably too permissive.
Can I use gradient boosting or random forest as the base learner?
Yes, provided the learner gives usable confidence or class scores for the acceptance rule. Random forests and gradient boosting already combine many trees, so using them inside a semi-supervised loop produces a layered ensemble. This is a design choice that should be validated, not a guaranteed improvement.
How do I detect when pseudo-label propagation is going wrong?
Track validation loss on the held-out labeled set after each pseudo-labeling round. Increasing validation loss while training loss continues to drop is a clear sign of error propagation. Reducing the confidence threshold or adding a disagreement filter usually corrects this.
Related methods
Sources
Zhou, Z.-H., & Li, M. (2005). Tri-training: Exploiting unlabeled data using three classifiers. IEEE Transactions on Knowledge and Data Engineering, 17(11), 1529–1541.
Open DOI referenceBlum, A., & Mitchell, T. (1998). Combining labeled and unlabeled data with co-training. Proceedings of the 11th Annual Conference on Computational Learning Theory (COLT 1998), pp. 92–100. ACM.
Open DOI reference