Automated Spectral Kernel Learning

Jian Li, Yong Liu, Weiping Wang

Introduction

Traditional kernel methods, such as Support Vector Machines (SVMs) and Gaussian Processes, have long been cornerstones of machine learning. However, they often struggle with complex, modern datasets due to two primary limitations: stationarity and monotony. Most common kernels (like the RBF kernel) only consider the distance between points, ignoring their absolute position in the input space and long-range dependencies. Furthermore, kernel selection is typically a separate pre-processing step, leading to sub-optimal performance as the kernel remains "task-unaware."

Automated Spectral Kernel Learning (ASKL) addresses these issues by treating kernel learning as an end-to-end optimization problem. By utilizing non-stationary spectral kernels and optimizing them via backpropagation alongside model weights, ASKL creates feature mappings that are both input- and output-dependent, resulting in superior generalization and tighter theoretical error bounds.

Methodology

The ASKL framework moves beyond Bochner’s theorem, which defines stationary kernels, by employing Yaglom’s theorem. This allows for a more general spectral representation where frequency components can vary across the input space.

The ASKL architecture bridges classical kernel theory and deep learning, utilizing a single-hidden-layer structure with cosine activation functions.

Key components of the ASKL approach include:

  • Joint Optimization: Model weights ($W$) and kernel frequency matrices ($\Omega, \Omega'$) are learned simultaneously via backpropagation. This ensures the feature space is specifically tuned to minimize the task's loss function.
  • Novel Regularization: To ensure stability and prevent overfitting, ASKL introduces a combination of the Trace Norm ($\|W\|_*$) on model weights and the Squared Frobenius Norm ($\|\phi(X)\|_F^2$) on feature mappings.
  • Algorithmic Implementation: Singular Value Thresholding (SVT) is used to handle the non-differentiable trace norm during gradient descent.

Theoretical and Key Insights

A significant contribution of ASKL is the "neural" connection: the architecture can be viewed as a single-hidden-layer neural network with cosine activation functions. This perspective bridges the gap between classical kernel theory and modern deep learning.

Theoretically, the authors demonstrate that non-stationary kernels provide tighter Rademacher complexity bounds. Unlike stationary kernels where the diagonal of the kernel matrix is always 1, ASKL's values are typically less than 1, leading to "sharper" generalization error bounds. By updating frequencies through backpropagation, the kernel becomes "task-aware," adapting to both the data distribution (input-dependence) and the labels (output-dependence).

Experimental Results

The authors evaluated ASKL across a wide range of classification and regression benchmarks, including MNIST, satellite imagery (satimage), and housing data (cadata). ASKL was compared against four baselines: standard stationary kernels (SK), non-stationary kernels (NSK), and versions with learned frequencies but standard regularization (SKL, NSKL).

ASKL consistently outperforms baseline methods across various classification (Accuracy) and regression (RMSE) datasets.

As shown in the results, ASKL consistently achieves the best performance. For instance, on the satimage dataset, ASKL reached 85.32% accuracy, a significant improvement over the 74.54% of standard stationary kernels. In regression tasks like cadata, ASKL reduced the Root Mean Squared Error (RMSE) to 46.34, outperforming all other methods. Empirical curves for MNIST also indicated that ASKL achieves higher accuracy with a more stable objective value.

Conclusion and Future Work

While ASKL demonstrates significant performance gains, it faces some challenges. The use of Singular Value Thresholding (SVT) involves SVD computations, which can be expensive for large-scale matrices. Future research directions include "stacking" these spectral learning layers into deep hierarchical structures (Deep Kernel Learning) and reducing sensitivity to initial hyperparameter choices through more automated tuning processes.

Summary updated

BibTeX
@inproceedings{li2020automated,
  author = {Jian Li and Yong Liu and Weiping Wang},
  title = {{Automated Spectral Kernel Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5892},
}
Figure