arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.05131cs.LG
收藏

基于交叉验证的超参数选择中两个常见问题的理论指导

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

IBM Thomas J. Watson Research Center(IBM托马斯·J·沃森研究中心)

Parikshit Ram, Alexander G. Gray, Horst C. Samulowitz, Gregory Bramble

摘要:

据我们所知,我们展示了基于交叉验证的超参数选择中两个常见问题的第一次理论处理:(1)在使用保留集选择最佳超参数后,我们使用{ \em all}的训练数据训练最终模型-因为这可能会或可能不会改善未来的泛化误差,应该这样做吗?(2)在通过SGD(随机梯度下降)进行优化时,我们必须设置优化容差$ρ$ --因为它在预测精度和计算成本之间进行权衡,应该如何设置?针对这些问题,我们引入了{ \em hold-in risk}(由于没有使用整个训练数据而导致的错误)和{ \em model class mis-specification risk}(由于选择了错误的模型类而导致的错误),这是一个简单的,通用的理论观点,并提出了在面对数据集实例时可以使用的算法。在理论量可以控制的合成数据的概念验证研究中,我们表明这些算法可以分别:(1)总是执行至少以及总是执行再训练或从不执行再训练,(2)通过$2\times$提高性能或减少计算开销,而不会损失预测性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑