Nonstationary kernel combination

Darrin P. Lewis, Tony Jebara, William Stafford NobleICML 2006

Introduction

Kernel methods, such as Support Vector Machines (SVMs), are incredibly powerful tools in machine learning. They handle complex data—like graphs, strings, and vectors—by mapping them into high-dimensional feature spaces. Often, researchers have multiple data sources for the same problem, such as gene expression data alongside protein sequences.

The standard approach to handling multiple sources is to combine these kernels using a weighted sum. However, existing Multiple Kernel Learning (MKL) techniques are typically stationary: once the model is trained, the relative weight of each kernel remains fixed for every single test case.

This paper argues that stationary weighting is a missed opportunity. In many real-world scenarios, one kernel might be highly informative for a specific subset of the data, while a different kernel excels elsewhere. To address this, the authors introduce a method for nonstationary kernel combination, allowing the weights of different kernels to adapt depending on the specific input example being classified. By embedding latent variables into a large-margin framework, they create a classifier that merges the flexibility of generative mixture models with the discriminative power of SVMs.

Methodology: Bridging Generative and Discriminative Models

The authors bridge the gap between generative and discriminative models using the Maximum Entropy Discrimination (MED) framework.

Instead of relying on a standard SVM hyperplane, the classifier uses a log-ratio of Gaussian mixtures. Each component in this mixture is implicitly mapped to a Hilbert space via a Mercer kernel. Crucially, the choice of which mixture component (and thus which kernel) to use is treated as a latent variable. This allows the model to dynamically "decide" which kernel is most appropriate for a specific region of the input space.

Because mixture models make the partition function mathematically intractable, the authors employ variational inference—specifically using Jensen’s inequality—to create a solvable optimization problem. To make training practical and efficient, they adapted the Sequential Minimal Optimization (SMO) algorithm, originally designed for SVMs, to handle the more complex constraints of their latent MED model.

Datasets and Experiments

The researchers evaluated their "Nonstationary Kernel Combination" (NSKC) method across three distinct types of data:

  1. Synthetic Data: A 2D toy problem designed with a decision boundary that is piecewise linear in some areas and quadratic in others.
  2. UCI Benchmarks: Three classic datasets (Wisconsin Breast Cancer, Sonar, and Statlog Heart).
  3. Yeast Protein Functional Classification: A high-dimensional biological task involving 12 functional classes of yeast genes, utilizing three distinct kernels: gene expression, protein domain content, and sequence similarity.

Key Results and Insights

The "Best of Both Worlds" and Local Expertise

The NSKC model acts like a generative mixture model, which is excellent at capturing underlying data structure, but it is trained using a large-margin objective, making it highly effective at classification. By allowing weights to vary locally, the model can apply a simple linear kernel to "easy" parts of the data and a complex Radial Basis Function (RBF) kernel to "hard" parts. This local expertise leads to better regularization and less overfitting compared to global weighting schemes. In fact, the authors demonstrate that the standard SVM is simply a special, single-component case of their generalized model.

Superiority on Synthetic and Benchmark Data

On the synthetic toy problem, NSKC was the only method capable of perfectly separating the data. It successfully identified the transition between the linear and quadratic regions of the dataset, adapting its decision boundary accordingly.

Nonstationary model successfully capturing the complex piecewise linear and quadratic decision boundary

On real-world benchmarks, NSKC achieved the highest mean accuracy on both the Breast Cancer and Sonar datasets. The authors noted that standard MKL (using Semidefinite Programming) often overfitted by relying too heavily on high-capacity kernels. Furthermore, in the complex biological task of yeast protein classification, NSKC outperformed standard MKL in 8 out of the 12 functional classes.

Computational Efficiency

Despite the model being significantly more complex than a standard SVM, the specialized SMO algorithm allows it to scale efficiently. The custom SMO implementation proved to be roughly 7.5 times faster than Matlab’s standard quadprog solver when handling 500 examples, avoiding the bottlenecks typically associated with general-purpose quadratic programming solvers.

Comparison of training time between QUADPROG and the custom SMO algorithm, showing SMO's superior scaling

Limitations and Future Work

While powerful, the NSKC approach has a few limitations. Because the optimization relies on an iterative EM-like procedure with SMO, the algorithm can occasionally get trapped in local plateaus. The authors addressed this by interleaving "Newton steps" to help the optimizer maintain a more global view. Additionally, the model's flexibility comes at the cost of increased complexity; it requires choosing the number of mixture components (hyperparameters $M$ and $N$), adding a layer of tuning not present in basic SVMs.

Looking forward, the authors suggest that this nonstationary kernel framework could be extended to even more complex structured models, such as hidden Markov models or Markov networks, opening new avenues for adaptive, large-margin classification.

Summary updated

BibTeX
@inproceedings{lewis2006nonstationary,
  author = {Darrin P. Lewis and Tony Jebara and William Stafford Noble},
  title = {{Nonstationary kernel combination}},
  booktitle = {International Conference on Machine Learning},
  year = {2006},
  doi = {10.1145/1143844.1143914},
}
Figure