Learning the Kernel Matrix with Semidefinite Programming
Authors: Gert R. G. Lanckriet, Nello Cristianini, Peter Bartlett, Laurent El Ghaoui, Michael I. Jordan
Published: 2004
Journal: Journal of Machine Learning Research
Link: PDF
Summary
This foundational paper introduces the framework for learning the kernel matrix directly from data using semidefinite programming (SDP). It shows how to optimize over the cone of positive semidefinite matrices to find an optimal kernel for classification tasks.
Key Contributions
1. Kernel Learning as SDP
The key insight is that valid kernels correspond to positive semidefinite (PSD) matrices:
This constraint defines a convex cone, enabling optimization over kernels.
2. Transductive Setting
Given training points with labels , learn the Gram matrix directly:
3. Multiple Kernel Learning
Restrict to convex combinations of base kernels:
This reduces the infinite-dimensional problem to learning weights .
Mathematical Framework
SVM Dual with Kernel Learning
The soft-margin SVM dual becomes:
Reformulation as SDP
Define (element-wise product). The problem becomes:
Using Schur complement, this is equivalent to an SDP.
Quadratically Constrained QP (QCQP)
For MKL with fixed base kernels:
where .
Algorithms
1. Interior Point Methods
Standard SDP solvers can handle:
- variables for full kernel matrix
- Practical for
2. Alternating Optimization
while not converged:
Fix μ, solve SVM for α
Fix α, solve convex problem for μ
3. Sequential Minimal Optimization (SMO)
For large-scale problems, coordinate descent methods are more efficient.
Margin Definitions
Hard Margin
Soft Margin (with slack)
Alignment-Based Criterion
The kernel-target alignment:
Maximizing alignment is convex and can be solved efficiently.
Experimental Results
The paper demonstrates:
- Improved accuracy: Learned kernels outperform fixed kernels
- Automatic feature selection: MKL weights identify relevant kernels
- Interpretability: Kernel weights reveal data structure
Impact on Machine Learning
This paper:
- Founded MKL field: Established kernel learning as a discipline
- Convex optimization: Showed connection to SDP
- Practical algorithms: Enabled learning kernels from data
- Feature combination: Provided principled way to combine features
Citation
@article{lanckriet2004learning,
title={Learning the kernel matrix with semidefinite programming},
author={Lanckriet, Gert RG and Cristianini, Nello and Bartlett, Peter and
El Ghaoui, Laurent and Jordan, Michael I},
journal={Journal of Machine Learning Research},
volume={5},
pages={27--72},
year={2004}
}
Further Reading
- Bach, F., et al. (2004). Multiple kernel learning, conic duality, and the SMO algorithm
- Sonnenburg, S., et al. (2006). Large scale multiple kernel learning
- Gönen, M. & Alpaydın, E. (2011). Multiple kernel learning algorithms