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

Kernel selection forl semi-supervised kernel machines

Guang Dai, Dit-Yan Yeung

Introduction

In semi-supervised learning (SSL), models are trained using a small amount of labeled data alongside a vast pool of unlabeled data. Historically, researchers have relied on one of two geometric assumptions to make sense of this data:

  1. The Cluster Assumption: Decision boundaries should fall in "low-density" regions, avoiding thick clouds of data points.
  2. The Manifold Assumption: High-dimensional data resides on a lower-dimensional manifold, and points close to each other on this structure should share labels.

Most existing methods force a choice between these two assumptions. Furthermore, the performance of kernel-based methods (like Support Vector Machines) is notoriously sensitive to the choice of the kernel function; a poor manual selection can severely degrade model performance. This paper presents a unified framework, the Semi-Supervised Kernel Machine (SSKM), which simultaneously leverages both geometric assumptions while automating the selection of an optimal kernel from a predefined set.

Methods

The authors propose an integrated regularization framework that combines these concepts into a single optimization problem. The core approach involves three main components:

  • Integrated Loss Function: The method combines a standard loss for labeled data with an additional loss term for unlabeled data (enforcing the cluster assumption) and a manifold regularization term using graph Laplacians.
  • Kernel Selection: Instead of relying on a single fixed kernel, the kernel is defined as a convex combination of multiple basic kernels. The algorithm learns the optimal weights for each basic kernel during training.
  • Deterministic Annealing (DA): Because the labels for the unlabeled data are unknown and discrete, the optimization problem is non-convex. The authors utilize DA—a technique inspired by statistical mechanics—starting with a simplified, convex version of the problem and gradually "cooling" it to avoid poor local minima.

The resulting algorithm, GLKS-SSKM (Graph Laplacian Kernel Selection for Semi-Supervised Kernel Machines), alternates between optimizing the predicted labels and optimizing the kernel weights.

Key Insights: Assumption Synergy and Noise Filtering

A major takeaway from the paper is that the cluster and manifold assumptions are highly complementary. Combining them leads to significantly more robust models than using either in isolation.

Furthermore, the automated kernel selection process acts as an effective noise filter. When provided with a mix of informative and poor kernels, the algorithm successfully assigns near-zero weights to the noisy ones, focusing entirely on the most useful data representations.

Kernel selection weights and error rates

Experimental Setup and Key Results

The researchers evaluated their method using the USPS handwritten digit dataset, focusing on binary classification tasks (e.g., 1 vs. 7, 3 vs. 8). To simulate extreme label scarcity, they used only 6 labeled examples per class, leaving the remaining 400 digits unlabeled. The kernel dictionary included up to 30 graph Laplacian kernels built using various distance metrics (Euclidean, affine transformation, and tangent distance).

The proposed SSKM methods consistently outperformed both supervised kernel selection (KS-SM) and SSL methods that relied solely on the manifold assumption.

Comparison of error rates between KS-SM and KS-SSKM
  • Perfect Scores: On the "1 vs. 7" digit task, the SSKM method achieved a 0.00% error rate, a notable improvement over the 1.60% error rate of supervised methods.
  • Significant Gains: In the more challenging "2 vs. 7" task, the error rate dropped dramatically from 9.28% (supervised) to just 1.86% (SSKM).
  • Superiority over Manifold-only: When compared to GLKS-SSL (which uses only the manifold assumption), the integrated GLKS-SSKM demonstrated lower error rates across all tested digit pairs, validating the inclusion of the cluster assumption.

Limitations and Future Work

While highly effective, the approach has limitations. The alternating optimization and deterministic annealing processes are computationally intensive, which may limit the algorithm's scalability to massive datasets. Additionally, the method assumes the class ratio of the unlabeled data is known in advance—a condition that may not hold in real-world applications. Future work could extend this unified framework to multi-class problems and explore more complex, non-linear combinations of kernels.

Summary updated

BibTeX
@inproceedings{dai2007kernel,
  author = {Guang Dai and Dit-Yan Yeung},
  title = {{Kernel selection forl semi-supervised kernel machines}},
  booktitle = {International Conference on Machine Learning},
  year = {2007},
  doi = {10.1145/1273496.1273520},
}
Figure