临界超参数:无随机,无哭泣
Critical Hyper-Parameters: No Random, No Cry
摘要:
超参数的选择在深度学习中至关重要。由于复杂模型的训练时间较长以及云中计算资源的可用性,通常使用“一次性”优化方案,其中预先选择超参数集(例如,在网格上或以随机方式)并且并行执行训练。众所周知,网格搜索是次优的,特别是当只有几个关键参数时,建议使用随机搜索。然而,随机搜索可能是“不幸的”,并产生一组值,留下一些未探索的领域。准随机方法,如低离散序列(LDS)避免了这些问题。我们证明了这些方法具有理论特性,使它们对执行超参数搜索具有吸引力,并证明了当应用于复杂深度学习模型(如最先进的LSTM语言模型和图像分类模型)的超参数选择时,它们会产生合适的超参数值,运行次数比随机搜索少得多。我们提出了一种特别简单的LDS方法,它可以在任何深度学习管道中用作网格或随机搜索的直接替代品,既可以作为完全一次性的超参数搜索,也可以作为迭代批量优化中的初始化器。
英文摘要:
The selection of hyper-parameters is critical in Deep Learning. Because of the long training time of complex models and the availability of compute resources in the cloud, "one-shot" optimization schemes - where the sets of hyper-parameters are selected in advance (e.g. on a grid or in a random manner) and the training is executed in parallel - are commonly used. It is known that grid search is sub-optimal, especially when only a few critical parameters matter, and suggest to use random search instead. Yet, random search can be "unlucky" and produce sets of values that leave some part of the domain unexplored. Quasi-random methods, such as Low Discrepancy Sequences (LDS) avoid these issues. We show that such methods have theoretical properties that make them appealing for performing hyperparameter search, and demonstrate that, when applied to the selection of hyperparameters of complex Deep Learning models (such as state-of-the-art LSTM language models and image classification models), they yield suitable hyperparameters values with much fewer runs than random search. We propose a particularly simple LDS method which can be used as a drop-in replacement for grid or random search in any Deep Learning pipeline, both as a fully one-shot hyperparameter search or as an initializer in iterative batch optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。