arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1910.08475cs.LGcs.NEstat.ML
收藏

关于温启动神经网络训练

On Warm-Starting Neural Network Training

Microsoft Research NYC(微软研究院(纽约));Princeton University(普林斯顿大学)

Jordan T. Ash, Ryan P. Adams

摘要:

在机器学习系统的许多实际部署中,数据是零碎地到达的。这些学习场景可以是被动的,其中数据由于问题的结构属性而递增地到达(例如,每日财务数据)或活动的,其中根据其质量的度量来选择样本(例如,实验设计)。在这两种情况下,我们都在构建一系列模型,这些模型包含了越来越多的数据。我们希望序列中的每一个模型都是高性能的,并利用到那时为止可用的所有数据。传统的直觉认为,当解决这种形式的一系列相关优化问题时,应该可以使用前一个问题的解决方案进行初始化-“热启动”优化,而不是从头开始-并看到挂钟时间的减少。然而,在实践中,这种热启动似乎比具有新的随机初始化的模型产生更差的泛化性能,即使最终的训练损失是相似的。虽然某些超参数设置似乎允许实践者缩小这种泛化差距,但它们似乎只在损害热启动的挂钟增益的情况下才能做到这一点。然而,非常希望能够热启动神经网络训练,因为它将显著减少与构建高性能深度学习系统相关联的资源使用。在这项工作中,我们将仔细研究这种经验现象,并试图了解它何时以及如何发生。我们还提供了一个令人惊讶的简单技巧,可以在几种重要情况下克服这种病理学,并提供了阐明其一些特性的实验。

英文摘要:

In many real-world deployments of machine learning systems, data arrive piecemeal. These learning scenarios may be passive, where data arrive incrementally due to structural properties of the problem (e.g., daily financial data) or active, where samples are selected according to a measure of their quality (e.g., experimental design). In both of these cases, we are building a sequence of models that incorporate an increasing amount of data. We would like each of these models in the sequence to be performant and take advantage of all the data that are available to that point. Conventional intuition suggests that when solving a sequence of related optimization problems of this form, it should be possible to initialize using the solution of the previous iterate -- to "warm start" the optimization rather than initialize from scratch -- and see reductions in wall-clock time. However, in practice this warm-starting seems to yield poorer generalization performance than models that have fresh random initializations, even though the final training losses are similar. While it appears that some hyperparameter settings allow a practitioner to close this generalization gap, they seem to only do so in regimes that damage the wall-clock gains of the warm start. Nevertheless, it is highly desirable to be able to warm-start neural network training, as it would dramatically reduce the resource usage associated with the construction of performant deep learning systems. In this work, we take a closer look at this empirical phenomenon and try to understand when and how it occurs. We also provide a surprisingly simple trick that overcomes this pathology in several important situations, and present experiments that elucidate some of its properties.

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

↑