A Binary Classification Framework for Two-Stage Multiple Kernel Learning

Abhishek Kumar, Alexandru Niculescu-Mizil, Koray Kavukcuoglu, Hal Daumé Iii · DOI

Abstract

With the advent of kernel methods, automating the task of specifying a suitable kernel has become increasingly important. In this context, the Multiple Kernel Learning (MKL) problem of finding a combination of pre-specified base kernels that is suitable for the task at hand has received significant attention from researchers. In this paper we show that Multiple Kernel Learning can be framed as a standard binary classification problem with additional constraints that ensure the positive definiteness of the learned kernel. Framing MKL in this way has the distinct advantage that it makes it easy to leverage the extensive research in binary classification to develop better performing and more scalable MKL algorithms that are conceptually simpler, and, arguably, more accessible to practitioners. Experiments on nine data sets from different domains show that, despite its simplicity, the proposed technique compares favorably with current leading MKL approaches.

Introduction

Kernel-based algorithms like Support Vector Machines (SVMs) are cornerstone techniques in machine learning, yet their efficacy is intrinsically tied to the selection of an appropriate kernel function. Multiple Kernel Learning (MKL) seeks to automate this process by learning an optimal combination of pre-specified base kernels. Traditionally, MKL has been approached through complex one-stage joint optimizations or heuristic two-stage methods. This paper introduces a novel two-stage framework that simplifies MKL by reframing it as a standard binary classification problem, offering both computational efficiency and theoretical rigor.

Methodology: The K-Space Transformation

The fundamental innovation of this work is the introduction of "K-space," which transforms the kernel selection problem into a classification task. Instead of operating on individual data points, the framework considers pairs of points $(x, x')$.

  1. Features in K-space: For every pair of points, a feature vector $z_{xx'}$ is constructed, where each entry corresponds to the value of one of $p$ base kernels: $z_{xx'} = (K_1(x, x'), ..., K_p(x, x'))$.
  2. Labels in K-space: A pair is labeled $+1$ if both points share the same class and $-1$ if they belong to different classes.

Finding an optimal kernel combination $\mu$ thus becomes a task of finding a weight vector that separates these positive and negative pairs. The authors utilize an L2-regularized linear SVM, optimized via the Pegasos algorithm, to learn $\mu$. To ensure the resulting kernel is positive semi-definite, non-negativity constraints are applied to the weights.

Experimental Setup

The proposed method, TS-MKL, was evaluated across nine diverse datasets spanning multiple domains:

  • Object Recognition: Caltech-101 and Caltech-256, utilizing 39 base kernels.
  • Bioinformatics: Psort+, Psort-, and Plant datasets for protein localization prediction.
  • UCI Repository: Sonar, Pima, Vertebral, and Ionosphere datasets.

Results and Discussion

TS-MKL demonstrates significant advantages in terms of accuracy, scalability, and theoretical grounding.

Performance and Scalability

On the Caltech-256 dataset, TS-MKL outperformed existing MKL baselines, particularly in scenarios with sparse training data. Beyond accuracy, the method offers massive speedups. By leveraging stochastic sub-gradient descent (Pegasos), the kernel learning stage is exceptionally fast; for instance, it took only 6 seconds on Caltech-101. On the Pima dataset, TS-MKL was over 10x faster than UFO-MKL.

Figure 4: Test accuracy convergence as a function of the number of iterations in the Pegasos algorithm.

Theoretical Validation

The paper provides the first finite-sample generalization bounds for two-stage MKL, proving that a high-margin, low-loss classifier in K-space guarantees a high-performing kernel for the original task. This theoretical bridge demystifies popular heuristics like "target alignment," revealing that they are essentially specific instances of this broader classification framework—specifically, target alignment performs Fisher Linear Discriminant Analysis in K-space. The SVM-based TS-MKL approach is more robust because it does not assume the data is homoscedastic (having equal variance).

Figure 5: Comparison of test accuracy, K-classifier accuracy, and hinge loss across varying regularization parameters.

Conclusion

By framing Multiple Kernel Learning as a binary classification problem in K-space, this research provides a conceptually simple yet powerful tool for practitioners. While the quadratic growth of point pairs presents a potential challenge for massive datasets, stochastic sampling effectively mitigates this. Future work may extend this framework to non-linear kernel combinations and unsupervised or semi-supervised learning contexts.

Summary updated

BibTeX
@inproceedings{kumar2012binary,
  author = {Abhishek Kumar and Alexandru Niculescu-Mizil and Koray Kavukcuoglu and Hal Daumé III},
  title = {{A Binary Classification Framework for Two-Stage Multiple Kernel Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2012},
  doi = {10.48550/arxiv.1206.6428},
}
Figure