- Introduced by
- Prokhorenkova et al. (CatBoost); semi-supervised paradigm from Chapelle et al.
- Year
- 2018 (CatBoost); semi-supervised learning framework predates 2006
- Type
- Semi-supervised ensemble (gradient boosting)
- Family
- Machine learning
What does it do?
Semi-supervised CatBoost applies CatBoost gradient boosting to tabular training sets in which only some rows carry labels.
An initial model fitted on the labeled rows assigns provisional labels to confidently predicted unlabeled rows, and the model is then refitted on the enlarged set. It is not a standardised named algorithm, so results depend on the specific pseudo-labeling pipeline used.
The intuition behind the method
When labeled rows are scarce and unlabeled rows are plentiful, a model trained only on labels ignores structure that the unlabeled rows may carry. Semi-supervised CatBoost first fits CatBoost on the labeled part, uses that model to label unlabeled rows it is confident about, and refits on the combined set. CatBoost's native handling of categorical columns means those columns need no separate encoding step, although the pseudo-labeling loop must be built as an external procedure around the standard training interface.
History
CatBoost is introduced in the cited 2018 NeurIPS paper by Prokhorenkova and colleagues, which describes ordered boosting and native categorical feature handling. Semi-supervised learning as a field is surveyed in Chapelle, Scholkopf and Zien (2006). Combining pseudo-labeling with CatBoost is not a named method with a documented originator; it is best understood as an applied pattern built from these two components.
When to use it
Choose this approach when labeled tabular rows are few relative to unlabeled rows, annotation is costly, and the unlabeled rows plausibly come from the same distribution as the labeled ones. It suits tables with many categorical columns, since CatBoost encodes them natively. Do not use it when unlabeled data differs systematically from labeled data (covariate shift), because pseudo-labels are least reliable where the model is extrapolating. Avoid it when the labeled set already gives stable held-out performance, since added pseudo-labels then bring little benefit and some risk, and avoid it when every prediction must be traceable to a true label, because propagated labels are harder to audit.
Limitations and considerations
- Pseudo-labels come from the initial model, so its errors can be reinforced in later rounds, and nothing in the procedure corrects them without new true labels.
- Gains depend on the smoothness and cluster assumptions that semi-supervised learning relies on, as surveyed by Chapelle, Scholkopf and Zien (2006). If class structure does not align with the input distribution, unlabeled rows add little or mislead the model.
- The confidence threshold, the admission schedule and the number of rounds are extra hyperparameters on top of CatBoost's own tuning space.
- If pseudo-labels are created before data splitting, cross-validation can leak information between folds, and the size and direction of any optimistic bias depend on how the split was designed.
- The standard CatBoost training interface expects a label for every training row, so the semi-supervised behaviour has to be implemented as an external loop around it.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Uses unlabeled rows to add training signal when labels are costly, which is the main reason to prefer this approach over plain CatBoost.
- Categorical columns can be passed directly to CatBoost, so the pipeline does not need a separate one-hot or target-encoding step for them.
- Ordered boosting, the mechanism introduced in the cited CatBoost paper, is kept in every refit, so the supervised component keeps CatBoost's usual training behaviour on the labeled rows.
- The loop wraps the fit and predict steps, so the same procedure can be run with other gradient-boosting learners as a controlled comparison.
- The confidence threshold gives an explicit control over how much unlabeled data is admitted in each round.
Applications
- Possible use in credit risk and fraud detection, where labeled fraud cases are rare but transaction logs are plentiful.
- Possible use in medical diagnosis on partially annotated clinical tabular datasets.
- Possible use in e-commerce recommendation and churn prediction, where only a fraction of user events carry explicit labels.
- Possible use in industrial quality control, where sensor readings are abundant but labeled defect instances are few.
- Possible use in natural language processing feature tables in which only a subset of documents has been human-annotated.
How it works
How it works
CatBoost is trained on the labeled subset, with categorical columns declared as categorical so that its built-in encoding applies. The resulting model produces predictions or class probabilities for the unlabeled rows, and how well those probabilities are calibrated largely determines the quality of everything that follows.
Each unlabeled row is scored, and only rows whose predicted class probability passes a chosen confidence threshold receive a provisional hard label. Before the threshold is chosen, check calibration on labeled held-out rows, for example with a reliability curve or expected calibration error, comparing predicted probabilities with observed class frequencies. Soft pseudo-labels, which keep the predicted probabilities, are a possible alternative, but whether a given CatBoost setup can train on soft targets should be verified for the library version in use.
Accepted pseudo-labeled rows are appended to the labeled rows to form a larger training set. The threshold and the share of unlabeled rows admitted per round control the trade-off between additional information and label noise, and admitting rows gradually keeps the true labels dominant in early rounds.
CatBoost is refitted on the augmented set. The ordered boosting described in the cited CatBoost paper, which limits target leakage by computing statistics over examples in a permuted order, is not designed around pseudo-labels, so it treats them in the same way as true labels. This is an inference from the method's design, since the paper does not address pseudo-labeling. Pseudo-labels that are predictions of an earlier model can therefore reinforce that model's errors, so they should be treated as less reliable than true labels when the pipeline is designed.
The pseudo-labeling and retraining cycle can be repeated, with each round starting from the augmented set produced by the previous one. Evaluation should use a held-out set containing only true labels, because scores on rows that received pseudo-labels mainly measure agreement with the model's own earlier predictions.
Common pitfalls
- Adding pseudo-labels from an uncalibrated initial model without confidence filtering, which injects systematic errors into later rounds.
- Scoring the model on rows that received pseudo-labels; this measures agreement with the model's own earlier predictions, not accuracy on true labels.
- Admitting all unlabeled rows at once, so pseudo-labeled rows outnumber the true labels and dominate the fit.
- Ignoring covariate shift: a model that is confident on unlabeled rows from a different population will produce confident but wrong pseudo-labels.
- Comparing against plain CatBoost trained on different labeled rows or evaluated on a different test set; baselines should share the same labeled data and held-out evaluation set.
Frequently asked questions
Does CatBoost natively support semi-supervised learning?
No. The standard CatBoost training interface expects a label for every training row. Semi-supervised use is built as an external pseudo-labeling loop around that interface.
What confidence threshold should I use for pseudo-labeling?
There is no universal value. The right threshold depends on how well calibrated the initial model's probabilities are, so check calibration on held-out labeled rows, for example with a reliability curve, before choosing one. Start conservatively, admitting only high-confidence pseudo-labels, and relax the threshold only if held-out performance keeps improving.
How do I prevent error propagation from noisy pseudo-labels?
Filter pseudo-labels by confidence, limit the number of rounds, admit them gradually, and evaluate on a held-out set of true labels that never receives pseudo-labels. Soft pseudo-labels can be considered, but their support depends on the implementation.
When is semi-supervised CatBoost not worth the added complexity?
When the labeled set already gives stable held-out performance, unlabeled rows often add little, and the extra pipeline is not justified. Standard supervised CatBoost trained on the same labeled rows should be the baseline comparison.
How does this differ from self-supervised CatBoost?
Self-supervised learning generates its own supervisory signal from the data structure itself (e.g., masked feature prediction), without relying on any ground-truth labels. Semi-supervised CatBoost still anchors to a labeled subset and uses the model trained on that subset to propagate labels to unlabeled examples.
Related methods
Sources
Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V., & Gulin, A. (2018). CatBoost: unbiased boosting with categorical features. In Advances in Neural Information Processing Systems (NeurIPS), 31.
Open publication referenceChapelle, O., Scholkopf, B., & Zien, A. (Eds.). (2006). Semi-Supervised Learning. MIT Press.
ISBN: 978-0-262-03358-9