TL;DR
This paper bridges the gap between Metric Learning (ML) and Multiple Kernel Learning (MKL) by proposing a framework that learns an optimal distance metric and an optimal combination of kernels simultaneously. By moving beyond the traditional "pick-one-kernel" approach, the authors demonstrate that a weighted linear combination of feature spaces significantly improves classification performance on complex, multi-faceted datasets.
The Problem: Beyond Single Kernels
Metric learning—specifically learning a Mahalanobis distance—is a powerful tool for tasks like nearest-neighbor classification. It essentially learns how to "stretch" and "rotate" data space to make similar items closer and dissimilar items further apart. However, standard metric learning is linear.
While "kernelizing" these methods allows for non-linear projections, researchers are often stuck with a difficult choice: which kernel (e.g., Gaussian, Polynomial) should they use? Usually, practitioners either pick one kernel via cross-validation (which is computationally expensive and discards information from other kernels) or use an unweighted average. This paper addresses the lack of a formal framework for Metric Learning with Multiple Kernels, allowing the algorithm to automatically learn the best weights for a set of predefined kernels while simultaneously optimizing the distance metric.
Proposed Framework and Methods
The authors propose a general framework that can be "plugged into" almost any Mahalanobis metric learning algorithm, using the Large Margin Nearest Neighbor (LMNN) algorithm as their primary base learner.
Their core contribution involves an iterative optimization process that alternates between updating the kernel weights and updating the metric matrix:
The framework explores three main parametrizations:
- $ML_h-MKL_\mu$: This approach learns a vector of weights ($\mu$) for the kernels. It uses a two-step iterative optimization: first, it fixes the metric and learns the best kernel weights; then, it fixes the weights and learns the best metric.
- $ML_h-MKL_P$: A more sophisticated version that treats the kernel weights as a rank-one matrix ($P = \mu\mu^T$). This allows the use of convex optimization techniques to find a more robust solution, especially when the number of kernels is small.
- Non-Regularized (NR) Version: This version learns a full relationship matrix between all features across all kernels. While highly expressive, it suffers from scaling issues due to its $O(m^2n^2)$ parameter count.
Key Insights and Results
The researchers evaluated their framework on 12 benchmark datasets (a mix of UCI repository standards, microarray data, and proteomics data) and 2 multiple-source datasets (Multiple Features and Oxford Flowers).
Superiority over Cross-Validation
In head-to-head comparisons across the benchmark datasets, the MKL approach proved consistently superior to single-kernel selection.
As shown in the results table, $LMNN-MKL_P$ achieved a leading "Total Score" (a ranking metric) of 30.0, outperforming the standard cross-validation approach ($LMNN-MKL_{CV}$ at 27.0) and the unweighted kernel sum ($LMNN_H$ at 20.0). The MKL-based metric learning was consistently more stable across different types of data compared to single-kernel methods.
Multi-Source Success and Complementarity
The "aha moment" of the paper is most visible in the Oxford Flowers dataset. While cross-validation tries to pick the single "best" feature (like color), the MKL approach realizes that color, texture, and shape are complementary. By combining them with learned weights, the MKL approach reached 86.01% accuracy—a massive jump over the 65.46% achieved by picking the single best kernel via cross-validation.
Furthermore, by regularizing the metric matrix to have a specific internal structure based on the kernels, the model successfully avoids overfitting even when the combined feature space becomes extremely high-dimensional.
Limitations and Future Work
- Computational Scaling: The "Non-Regularized" version of the algorithm, while theoretically the most flexible, has a parameter count that grows quadratically with the number of kernels and instances. This makes it impractical for very large datasets.
- Local Optima: While the individual sub-problems (learning weights vs. learning the metric) are convex, the joint optimization is only "individually convex." This means the algorithm might settle into a local optimum rather than a global one.
- Future Directions: The authors suggest that improving the scalability of the non-regularized version is a primary goal for future research, which could potentially allow for even more complex feature correlations to be mapped efficiently.
Summary updated