Multi-label Multiple Kernel Learning by Stochastic Approximation: Application to Visual Object Recognition

Serhat Selcuk Bucak, Rong Jin, Anil K. JainNeurIPS 2010

TL;DR

Multiple Kernel Learning (MKL) is a powerful way to boost object recognition by combining different image features, but it traditionally scales poorly as the number of object categories grows. This paper introduces ML-MKL-SA, an algorithm that uses stochastic approximation to achieve sublinear complexity in the number of classes, delivering state-of-the-art accuracy while being up to 100 times faster than existing methods.

What Problem Does This Paper Address?

In visual object recognition, an image can be described in many ways: by its color histograms, its textures (SIFT), or its global shapes. Multiple Kernel Learning (MKL) allows a model to automatically learn the best "weighted recipe" for combining these different descriptions (kernels).

However, modern datasets often contain hundreds or thousands of object classes. Standard multi-label MKL algorithms typically have a computational cost that grows linearly with the number of classes ($m$). This is because, in every optimization step, the algorithm must solve a separate Support Vector Machine (SVM) problem for every single class. When you have 100 classes, you're solving 100 SVMs per iteration—a massive bottleneck for large-scale computer vision.

Methods

The authors propose a two-pronged strategy to break this linear dependency:

  1. From Sum to Minimax: Instead of minimizing the average loss across all classes (which requires looking at every class every time), they reformulate the problem as a minimax optimization. The goal becomes minimizing the worst-case classification error among all $m$ classes.
  2. Stochastic Approximation (SA): To solve this minimax problem efficiently, they don't calculate the gradient for every class. Instead, in each iteration, they sample just one class to update. The probability of sampling a class is proportional to its current error—meaning the algorithm naturally spends more time "fixing" the hardest categories.

By combining these, they prove that the complexity of their algorithm is $O(m^{1/3}\sqrt{\ln m})$, which is sublinear. In practical terms, this means as you add more object categories, the training time grows much more slowly than with traditional methods.

Datasets

The authors evaluated their approach on three standard computer vision benchmarks:

  • Caltech-101: 101 object categories (plus a background class).
  • Pascal VOC 2006: 10 classes, 5,303 images.
  • Pascal VOC 2007: 20 classes, 5,011 training images. This dataset is particularly relevant as images can belong to multiple classes simultaneously (multi-label).

Key Insights and Ideas

  • Shared Kernel Weights Work: A key assumption here is that all classes share the same combination of kernels. While this sounds restrictive, the authors show empirically that it doesn't hurt classification performance compared to models that learn unique weights for every class.
  • The "Hardest Task" Heuristic: By focusing on the worst-performing classes via stochastic sampling, the algorithm avoids wasting computational cycles on "easy" classes that are already well-classified.
  • Stability through Smoothing: To prevent the stochastic sampling from making the optimization too "jumpy," the authors use a smoothing parameter ($\delta$) to ensure that even "easy" classes have a small non-zero probability of being sampled, maintaining a global view of the problem.
Convergence of kernel coefficients across different methods

Key Results

The results are striking, particularly regarding efficiency:

  • Speed: On the Caltech-101 dataset, the proposed ML-MKL-SA took only 191 seconds to train. In comparison, Generalized MKL (GMKL) took 18,292 seconds, and SimpleMKL took 9,869 seconds. That is a speedup of roughly 50x to 100x.
  • Accuracy: Despite the massive speedup, the accuracy (measured by Area Under the Curve - AUC) remained identical or slightly superior. On Caltech-101, ML-MKL-SA achieved an AUC of 0.80, matching or beating all baselines.
  • Scalability: The advantage of the stochastic approach became more pronounced as the number of classes increased, confirming the theoretical sublinear complexity.
AUC vs. Time on VOC-2007

Limitations and Future Work

  • Shared Weights Assumption: While the authors found that sharing kernel weights across classes worked well for their datasets, this might not hold true for extremely heterogeneous datasets where some classes rely on color and others rely strictly on shape.
  • Class Correlations: The current model treats classes as independent entities during sampling (aside from the shared weights). The authors suggest that future work could improve performance by explicitly modeling the correlations and hierarchical structures between classes (e.g., "dog" and "cat" are more similar than "dog" and "airplane").
  • Convergence Speed: While the cost per iteration is low, stochastic methods sometimes require more iterations to converge than batch methods. The authors aim to further reduce the dependence on the number of training examples in future iterations.

Summary updated

BibTeX
@inproceedings{bucak2010multi,
  author = {Serhat Selcuk Bucak and Rong Jin and Anil K. Jain},
  title = {{Multi-label Multiple Kernel Learning by Stochastic Approximation: Application to Visual Object Recognition}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=ryZSWwWuWH},
}
Figure