Approximate Kernel Selection with Strong Approximate Consistency

Lizhong Ding, Yong Liu, Shizhong Liao, Yu Li, Peng Yang, Yijie Pan, Chao Huang, Ling Shao, Xin Gao

Abstract

Selecting the optimal kernel is a fundamental challenge in kernel-based machine learning, often hindered by the cubic computational complexity of standard selection criteria. This paper presents AdaptMS (Model Selection-based Adaptive Sampling), a Nyström-based algorithm that employs a task-aware, criterion-driven sampling strategy. Unlike traditional task-agnostic sampling methods, AdaptMS provides theoretical guarantees of strong approximate consistency. Empirical evaluations across twelve benchmark datasets demonstrate that AdaptMS more accurately approximates the true kernel selection criterion than existing state-of-the-art sampling techniques while maintaining linear computational complexity.

Introduction

Kernel methods, such as Support Vector Machines (SVMs), rely heavily on the choice of an appropriate kernel function to define the feature space. However, identifying the optimal kernel typically involves evaluating a selection criterion that scales poorly with the number of data points $l$, often requiring $O(l^3)$ or $O(l^2)$ operations. This computational burden makes exact kernel selection infeasible for large-scale datasets.

The Nyström method is a popular technique for approximating large kernel matrices by sampling a subset of columns. While traditional sampling strategies like uniform or leverage-score sampling focus on minimizing matrix reconstruction error, they are "task-agnostic" and do not necessarily lead to accurate kernel selection. This paper addresses this gap by proposing a sampling strategy specifically designed to minimize error in the selection criterion itself.

Methodology

The proposed algorithm, AdaptMS, introduces three key innovations:

  1. Criterion-Driven Sampling: The algorithm selects columns that specifically minimize the error in the kernel selection criterion, rather than general geometric properties of the matrix.
  2. Adaptive Probability Updates: Sampling is performed iteratively. After each batch, the algorithm updates sampling probabilities based on the current approximation's error, targeting the most informative remaining columns.
  3. Strong Approximate Consistency: The authors provide a theoretical framework proving that the approximate criterion converges to the true criterion as the dataset size increases, a property termed "strong approximate consistency."

Experimental Results

The performance of AdaptMS was evaluated on 12 benchmark datasets from the UCI and LIBSVM repositories, covering both classification and regression tasks. The researchers compared AdaptMS against several baselines, including uniform sampling, column norm (ColNorm), leverage-score sampling, and other adaptive methods like AdaptDeshp and AdaptKumar.

Comparison of kernel selection criteria across 12 datasets. AdaptMS (pink asterisks) consistently tracks the original exact criterion (purple circles) more closely than competing methods.

As shown in Figure 1, the AdaptMS curves (pink asterisks) are consistently the closest to the "Original" exact criterion curves (purple circles) across various kernel parameter ($\gamma$) values. This demonstrates that the criterion-driven approach effectively captures the behavior of the true selection process. While methods like uniform sampling are computationally simpler, they often fail to accurately track the optimal kernel parameters, especially in regions where the criterion changes rapidly.

Conclusion and Future Work

AdaptMS bridges the gap between matrix approximation and model selection. By making the sampling process "task-aware," it achieves superior accuracy in kernel selection with linear complexity $O(l)$. While the theoretical guarantees rely on certain assumptions regarding the kernel matrix's rank, the empirical results suggest broad applicability across diverse real-world datasets. Future work will explore scaling the algorithm to massive datasets and extending it to more complex kernel families, such as non-negative combinations of base kernels.

Summary updated

BibTeX
@inproceedings{ding2019approximate,
  author = {Lizhong Ding and Yong Liu and Shizhong Liao and Yu Li and Peng Yang and Yijie Pan and Chao Huang and Ling Shao and Xin Gao},
  title = {{Approximate Kernel Selection with Strong Approximate Consistency}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013462},
}
Figure