Optimizing generalization on the train set: a novel gradient-based framework to train parameters and hyperparameters simultaneously

Karim Lounici, Katia Meziani, Benjamin Riu
6/11/2020
cs.LGstat.ML

Official code: AnonymousSubmissionNeurips2020/Supplementary-Material (0 stars, Python, last commit 2020-06-11).

Abstract

Generalization is a central problem in Machine Learning. Most prediction methods require careful calibration of hyperparameters carried out on a hold-out \textit{validation} dataset to achieve generalization.

Show full abstract

The main goal of this paper is to present a novel approach based on a new measure of risk that allows us to develop novel fully automatic procedures for generalization. We illustrate the pertinence of this new framework in the regression problem. The main advantages of this new approach are: (i) it can simultaneously train the model and perform regularization in a single run of a gradient-based optimizer on all available data without any previous hyperparameter tuning; (ii) this framework can tackle several additional objectives simultaneously (correlation, sparsity,...) $via$ the introduction of regularization parameters. Noticeably, our approach transforms hyperparameter tuning as well as feature selection (a combinatorial discrete optimization problem) into a continuous optimization problem that is solvable via classical gradient-based methods ; (iii) the computational complexity of our methods is $O(npK)$ where $n,p,K$ denote respectively the number of observations, features and iterations of the gradient descent algorithm. We observe in our experiments a significantly smaller runtime for our methods as compared to benchmark methods for equivalent prediction score. Our procedures are implemented in PyTorch (code is available for replication).

View on arXivView PDF

Code Implementations(1)

Supplementary material for the submission to Neurips 2020 titled "Optimizing generalization on the train set: a novel gradient-based framework to train parameters and hyperparameters simultaneously".

00Python, Jupyter NotebookJun 2, 20206 years ago

Similar Papers

Cite this paper

@article{lounici2020optimizing,
  title  = {Optimizing generalization on the train set: a novel gradient-based framework to train parameters and hyperparameters simultaneously},
  author = {Karim Lounici and Katia Meziani and Benjamin Riu},
  year   = {2020},
  eprint = {2006.06705},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.06705}
}

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

Discussion