Abstract
Classification of data residing on non-Euclidean manifolds, such as spheres or Grassmannians, often relies on radial kernels within a Support Vector Machine (SVM) framework. However, selecting and tuning these kernels—most notably the Gaussian Radial Basis Function (RBF)—is frequently a manual and sub-optimal process. This paper presents a principled approach to automatically learning optimal radial kernels by representing them as a weighted sum of base kernels. By leveraging Schoenberg’s Theorem, the proposed method "shapes" the kernel during training, consistently outperforming standard manually-tuned kernels across various computer vision tasks.
Introduction: The Manifold Challenge
In modern computer vision, data often exists on curved, non-Euclidean surfaces known as manifolds. Examples include unit spheres for normalized histograms, Grassmann manifolds for video subspaces, and Kendall’s shape manifolds for object outlines. While SVMs are powerful tools for classifying such data, they require mathematically valid "positive definite" kernels.
Currently, researchers face two primary hurdles: a limited selection of valid kernels for specific manifolds and the "tuning trap." The latter refers to the reliance on the Gaussian RBF kernel, which requires painstaking cross-validation of its bandwidth parameter ($\gamma$). A sub-optimal choice can lead to significant performance degradation. This research addresses these issues by searching the entire mathematical family of valid radial kernels to find the optimal fit for a given dataset.
Methodology: Automatic Kernel Shaping
The core of the proposed approach is the application of Schoenberg’s Theorem (1942), which states that any valid radial kernel on a unit $n$-sphere can be expressed as an infinite series of dot products: $$k(x, y) = \sum_{i=0}^{\infty} a_i \langle x, y \rangle^i$$ where $a_i \ge 0$. The authors extend this to other manifolds (Grassmann and Kendall’s shape) using "scaled isometries"—mappings that preserve geometry while projecting the manifold onto a higher-dimensional sphere.
The implementation involves three key steps:
- Discretization: The infinite series is approximated using a finite set of monomial kernels (e.g., $N=10$).
- Multiple Kernel Learning (MKL): These base kernels are integrated into a SimpleMKL framework, which automatically learns the optimal weights ($a_i$) for each power.
- Optimization: This process effectively "learns" the shape of the radial function. If the data requires a Gaussian-like curve, the MKL assigns weights mimicking a Taylor expansion of a Gaussian; otherwise, it discovers a more suitable non-standard shape.
Experimental Evaluation
The method was evaluated across diverse tasks, including object recognition (Oxford-IIIT Pet), sketch recognition, video-based face recognition (YouTube Celebrity), and action recognition (Ballet dataset).
As shown in Figure 1, the proposed method consistently maintains a performance lead over standard RBF and kNN baselines as the dataset size increases. This robustness suggests that the learned kernels capture the underlying data geometry more effectively than fixed-parameter kernels.
Key Results
The automated kernel learning approach consistently matched or exceeded the performance of state-of-the-art manually tuned kernels:
- Object Recognition: On the Oxford-IIIT Pet dataset, the method achieved 87.56% accuracy, a significant improvement over the standard Gaussian RBF (81.54%).
- Face Recognition: On the YouTube Celebrity dataset, it reached 72.00%, surpassing the standard Grassmann projection kernel (64.76%).
- Shape Recognition: On the Butterfly dataset, the method achieved 63.98%, outperforming the Procrustes Gaussian kernel (60.37%).
Table 1 (Figure 2) highlights the performance gains on the Pet dataset, demonstrating that the "optimal" kernel for a specific task is often not a standard Gaussian.
Discussion and Future Work
By utilizing geodesic distances and a universal representation of radial kernels, this framework transforms a "black magic" tuning problem into a standard convex optimization problem. While highly effective for compact manifolds, future work is needed to extend these theories to non-compact manifolds, such as the space of Symmetric Positive Definite (SPD) matrices. Additionally, while MKL is more efficient than exhaustive grid searches, reducing its computational overhead remains an area for further exploration.
Summary updated