NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semi-Supervised Kernel PCA

Christian Walder, Ricardo Henao, Morten Mørup, Lars Kai HansenarXiv 2010

This paper, published in 2010, presents a clever way to bridge the gap between unsupervised dimensionality reduction and supervised classification. By extending the well-known Kernel Principal Components Analysis (KPCA) framework, the authors introduce three algorithms that leverage both unlabeled data structure and available class labels.

The Challenge of Semi-Supervised Learning

In machine learning, we often have a mountain of unlabeled data but only a handful of labeled examples. Semi-Supervised Learning (SSL) aims to use the structure of the unlabeled data to improve the classification of the labeled points.

A popular approach is the Transductive Support Vector Machine (T-SVM), which tries to put the decision boundary in "low-density" regions of the data. However, the T-SVM objective is non-convex and notoriously difficult to optimize. On the other hand, Kernel PCA (KPCA) is great at finding the "shape" of data but completely ignores labels. The authors seek a middle ground: a method that captures data variance like KPCA but respects class labels like an SVM, all while remaining mathematically tractable.

Methodology

The authors introduce three distinct "flavors" of Semi-Supervised KPCA:

  1. MV-KPCA (Minimum Variance KPCA): This is the simplest extension. It modifies the standard KPCA constraint to penalize "within-class" variance. If two points have the same label, the algorithm tries to ensure they end up close together in the projected space. This is solved as a generalized eigenvalue problem.
  2. LS-KPCA (Least Squares KPCA): This is a hybrid of least-squares regression and KPCA. It minimizes the complexity of the function (the RKHS norm) plus the squared error on labeled points, subject to a constraint on the total variance of all points. Even though this problem is non-convex, the authors show it can be solved globally and exactly using a specific eigenvalue technique.
  3. LR-KPCA (Logistically Loss via Reweighting): This version replaces the squared loss of LS-KPCA with a sigmoid (logistic) loss, which is generally better for classification. It uses an iterative process where each step solves an LS-KPCA problem.

Key Insights

  • Exact Solutions for Non-Convexity: The most significant "aha" moment is the realization that a specific class of non-convex SSL problems can be solved exactly. By framing the unlabeled data's role as a variance constraint, the authors bypass the optimization headaches of the T-SVM.
  • Generalizing the Spectral Graph Transducer (SGT): The authors prove that the popular SGT algorithm is actually just a special case of LS-KPCA using a specific graph-based kernel. This provides a much cleaner theoretical foundation for SGT.
  • Beyond the Manifold Assumption: Many SSL methods assume data lies on a smooth "manifold." However, on datasets like g241c where this isn't true, standard graph-based methods fail. Because SS-KPCA can use any kernel (like a standard Gaussian kernel), it is much more robust to different data geometries.

Experimental Results

The algorithms were evaluated on several standard binary benchmark datasets, including synthetic Gaussians (g241c), image recognition (Digit1, USPS), and biological data (BCI).

Figure 2: Semi-supervised KPCA (LS-KPCA) on the same dataset. By incorporating just a few labeled points (red and blue dots), the algorithm successfully aligns the feature space with the underlying classes.
  • Superiority on Non-Manifold Data: On the g241c dataset, LS-KPCA and MV-KPCA achieved the best mean performance compared to all previously published results in the benchmark study.
  • Robustness: The authors showed that combining a standard Gaussian kernel with a graph-based kernel (M-LS) often yielded better results than using either alone, proving the flexibility of their RKHS-based approach.
  • LR-KPCA vs. LS-KPCA: While LS-KPCA is faster, LR-KPCA (the sigmoid version) provides more intuitive results on toy datasets because it can "ignore" points that are already well-classified, focusing its energy on the difficult boundary points.

Conclusion

Semi-Supervised Kernel PCA offers a powerful, computationally efficient alternative to complex transductive models. By leveraging the global structure of unlabeled data through a variance constraint while respecting local label information, these algorithms provide a robust framework for high-dimensional classification tasks where labels are scarce.

Summary updated

BibTeX
@misc{walder2010semi,
  author = {Christian Walder and Ricardo Henao and Morten Mørup and Lars Kai Hansen},
  title = {{Semi-Supervised Kernel PCA}},
  year = {2010},
  eprint = {1008.1398},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1008.1398},
}
Figure