Semi-supervised Linear Regression
Semi-supervised Linear Regression (Linear Model with Labeled and Unlabeled Data) · Also known as: SSL linear regression, semi-supervised least squares, transductive linear regression, label-efficient linear regression
Semi-supervised linear regression fits a linear model on a small labeled dataset and then leverages a larger pool of unlabeled observations to improve coefficient estimates and generalization. By generating pseudo-labels for unlabeled points and iteratively refining the model, it achieves better predictive accuracy than a purely supervised linear model trained on scarce labels alone.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
Use semi-supervised linear regression when labeled observations are scarce and expensive to obtain, but a large pool of unlabeled data sharing the same feature distribution is available — for example, in biomedical studies where assay results exist for only a fraction of collected samples. It is most beneficial when the labeled-to-unlabeled ratio is low (fewer than 10–20% of records labeled) and when the unlabeled data genuinely comes from the same distribution as the labeled data. Do NOT use it when the labeled and unlabeled sets come from different populations (covariate shift), when interpretability of stable, signed coefficients is the primary goal, or when the labeled dataset is already large enough for reliable supervised estimation. In those cases, standard linear regression or ridge regression is preferable.
Strengths & limitations
- Improves coefficient estimates and predictive accuracy when labeled data are limited but unlabeled data are plentiful.
- Inherits the interpretability of linear regression: coefficients retain their direction and approximate magnitude.
- Compatible with regularization (ridge, lasso) to prevent over-reliance on uncertain pseudo-labels.
- Can be implemented with standard linear algebra tools and iterative refinement without specialized libraries.
- Provides a natural upper-bound check: performance should exceed the supervised-only baseline when assumptions hold.
- If the unlabeled data distribution differs from the labeled set (covariate shift), pseudo-labels introduce bias and the model can degrade below the supervised baseline.
- Error propagation is a real risk: early mis-predictions become training labels in later iterations, potentially amplifying mistakes.
- Convergence is not guaranteed without regularization; the iterative procedure may oscillate.
- Does not eliminate the need for a representative, unbiased labeled set — a biased labeled sample produces biased pseudo-labels at scale.
- Gains vanish when the labeled set is already moderately large, making the added complexity unjustifiable.
Frequently asked
Will semi-supervised linear regression always outperform standard linear regression?
No. If the unlabeled data come from a different distribution than the labeled set, the pseudo-labels introduce systematic bias and the semi-supervised model can perform worse. Always compare against a supervised-only baseline on a held-out labeled test set.
How many labeled examples are needed for the method to be worthwhile?
The benefit is greatest when labeled data are scarce — typically fewer than 10–20% of the total dataset. With a moderately large labeled set the gains shrink, and standard supervised linear or ridge regression is simpler and equally accurate.
Should I use hard or soft pseudo-labels?
Soft assignment — weighting pseudo-labeled points by a confidence measure such as inverse prediction variance — is generally more robust. Hard assignment (treating all pseudo-labels equally) risks over-weighting uncertain predictions early in the iterative process.
Can I use this with regularized variants like ridge or lasso?
Yes, and it is recommended. Ridge regularization dampens the reinforcement of early pseudo-label errors, stabilises convergence, and handles multicollinearity in the combined labeled-plus-pseudo-labeled dataset. Lasso additionally selects features, which helps when the feature space is wide relative to the labeled set.
How do I detect if unlabeled data are harming the model?
Track held-out labeled-set MSE (or R-squared) after each iteration alongside the supervised-only baseline. If semi-supervised performance drops below the baseline or the gap widens over iterations, stop and revert to standard linear regression — a sign of distributional mismatch or error propagation.
Sources
- Chapelle, O., Scholkopf, B., & Zien, A. (Eds.). (2006). Semi-Supervised Learning. MIT Press. ISBN: 978-0-262-03358-9
- Zhou, Z.-H., & Li, M. (2005). Semi-supervised regression with co-training. Proceedings of the 19th International Joint Conference on Artificial Intelligence (IJCAI), 908–913. link ↗
How to cite this page
ScholarGate. (2026, June 3). Semi-supervised Linear Regression (Linear Model with Labeled and Unlabeled Data). ScholarGate. https://scholargate.app/en/machine-learning/semi-supervised-linear-regression
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Label PropagationMachine learning↔ compare
- Linear Regression (ML)Machine learning↔ compare
- Regularized linear regressionMachine learning↔ compare
- Semi-supervised LearningMachine learning↔ compare