Generalization Properties of hyper-RKHS and its Applications

Fanghui Liu, Lei Shi, Xiaolin Huang, Jie Yang, Johan A. K. Suykens

TL;DR

This paper introduces a generalized framework for kernel learning and regression using "hyper-reproducing kernel Hilbert spaces" (hyper-RKHS). The authors prove theoretical convergence guarantees for their methods and demonstrate their effectiveness on various datasets, showing improved performance and scalability for learning flexible, potentially indefinite kernels.

What Problem Does This Paper Address?

Traditional kernel methods, like those based on Reproducing Kernel Hilbert Spaces (RKHS), rely on pre-defined kernels that are typically required to be positive definite. This can limit their adaptivity to complex data where the underlying similarity structure might not fit these constraints. Learning a suitable kernel from data is a crucial but challenging task. Existing kernel learning approaches often struggle with scalability to large datasets and may not fully exploit the flexibility offered by more general kernel spaces. This paper addresses these limitations by proposing a framework that can learn a broader class of kernels, including indefinite ones, and scales efficiently to large datasets.

Methods

The core of this work lies in extending kernel learning to hyper-RKHS. Unlike standard RKHS where elements are functions, in hyper-RKHS, elements are kernels themselves. This allows for a more flexible learning process. The authors propose a two-stage approach:

  1. Kernel Learning (Stage 1): They formulate kernel learning as a regression problem within hyper-RKHS. This involves learning a kernel function $k^*$ that best approximates a target kernel (or similarity matrix) $Y$. They introduce two specific regression models:
  2. Hyper-KRR (Kernel Ridge Regression): Uses a squared loss function.
  3. Hyper-SVR (Support Vector Regression): Uses an $\epsilon$-insensitive loss function. A key aspect is that these models can learn indefinite kernels, which are not allowed in standard RKHS.

  4. Hypothesis Learning (Stage 2): Once the kernel $k^*$ is learned, it's used in a standard kernel machine (like SVM) for classification or regression on new data.

To handle large datasets, they combine divide-and-conquer with Nyström approximation. This strategy breaks down the problem into smaller, manageable sub-problems and uses a subset of data points (landmarks) to approximate the kernel matrix, significantly reducing computational cost and memory requirements.

Theoretically, the paper provides asymptotic convergence analysis for their hyper-KRR and hyper-SVR algorithms, deriving learning rates. This is a significant contribution as it extends classical RKHS analysis to the more complex hyper-RKHS setting, accounting for the non-trivial independence of pairwise samples.

Datasets

The paper uses several standard datasets for evaluation:

  • UCI Repository Datasets: Used for evaluating kernel approximation and classification tasks. Specific datasets mentioned include: fertility, australian, wine, sonar, heart, and guide1-t.
  • Large Scale Datasets: ijcnn1 and covtype are used to test the scalability of the proposed methods.
  • MNIST Handwritten Digits Dataset: Used for evaluating out-of-sample extensions for nonparametric kernel learning.

The paper does not introduce new benchmark datasets but rather applies its methods to existing ones to demonstrate their effectiveness.

Key Insights and Ideas

  • Hyper-RKHS for General Kernel Learning: The concept of hyper-RKHS provides a powerful theoretical and algorithmic framework for learning a much broader class of kernels, including indefinite ones, which are often more suitable for real-world data.
  • Two-Stage Learning for Flexibility: The separation into kernel learning (stage 1) and hypothesis learning (stage 2) allows for a flexible approach where the kernel is learned from data, and then a standard machine learning model uses this learned kernel.
  • Scalability via Divide-and-Conquer and Nyström: Combining these techniques is crucial for making hyper-RKHS methods practical for large-scale applications, drastically reducing computational complexity.
  • Theoretical Guarantees for Hyper-RKHS: The paper provides much-needed theoretical convergence analysis for learning in hyper-RKHS, bridging a gap in the literature and offering confidence in the learned models.
  • Indefinite Kernels are Practical: The ability to learn indefinite kernels is shown to be beneficial, particularly for tasks where pre-defined kernels might not capture the underlying data structure well.

Key Results

  • Approximation Performance: Experiments show that hyper-KRR and hyper-SVR can effectively approximate known Gaussian and log kernels, with hyper-SVR often achieving better test accuracy.
  • Classification Accuracy: The proposed methods, when embedded in SVM, achieve competitive or superior classification accuracy compared to other kernel learning approaches (like KTA, RF, BMKL, MIKL) on various UCI datasets.
  • Scalability: The divide-and-conquer with Nyström approximation strategy significantly reduces computation time for large datasets (ijcnn1, covtype) while maintaining competitive accuracy. The time cost decreases substantially as the number of subsets increases.
  • Out-of-Sample Extension: The hyper-RKHS framework shows improvement over existing methods (like DANK) for out-of-sample extension tasks, especially when training data is limited.
  • Theoretical Convergence: The paper derives learning rates for hyper-KRR and hyper-SVR, demonstrating that the excess error converges as the sample size increases, providing theoretical justification for the learned models.

Limitations and Future Work

  • Approximation vs. Generalization: The authors note that better approximation accuracy of the kernel does not always directly translate to better classification performance, suggesting a complex interplay between approximation and generalization. Bridging this gap remains an open question.
  • Computational Cost: While the divide-and-conquer and Nyström approximation significantly improve scalability, the hyper-kernel matrix itself can still be computationally intensive to construct for very large $m$.
  • Choice of Hyper-kernel: The paper uses Gaussian and Wishart hyper-kernels. The choice of hyper-kernel can influence performance, and exploring other hyper-kernels or methods for selecting them could be a future direction.
  • Indefinite Kernel SVM: While the framework supports indefinite kernels, the paper mentions that SVM solvers might find stationary points rather than optimal minima for indefinite kernels. Exploring specialized algorithms for RKKS (Reproducing Kernel Krein Spaces) could be beneficial.
  • Deep Learning Connections: The paper briefly touches upon connections to deep learning and neural networks. Further exploration of these links, especially in the context of over-parameterized models, could be a fruitful area for future research.

Summary updated

Abstract

This paper generalizes regularized regression problems in a hyper-reproducing kernel Hilbert space (hyper-RKHS), illustrates its utility for kernel learning and out-of-sample extensions, and proves asymptotic convergence results for the introduced regression models in an approximation theory view. Algorithmically, we consider two regularized regression models with bivariate forms in this space, including kernel ridge regression (KRR) and support vector regression (SVR) endowed with hyper-RKHS, and further combine divide-and-conquer with Nyström approximation for scalability in large sample cases. This framework is general: the underlying kernel is learned from a broad class, and can be positive definite or not, which adapts to various requirements in kernel learning. Theoretically, we study the convergence behavior of regularized regression algorithms in hyper-RKHS and derive the learning rates, which goes beyond the classical analysis on RKHS due to the non-trivial independence of pairwise samples and the characterisation of hyper-RKHS. Experimentally, results on several benchmarks suggest that the employed framework is able to learn a general kernel function form an arbitrary similarity matrix, and thus achieves a satisfactory performance on classification tasks.
BibTeX
@article{liu2021generalization,
  author = {Fanghui Liu and Lei Shi and Xiaolin Huang and Jie Yang and Johan A. K. Suykens},
  title = {{Generalization Properties of hyper-RKHS and its Applications}},
  journal = {J. Mach. Learn. Res.},
  year = {2021},
  url = {https://openreview.net/forum?id=vEraKfBEen},
}
Figure