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

神经网络超参数优化中训练一个 Epoch 后提前丢弃的不合理有效性

The Unreasonable Effectiveness Of Early Discarding After One Epoch In Neural Network Hyperparameter Optimization

Argonne National Laboratory(阿贡国家实验室);Université Paris-Saclay(巴黎-萨克雷大学);Universidad de La Sabana(萨瓦纳大学);Delft University of Technology(代尔夫特理工大学);Oak Ridge National Laboratory(橡树岭国家实验室)

Romain Egele, Felix Mohr, Tom Viering, Prasanna Balaprakash

AI总结:

本文研究神经网络 HPO 中提前丢弃的性能权衡,发现简单的固定 i 个 epoch 后丢弃策略 i-Epoch 几乎不逊于 successive halving 等复杂方法,并提出基于 Pareto-Front 互补性的评估框架。

摘要:

要在深度学习中获得高性能,超参数优化(HPO)至关重要。由于神经网络评估代价高昂,这一过程通常非常耗时。提前丢弃技术通过观察经验学习曲线,并在候选配置明显缺乏竞争力时立即取消神经网络训练,从而限制分配给没有前景候选者的资源。尽管已有二十年研究,人们对丢弃激进程度与预测性能损失之间的权衡仍知之甚少。本文针对若干常用丢弃技术研究了这一权衡,例如 successive halving 和学习曲线外推。我们令人惊讶的发现是,与在固定数量训练 epoch 后丢弃的简单策略相比,这些常用技术只能提供极小的附加价值,甚至毫无附加价值。所选 epoch 数主要取决于可用计算预算。我们将该方法称为 i-Epoch(其中 i 是训练神经网络所用的固定 epoch 数),并建议通过比较提前丢弃技术的 Pareto-Front(以消耗的训练 epoch 数和预测性能表示)如何补充 i-Epoch 的 Pareto-Front,来评估提前丢弃技术的质量。

英文摘要:

To reach high performance with deep learning, hyperparameter optimization (HPO) is essential. This process is usually time-consuming due to costly evaluations of neural networks. Early discarding techniques limit the resources granted to unpromising candidates by observing the empirical learning curves and canceling neural network training as soon as the lack of competitiveness of a candidate becomes evident. Despite two decades of research, little is understood about the trade-off between the aggressiveness of discarding and the loss of predictive performance. Our paper studies this trade-off for several commonly used discarding techniques such as successive halving and learning curve extrapolation. Our surprising finding is that these commonly used techniques offer minimal to no added value compared to the simple strategy of discarding after a constant number of epochs of training. The chosen number of epochs depends mostly on the available compute budget. We call this approach i-Epoch (i being the constant number of epochs with which neural networks are trained) and suggest to assess the quality of early discarding techniques by comparing how their Pareto-Front (in consumed training epochs and predictive performance) complement the Pareto-Front of i-Epoch.

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

↑