Toward Theoretical Guidance for Two Common Questions in Practical Cross-Validation based Hyperparameter Selection

Parikshit Ram, Alexander G. Gray, Horst C. Samulowitz, Gregory Bramble
1/12/2023
cs.LG

No confident code implementation found for this paper.

Abstract

We show, to our knowledge, the first theoretical treatments of two common questions in cross-validation based hyperparameter selection: (1) After selecting the best hyperparameter using a held-out set, we train the final model using {\em all} of the training data -- since this may or may not improve future generalization error, should one do this? (2) During optimization such as via SGD (stochastic gradient descent), we must set the optimization tolerance $ρ$ -- since it trades off predictive accuracy with computation cost, how should one set it? Toward these problems, we introduce the {\em hold-in risk} (the error due to not using the whole training data), and the {\em model class mis-specification risk} (the error due to having chosen the wrong model class) in a theoretical view which is simple, general, and suggests heuristics that can be used when faced with a dataset instance. In proof-of-concept studies in synthetic data where theoretical quantities can be controlled, we show that these heuristics can, respectively, (1) always perform at least as well as always performing retraining or never performing retraining, (2) either improve performance or reduce computational overhead by $2\times$ with no loss in predictive performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ram2023toward,
  title  = {Toward Theoretical Guidance for Two Common Questions in Practical Cross-Validation based Hyperparameter Selection},
  author = {Parikshit Ram and Alexander G. Gray and Horst C. Samulowitz and Gregory Bramble},
  year   = {2023},
  eprint = {2301.05131},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.05131v1}
}

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

Discussion