- Introduced by
- Various researchers (Zhang et al. and others)
- Year
- 2020s
- Type
- Ensemble (self-supervised + gradient boosting)
- Family
- Machine learning
What does it do?
Self-supervised gradient boosting is a proposed approach to tabular prediction.
It adds a self-supervised stage that learns from unlabeled rows, then uses pseudo-labels from that stage to train a boosting ensemble on a larger training set than the labeled rows alone. The approach rests on a single attributed source that is not confirmed in bibliographic records, so its origin is provisional. It has no established benchmark standing, and reported gains should be treated as provisional until they are reproduced on the user's own data.
The intuition behind the method
Gradient boosting builds an ensemble of small trees, each correcting the errors of the ones before it, and it needs labeled rows to compute those errors. Self-supervised learning creates training signals from unlabeled data, for example by hiding some column values and asking the model to predict them. The method proposed here applies that idea before boosting: unlabeled rows contribute to a first learning stage, and the model's confident predictions on them become extra training examples for the boosting stage. The underlying assumption is that the unlabeled rows come from the same distribution as the labeled ones.
History
The approach is dated to the 2020s and attributed to Zhang et al. and others. The attribution rests on a single reference, Zhang, Zhang and Yang (2022), which is not confirmed in bibliographic records, so origin details are provisional. The approach relates to self-supervised methods used in computer vision and natural language processing; the specific lineage of the tree-ensemble version is not documented.
When to use it
Consider this approach for tabular prediction when labeled rows are few, a substantially larger set of unlabeled rows from the same population is available, and gradient boosting would otherwise be the preferred model. It is aimed at settings where labels are costly to obtain, such as clinical or experimental data. Do not use it when all rows are labeled, since standard gradient boosting is then simpler and sufficient. Avoid it when the unlabeled rows differ in distribution from the labeled rows, because the pseudo-labels will then be biased. Before concluding that the method helps, train standard gradient boosting on the labeled rows only and compare both models on the same held-out data.
Limitations and considerations
- The pipeline has more design choices than standard gradient boosting: the pretext task, the confidence threshold and the number of refinement rounds each affect the result.
- Gains depend on the unlabeled rows resembling the labeled rows; a shift between the two sets undermines the pseudo-labels.
- Each refinement round repeats boosting training, so computational cost increases with the number of rounds.
- Errors in pseudo-labels can carry into later rounds, because each new model is trained partly on labels produced by the previous one.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Uses unlabeled rows through pseudo-labels that pass a confidence filter, so the boosting stage can train on more rows than the labeled set alone.
- The final learner is standard gradient boosting, so existing implementations (the page names XGBoost, LightGBM and CatBoost) can be reused with a different training set.
- The confidence filter limits how many uncertain predictions enter the boosting stage.
Applications
- Tabular classification in clinical or experimental settings where labeled cases are few and unlabeled records from the same population are plentiful. The benefit over a labeled-only baseline has to be checked for each dataset.
- Tabular prediction in industry or finance where labeling is slow or expensive and unlabeled transaction or sensor records are available, provided those records match the distribution of the labeled data.
How it works
How it works
A pretext task creates a supervised signal from unlabeled rows without human labels. For tabular data, one option described for this method is feature masking, in which some column values are hidden and the model is trained to predict them. Contrastive instance discrimination is also named as an option, but how it is built for tabular rows is not specified. No pretext task is validated for tabular data in general, so the choice should be tested on the dataset at hand.
The model is trained on the pretext task using unlabeled and labeled rows. This stage is intended to capture feature dependencies before any target labels are used. The handoff to the boosting model is not specified. Boosting consumes rows and labels, so the learned representation must either be appended to the raw features or used only to generate pseudo-labels. The choice has to be made explicitly, because the two options lead to different pipelines.
The model assigns predicted class probabilities to unlabeled rows. Only predictions whose confidence exceeds a chosen threshold are kept, with confidence typically taken as the largest predicted class probability. The form of the retained targets is not specified: they may be hard labels (the predicted class) or soft targets (the full probability vector), and the loss must match that choice. The threshold is a tuning parameter with no fixed value.
The boosting stage uses the standard gradient boosting update F_m(x) = F_{m-1}(x) + η·h_m(x), where h_m is a weak learner fitted to the negative gradient of the loss and η is the shrinkage (learning-rate) factor. The labeled rows and the retained pseudo-labeled rows form the training set. This is the standard boosting rule; no separate update is specified for the self-supervised stage.
Formula
F_m(x) = F_{m-1}(x) + \eta \, h_m(x)Pseudo-labeling and boosting can be repeated, so each updated boosting model produces new pseudo-labels for the next round. A suggested stopping rule is to halt when held-out validation performance no longer improves. Errors in early pseudo-labels can carry into later rounds, and each round repeats boosting training, so total cost grows with the number of rounds.
Common pitfalls
- Adding all pseudo-labeled rows regardless of confidence, which feeds prediction errors into the boosting stage.
- Choosing a pretext task that does not relate to the prediction target, so the learned structure has little value for the downstream model.
- Ignoring a difference in distribution between labeled and unlabeled rows, which can bias the pseudo-labels in one direction.
- Applying the method to fully labeled data, where the additional stage adds complexity without a clear benefit.
- Continuing refinement rounds without checking pseudo-label quality or validation performance at each round.
- Reporting an improvement without a gradient boosting baseline trained on labeled rows alone and evaluated on the same held-out rows.
Frequently asked questions
How do I choose the pretext task for tabular data?
Feature masking, in which some column values are hidden and the model is trained to reconstruct them, is one option described for tabular data. Contrastive approaches create two altered views of a row, but how rows should be altered is not specified, so they require design decisions that this description does not supply. No option is validated across datasets, so compare candidates on your own validation data.
What confidence threshold should I use for pseudo-labels?
No fixed value is specified. Choose the threshold on a validation fold made only of rows with true labels, and check the effect of several values. Pseudo-labeled rows from the unlabeled set should not enter that fold.
How many refinement iterations are needed?
No number of rounds is specified. Track held-out validation performance after each round, using only rows with true labels, and stop when it no longer improves. Watch for errors carrying forward from earlier rounds.
Should I use this method when I have plenty of labeled data?
Usually not. When the labeled set is large enough for standard gradient boosting to perform well, the additional self-supervised stage adds complexity without a clear benefit. The method is intended for limited-label settings, and any use should be checked against a gradient boosting baseline trained on labeled rows only.
Which gradient boosting library should I use?
XGBoost, LightGBM and CatBoost are the implementations named for this pipeline, since the final learner is standard gradient boosting. The choice depends on the dataset and on whether categorical features are present; CatBoost handles categorical columns natively.
Related methods
Sources
Zhang, Y., Zhang, J., & Yang, Q. (2022). Self-Supervised Gradient Boosting for Semi-Supervised Learning on Tabular Data. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining.
Open publication referenceSelf-supervised learning. Wikipedia.
Open publication reference