Model-based transductive learning of the kernel matrix

Zhihua Zhang, James T. Kwok, Dit-Yan Yeung

In kernel-based machine learning, the choice of kernel function is critical to performance. This paper introduces a probabilistic framework for learning kernel matrices directly from data by treating them as realizations of a stochastic process. By framing transductive learning as a missing data problem, the authors develop an Expectation-Maximization (EM) algorithm that simultaneously completes the kernel matrix and estimates the underlying feature space dimensionality.

Introduction

Kernel methods, such as Support Vector Machines (SVMs), rely on a kernel function to define similarities between data points. Traditionally, this function is pre-selected (e.g., Gaussian) and its parameters are tuned. However, a mismatch between the chosen kernel and the data's intrinsic structure can lead to suboptimal results. A more flexible alternative is to learn the kernel matrix itself. This paper proposes a hierarchical Bayesian model that provides a statistically sound foundation for this task, specifically within the context of transductive learning.

The Wishart Process Framework

The core innovation is the use of the Wishart process to model the kernel matrix. The authors establish that if each dimension of a feature space is modeled as an independent Gaussian Process, the resulting Gram (kernel) matrix follows a Wishart distribution. This connection allows the kernel matrix to be treated as a random variable within a Bayesian framework, enabling Maximum A Posteriori (MAP) estimation which naturally incorporates regularization to prevent overfitting.

Hierarchical Bayesian Model

The authors define a three-level hierarchy to incorporate prior knowledge and regularization:

  1. Level 1: The target kernel matrix $K$, which is Wishart distributed.
  2. Level 2: A parameter matrix $\Sigma$, following an Inverted Wishart distribution, which serves as a conjugate prior for $K$.
  3. Level 3: A fixed hyperparameter matrix $\Theta$ and a scalar $\eta$, which provide the necessary regularization.
Figure 1: A hierarchical model for transductive learning of the kernel matrix. Circles indicate unknown variables while squares indicate known variables.

Transductive Learning via EM

In transductive learning, we observe a subset of the kernel matrix (the training-training similarities) but lack the test-test and train-test similarities. The authors treat these unobserved entries as missing data. They derive a rigorous Expectation-Maximization (EM) algorithm to iteratively estimate these missing values and the model parameters.

A unique aspect of this model is the interpretation of the "degree of freedom" parameter $r$ in the Wishart distribution. This parameter corresponds directly to the dimensionality of the induced feature space. The EM algorithm can estimate $r$ from the data, providing a data-driven way to determine the complexity of the feature representation. Experiments showed that as training data decreases, the estimated dimensionality $r$ increases, suggesting the model relies on a more complex representation when labels are scarce.

Experimental Evaluation

The model was tested on several UCI repository datasets (Breast Cancer, Ionosphere, Sonar, Wine) and the USPS handwritten digit database. The proposed methods, Generalized Wishart Process Classification (GWPC) and Kernel Transductive Discriminant Analysis (KTDA), were compared against standard SVMs and Kernel Fisher Discriminant Analysis (KFDA).

Key findings include:

  • Performance with Limited Labels: The model excelled in scenarios with very little labeled data. On the USPS dataset with only 1% training data, the transductive approach significantly outperformed non-transductive baselines, proving that the probabilistic completion of the kernel matrix effectively captures the data's underlying structure.
  • Efficiency: The EM-based approach proved more computationally efficient than general-purpose Semi-Definite Programming (SDP) solvers used in previous kernel learning methods, although it still faces $O(n^3)$ complexity due to matrix inversions.

Conclusion

By viewing the kernel matrix as a stochastic process, this work bridges the gap between traditional kernel machines and Bayesian inference. The hierarchical Wishart model provides a robust, efficient, and theoretically grounded method for transductive kernel learning. Future work may explore fully Bayesian treatments of hyperparameters and extensions to regression tasks.

Summary updated

BibTeX
@article{zhang2006model,
  author = {Zhihua Zhang and James T. Kwok and Dit-Yan Yeung},
  title = {{Model-based transductive learning of the kernel matrix}},
  journal = {Machine Learning},
  year = {2006},
  doi = {10.1007/s10994-006-6130-8},
}
Figure