This classic paper by Bernhard Schölkopf provides a fundamental bridge between similarity-based learning (dot products) and dissimilarity-based learning (distances). It expands the "kernel trick" beyond its traditional boundaries, offering a deeper geometric understanding of why algorithms like Support Vector Machines (SVMs) work so well.
The Core Problem: Similarity vs. Dissimilarity
In machine learning, the "kernel trick" is famous for allowing us to compute dot products in high-dimensional feature spaces without ever explicitly visiting those spaces. Traditionally, this required positive definite (pd) kernels, which measure similarity between data points.
However, many intuitive algorithms are based on distances (dissimilarity) rather than dot products. Often, we want to know how far apart two points are in a feature space, not just their angle. The paper addresses two main questions:
- Which mathematical functions allow us to compute distances in a feature space?
- Can we use these "distance kernels" in standard algorithms that usually expect dot products?
The Distance Trick and CPD Kernels
The author builds on mathematical results from the 1930s (specifically by Schoenberg) to introduce Conditionally Positive Definite (cpd) kernels.
- The CPD Constraint: Unlike standard pd kernels, cpd kernels only need to satisfy the positive definiteness condition under a specific constraint: the weights applied to the data points must sum to zero ($\sum c_i = 0$).
- The Distance Trick: The paper proves that for any cpd kernel $k$, there exists a mapping to a Hilbert space where the squared distance between points is exactly $\| \phi(x) - \phi(x') \|^2 = -k(x, x')$ (assuming $k(x,x)=0$).
- Connecting the Two: Schölkopf shows that by choosing an "origin" in the feature space, any cpd kernel can be transformed into a standard pd kernel. This means that any algorithm that is translation invariant (meaning it doesn't care where the zero-point is) can seamlessly use cpd kernels.
Key Insights and Algorithm Re-interpretation
The "aha moment" of the paper is the realization that popular algorithms like SVMs (which maximize a margin) and Kernel PCA (which centers data) are inherently translation invariant. Because they do not depend on the absolute position of the origin, they are naturally suited for distance-based kernels.
By using cpd kernels, we can think of our algorithms as operating on a "cloud" of points where only the relative distances between them matter, rather than their relationship to a fixed coordinate center. The paper identifies a specific family of cpd kernels: $k(x, x') = -\|x - x'\|^\beta$ for $0 < \beta \leq 2$. While these are not generally positive definite, they are perfectly valid for SVMs. In fact, the dual optimization problem of an SVM implicitly handles the cpd constraint ($\sum \alpha_i y_i = 0$), explaining why SVMs work even with kernels that aren't strictly positive definite.
Visualizing the Impact on Kernel PCA
To demonstrate the practical effects of these distance kernels, the author uses a synthetic toy dataset to evaluate Kernel PCA.
The visual demonstration reveals that as the parameter $\beta$ in the distance kernel decreases, the feature extractors become increasingly nonlinear and "localized." This localization allows the algorithm to better identify and separate complex cluster structures that standard linear or basic polynomial kernels might miss.
Limitations and Future Work
While groundbreaking, the framework has its boundaries:
- Bilinear Forms vs. Dot Products: For general symmetric kernels that aren't even cpd, the paper notes we move into spaces with symmetric bilinear forms rather than standard Hilbert spaces. This makes the underlying geometry much more complex and less intuitive.
- Algorithm Design: The paper primarily shows how to use these kernels in existing algorithms, leaving the door open for conceiving entirely new algorithms specifically designed around distance metrics in feature spaces.
- Computational Cost: The study focuses on theoretical foundations and does not deeply explore the computational trade-offs of using these broader kernel classes compared to standard Radial Basis Function (RBF) or polynomial kernels.
Summary updated