Semi-supervised Learning via Gaussian Processes

Neil D. Lawrence, Michael I. JordanNeurIPS 2004

Introduction

In traditional supervised learning, models rely exclusively on labeled data to find a mapping from inputs ($X$) to labels ($y$). However, labeled data is often expensive and time-consuming to acquire, whereas unlabeled data is plentiful. The core challenge in semi-supervised learning (SSL) is finding a way to make this unlabeled data useful for shaping the model's decision boundaries.

From a probabilistic perspective, if a model only captures the conditional distribution $p(y|x)$, unlabeled data provides no additional information because the distribution of the inputs, $p(x)$, is ignored. To resolve this, researchers often attempt to model the full data density. Unfortunately, this is computationally expensive and frequently irrelevant to the actual classification task.

This paper introduces a novel middle ground: a semi-supervised learning approach using Gaussian Processes (GPs) that incorporates a "null category noise model." By making a weak assumption that classes are naturally separated by low-density regions (the "cluster assumption"), the authors allow unlabeled data to probabilistically "push" the model's decision boundary into these gaps, effectively creating a Bayesian equivalent to the Support Vector Machine (SVM) margin.

Methods: The Null Category Noise Model

The authors' primary contribution is the Null Category Noise Model (NCNM). The intuition behind this approach relies on penalizing the model when data points fall into ambiguous regions.

  1. The Third Category: In a standard binary classification task with labels -1 and 1, the authors introduce a "null category" (label 0) that sits exactly on the decision boundary.
Probability distributions for the classes, including the introduced null category ($y_n=0$) situated at the decision boundary.
  1. The "Push" Effect: For labeled data, the model trains as usual. However, for unlabeled data, the model enforces a specific constraint: an unlabeled point cannot belong to the null category.
  2. Likelihood Function: This constraint creates an "effective likelihood" for unlabeled points. If an unlabeled point falls into the "margin" (the null category region), the model's likelihood is penalized. To resolve this penalty, the Gaussian Process must either shift its mean to push the point out of the margin or increase its variance (uncertainty) at that specific location.

To make this computationally feasible, the authors employ Assumed Density Filtering (ADF) to approximate the non-Gaussian posterior. They also use the Informative Vector Machine (IVM) to maintain a sparse, efficient representation of the data. Finally, Type-II Maximum Likelihood is used to optimize kernel hyperparameters, incorporating an L1 penalty to prevent the margin width from collapsing to zero during training.

Key Insights

  • The Probabilistic Margin: While methods like the Transductive SVM (TSVM) also attempt to place margins in low-density regions, they rely on non-probabilistic "point estimates." The NCNM brings this logic into the Bayesian realm, allowing the model to account for process variance and uncertainty.
  • Variance Matters: A fascinating dynamic of the NCNM is how unlabeled data affects model confidence. If an unlabeled point is stuck in the middle of the null category, the model can either "pick a side" (decreasing variance) or become more uncertain (increasing variance). This nuanced interaction between the margin and uncertainty is unique to the GP approach.
  • Avoiding Density Modeling: Unlike SSL methods that build complex, high-dimensional models of $p(x)$, the NCNM only cares about $p(x)$ near the decision boundary. This makes it significantly more efficient for high-dimensional tasks where full density modeling is intractable.

Datasets and Key Results

The paper evaluates the NCNM on both synthetic and real-world datasets to demonstrate its efficacy.

Toy 2D Problem

The authors first tested the model on a synthetic dataset featuring two interlocking, non-linear class densities. The NCNM successfully "snaked" the decision boundary through the low-density gap between the interlocking classes. In contrast, a standard GP using only the labeled data cut straight through high-density regions, ignoring the natural structure of the data.

Decision boundary on a 2D toy problem, successfully snaking through the low-density region between interlocking classes.

USPS Handwritten Digits

For a high-dimensional real-world test, the authors focused on the notoriously difficult task of discriminating between the handwritten digits 3 and 5 in the USPS dataset. The NCNM was compared against standard SVMs, standard IVMs, and Transductive SVMs.

  • When the probability of a label being present was extremely low (below 2.5%), the NCNM struggled with hyperparameter estimation.
  • However, above 2.5% label density, the NCNM significantly outperformed all other models, including the TSVM. This suggests that the probabilistic nature of the GP provides a more robust "push" from unlabeled data than the hard margins of an SVM.

Limitations and Future Work

While powerful, the NCNM framework has a few notable limitations:

  • Hyperparameter Sensitivity: The model requires careful regularization. Without it, the optimization process might shrink the null category width to zero to maximize likelihood, which effectively causes the model to ignore the unlabeled data entirely.
  • The "Test Point Effect": In a strictly Bayesian framework, simply observing the location of a test point (even without its label) should update the entire model. The authors ignored this for simplicity in their experiments, but a true Bayesian implementation would need to account for it.
  • Negative Variances: Because the noise model is not "log-concave," the Gaussian approximation used in ADF can occasionally produce mathematically impossible negative variances. The authors mitigated this using a simple "set to zero" heuristic, but more sophisticated inference methods could improve the model's mathematical stability in the future.

Summary updated

BibTeX
@inproceedings{lawrence2004semi,
  author = {Neil D. Lawrence and Michael I. Jordan},
  title = {{Semi-supervised Learning via Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2004},
}
Figure