Safe Grid Search

Project: Safe Grid Search with Optimal Complexity

Collaborators: Eugene Ndiaye (RIKEN AIP, Japan), Oliver Fercoq (Telecome Paris Tech),

Joseph Salmon (University of Montpellier), Ichiro Takeuchi (Nagoya Institute of Technology / RIKEN AIP, Japan)

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/ϵ√d) for uniformly convex loss of order d>0 and O(1/ϵ√) for Generalized Self-Concordant functions. 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 later 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.

Python code is available here [Github], implemented by Eugene Ndiaye.

Related publication:

  • Eugene Ndiaye, Tam Le, Olivier Fercoq, Joseph Salmon, Ichiro Takeuchi, Safe Grid Search with Optimal Complexity, to appear in International Conference on Machine Learning (ICML), US, 2019. [ArXiv/Code] (Acceptance rate: 773/3424=22.6%)