Efficient Hyperparameter Tuning for Large Scale Kernel Ridge Regression

Giacomo Meanti, Luigi Carratino, Ernesto De Vito, Lorenzo Rosasco
1/17/2022
cs.LGstat.ML

Official code: FalkonML/falkon (203 stars, Python, MIT, PyTorch, last commit 2026-10-14).

Abstract

Kernel methods provide a principled approach to nonparametric learning. While their basic implementations scale poorly to large problems, recent advances showed that approximate solvers can efficiently handle massive datasets.

Show full abstract

A shortcoming of these solutions is that hyperparameter tuning is not taken care of, and left for the user to perform. Hyperparameters are crucial in practice and the lack of automated tuning greatly hinders efficiency and usability. In this paper, we work to fill in this gap focusing on kernel ridge regression based on the Nyström approximation. After reviewing and contrasting a number of hyperparameter tuning strategies, we propose a complexity regularization criterion based on a data dependent penalty, and discuss its efficient optimization. Then, we proceed to a careful and extensive empirical evaluation highlighting strengths and weaknesses of the different tuning strategies. Our analysis shows the benefit of the proposed approach, that we hence incorporate in a library for large scale kernel methods to derive adaptively tuned solutions.

View on arXivView PDF

Code Implementations(1)

FalkonML/falkonOfficial100%
PyTorchMIT

Large-scale, multi-GPU capable, kernel solver

20326Python, Jupyter NotebookJun 16, 20201 months agoMIT
aikernelkernel-methodslarge-scale-learningmachine-learning+2 more

Similar Papers

Cite this paper

@article{meanti2022efficient,
  title  = {Efficient Hyperparameter Tuning for Large Scale Kernel Ridge Regression},
  author = {Giacomo Meanti and Luigi Carratino and Ernesto De Vito and Lorenzo Rosasco},
  year   = {2022},
  eprint = {2201.06314},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.06314}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.06314.svg)](https://codeofpaper.com/paper/2201.06314)

Discussion