Online Multiple Kernel Learning for Structured Prediction

André F. T. Martins, Noah A. Smith, Eric P. Xing, Pedro M. Q. Aguiar, Mário A. T. FigueiredoarXiv 2010 · DOI

Abstract

Despite the recent progress towards efficient multiple kernel learning (MKL), the structured output case remains an open research front. Current approaches involve repeatedly solving a batch learning problem, which makes them inadequate for large scale scenarios. We propose a new family of online proximal algorithms for MKL (as well as for group-LASSO and variants thereof), which overcomes that drawback. We show regret, convergence, and generalization bounds for the proposed method. Experiments on handwriting recognition and dependency parsing testify for the successfulness of the approach.

Introduction

In machine learning, "kernel engineering"—the process of selecting or designing the right representation of data similarity—is often a manual and labor-intensive task. Multiple Kernel Learning (MKL) was developed to automate this process by learning an optimal combination of several kernels simultaneously. However, MKL faces a significant computational bottleneck when applied to structured prediction tasks, such as sequence labeling or dependency parsing.

Structured prediction involves complex outputs where dependencies exist between components (e.g., words in a sentence). Traditional MKL algorithms for these tasks are typically "batch" methods, requiring the optimization of the entire dataset repeatedly. This often involves solving a full Support Vector Machine (SVM) problem in an inner loop, which is computationally prohibitive for large-scale datasets. This paper introduces a family of online proximal algorithms that allow MKL to scale to massive, structured datasets by updating kernel weights on-the-fly.

Methodology: Online Proximal Algorithms

The core contribution of this work is the development of a "stand-alone" online algorithm that eliminates the need for expensive batch inner loops. The framework is based on a kernelization and extension of the Forward-Backward Splitting (FOBOS) algorithm.

Composite Regularizers and Structural Sparsity

Unlike standard FOBOS, which typically handles a single penalty term, the proposed method can accommodate multiple proximal steps. This flexibility allows the algorithm to work with various "structural sparsity" frameworks, including group-LASSO and hierarchical MKL. By treating different kernels as "groups" of features, the model can use sparsity-inducing penalties to automatically discard irrelevant kernels.

The Online-MKL Algorithm

The flagship algorithm (Algorithm 3) alternates between two primary steps:

  1. Gradient Step: A standard stochastic gradient descent step to minimize the loss function based on the current data point.
  2. Proximal Step: A step that enforces sparsity and updates kernel weights.

To make this feasible, the authors developed efficient projection methods for the squared $\ell_1$-norm. Because the underlying mathematics for MKL is non-separable, traditional optimization is difficult. The proposed proximal operators avoid the "oscillation" problems common in standard SGD when dealing with sparse penalties, allowing the model to effectively "zero out" useless kernels without losing stability.

Experimental Evaluation

The researchers evaluated the proposed online MKL framework on two distinct benchmarks representing different scales of structured prediction.

Handwriting Recognition (OCR)

Using the OCR dataset (Taskar et al., 2003), which contains over 52,000 characters across 6,877 handwritten words, the task was to perform sequence labeling. The MKL approach achieved an accuracy of 87.5%, successfully outperforming individual linear, quadratic, and Gaussian kernels. Notably, the algorithm demonstrated dramatic speedups: in one experiment, the MKL algorithm reached high accuracy in just 15 seconds, compared to 279 seconds for a more complex manual kernel combination.

Large-Scale Dependency Parsing

The algorithm was also tested on the CoNLL-2008 Shared Task, involving English dependency parsing with nearly 40,000 training sentences and over 50 million instantiated features. On this massive scale, the MKL approach matched the accuracy of a standard SVM (approximately 90.7% Unlabeled Attachment Score). More importantly, it provided significant interpretability benefits by successfully pruning 507 feature templates down to a small, relevant fraction. This capability is vital for building faster and more transparent Natural Language Processing (NLP) systems.

Discussion and Insights

A key insight of this research is the shift from the "dual" form of the MKL problem to its "primal" form. While the dual form is mathematically elegant, it scales poorly; the primal form enables the one-pass-at-a-time learning necessary for big data. Furthermore, the elimination of the "inner loop" optimization means that model parameters and kernel weights can be updated simultaneously, drastically reducing the computational overhead.

While MKL may not always significantly outperform a perfectly tuned standard SVM in terms of raw accuracy, its strengths lie in automated feature selection and runtime efficiency. The ability to prune irrelevant features while maintaining competitive performance makes it a powerful tool for complex structured tasks.

Conclusion and Future Work

This paper presents a scalable solution for Multiple Kernel Learning in the context of structured prediction. By leveraging online proximal algorithms, the authors provide a method that is both computationally efficient and capable of handling high-dimensional feature spaces. Future research directions include applying these structural sparsity principles to learn the architectures of graphical models and extending the algorithm to handle "concept drift," where the optimal combination of kernels may change as a data stream evolves over time.

Summary updated

BibTeX
@misc{martins2010online,
  author = {André F. T. Martins and Noah A. Smith and Eric P. Xing and Pedro M. Q. Aguiar and Mário A. T. Figueiredo},
  title = {{Online Multiple Kernel Learning for Structured Prediction}},
  year = {2010},
  eprint = {1010.2770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1010.2770},
}
Figure