Efficient Kernel Selection via Spectral Analysis

Jian Li, Yong Liu, Hailun Lin, Yinliang Yue, Weiping Wang

Introduction

Selecting an optimal kernel is a critical step in training effective Support Vector Machines (SVMs) and Least Squares SVMs (LSSVMs). Traditionally, practitioners face a binary choice: computationally expensive but rigorous methods like Cross-Validation (CV), or fast but theoretically ungrounded heuristics. This paper introduces the Spectral Measure (SM), a novel kernel selection criterion that achieves $O(n^2)$ computational complexity while maintaining rigorous generalization error bounds.

The Spectral Measure (SM) Framework

The proposed Spectral Measure evaluates a kernel by analyzing the alignment between target labels and the principal components of the kernel matrix. The process involves three main stages:

  1. Spectral Decomposition: The normalized kernel matrix is decomposed into its eigenvalues and eigenvectors.
  2. Spectral Filtering: To mitigate the influence of noise, the authors apply a filtering function $\phi(\lambda) = \lambda^r$. This "high-degree form" suppresses smaller eigenvalues associated with noise while emphasizing the dominant structural components of the data.
  3. Label Alignment: SM calculates how well the target label vector $y$ aligns with these filtered principal eigenvectors. A higher SM score indicates that the kernel's feature space naturally separates the classes.
Comparison of kernel selection criteria by time complexity and theoretical grounding.

Theoretical and Computational Advantages

Unlike many fast heuristics such as Centered Kernel Target Alignment (CKTA) or Feature Space-based Measure (FSM), SM is mathematically linked to generalization performance. The authors prove that maximizing the SM score effectively minimizes the upper bound of the generalization error for both SVMs and LSSVMs.

Furthermore, SM bridges the gap between different learning paradigms, showing that Minimum Graph Cut and Maximum Mean Discrepancy (MMD) are special cases within the Spectral Measure framework. Computationally, SM operates at $O(n^2)$, making it significantly more scalable than the $O(n^3)$ requirement of standard Cross-Validation.

Experimental Evaluation

The authors benchmarked SM against five other methods (CV, ELOO, CKTA, FSM, and ER) across 25 diverse datasets from the UCI, StatLib, and Weka repositories. These datasets spanned medical diagnostics (e.g., breast cancer, diabetes), physical analysis (e.g., glass, sonar), and general classification tasks.

Performance comparison (Test Error) of SM against other selection methods across 25 datasets.

Key Findings:

  • Accuracy: SM demonstrated highly competitive performance. It significantly outperformed CV on 11 out of 25 datasets and was only significantly worse on 5. It consistently beat other fast heuristics like CKTA and FSM.
  • Efficiency: The speed gains were substantial. For instance, on the a2a dataset, SM completed selection in approximately 124 seconds, compared to nearly 2,000 seconds for 5-fold CV.
  • Hyperparameters: Sensitivity analysis suggested that a filtering degree of $r \in [2, 5]$ typically yields the lowest test error across various data distributions.

Conclusion

The Spectral Measure offers a robust alternative to traditional kernel selection. By leveraging the spectral properties of the kernel matrix, it provides a method that is as fast as a heuristic but as theoretically reliable as cross-validation. While the method requires the pre-selection of a candidate kernel set and the tuning of the spectral degree $r$, its efficiency and accuracy make it a powerful tool for large-scale kernel-based learning. Future work may extend this framework into the realm of Multiple Kernel Learning (MKL) to automate the construction of optimal kernels.

Summary updated

BibTeX
@inproceedings{li2017efficient,
  author = {Jian Li and Yong Liu and Hailun Lin and Yinliang Yue and Weiping Wang},
  title = {{Efficient Kernel Selection via Spectral Analysis}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/295},
}
Figure