Safe Grid Search with Optimal Complexity

Eugene Ndiaye, Tam Le, Olivier Fercoq, Joseph Salmon, Ichiro Takeuchi
10/12/2018
stat.MLcs.LGmath.OC

Official code: EugeneNdiaye/safe_grid_search (7 stars, Python, last commit 2019-03-04).

Abstract

Popular machine learning estimators involve regularization parameters that can be challenging to tune, and standard strategies rely on grid search for this task. In this paper, we revisit the techniques of approximating the regularization path up to predefined tolerance $ε$ in a unified framework and show that its complexity is $O(1/\sqrt[d]ε)$ for uniformly convex loss of order $d \geq 2$ and $O(1/\sqrtε)$ for Generalized Self-Concordant functions.

Show full abstract

This framework encompasses least-squares but also logistic regression, a case that as far as we know was not handled as precisely in previous works. We leverage our technique to provide refined bounds on the validation error as well as a practical algorithm for hyperparameter tuning. The latter has global convergence guarantee when targeting a prescribed accuracy on the validation set. Last but not least, our approach helps relieving the practitioner from the (often neglected) task of selecting a stopping criterion when optimizing over the training set: our method automatically calibrates this criterion based on the targeted accuracy on the validation set.

View on arXivView PDF

Code Implementations(1)

Approximation path and optimal selection of regularization hyperparameter for some machine learning problems.

73PythonJan 31, 20197 years agoNOASSERTION

Similar Papers

Cite this paper

@article{ndiaye2018safe,
  title  = {Safe Grid Search with Optimal Complexity},
  author = {Eugene Ndiaye and Tam Le and Olivier Fercoq and Joseph Salmon and Ichiro Takeuchi},
  year   = {2018},
  eprint = {1810.05471},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.05471}
}

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/1810.05471.svg)](https://codeofpaper.com/paper/1810.05471)

Discussion