arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.10915stat.MLcs.LG
收藏

GOALS:用于深度神经网络的鲁棒一致训练的线性递归逼近

GOALS: Gradient-Only Approximations for Line Searches Towards Robust and Consistent Training of Deep Neural Networks

University of Pretoria(比勒陀利亚大学)

Younghwan Chae, Daniel N. Wilke, Dominic Kafka

摘要:

小批量子采样(MBSS)在深度神经网络训练中受到青睐,以减少计算成本。尽管如此,它引入了固有的采样误差,使得选择适当的学习率具有挑战性。抽样误差可以表现为线搜索中的偏差或方差。动态MBSS在每次函数评估时重新采样一个小批次。因此,动态MBSS的结果在逐点不连续的损失函数具有较小的偏差,但较大的方差比静态采样损失函数。然而,动态MBSS具有在训练期间具有较大数据吞吐量的优点,但是需要解决关于不连续性的复杂性。本研究扩展了梯度替代(GOS),线搜索方法,使用二次近似模型建立只有方向导数信息,动态MBSS损失函数。我们提出了一个梯度近似线搜索(GOALS)与定义的最优性标准的强收敛特性。我们通过在ResNet-18和EfficientNetB 0上将其应用于各种优化器(包括SGD,RMSprop和Adam)来研究GOALS的性能。我们还将目标与其他现有的学习率方法进行了比较。我们量化了最好的性能和最强大的算法。对于后者,我们引入了一个相对强大的标准,使我们能够量化的算法和最佳性能的算法之间的差异为一个给定的问题。结果表明,训练一个模型与建议的学习率为一类搜索方向有助于减少多模态情况下的模型误差。

英文摘要:

Mini-batch sub-sampling (MBSS) is favored in deep neural network training to reduce the computational cost. Still, it introduces an inherent sampling error, making the selection of appropriate learning rates challenging. The sampling errors can manifest either as a bias or variances in a line search. Dynamic MBSS re-samples a mini-batch at every function evaluation. Hence, dynamic MBSS results in point-wise discontinuous loss functions with smaller bias but larger variance than static sampled loss functions. However, dynamic MBSS has the advantage of having larger data throughput during training but requires the complexity regarding discontinuities to be resolved. This study extends the gradient-only surrogate (GOS), a line search method using quadratic approximation models built with only directional derivative information, for dynamic MBSS loss functions. We propose a gradient-only approximation line search (GOALS) with strong convergence characteristics with defined optimality criterion. We investigate GOALS's performance by applying it on various optimizers that include SGD, RMSprop and Adam on ResNet-18 and EfficientNetB0. We also compare GOALS's against the other existing learning rate methods. We quantify both the best performing and most robust algorithms. For the latter, we introduce a relative robust criterion that allows us to quantify the difference between an algorithm and the best performing algorithm for a given problem. The results show that training a model with the recommended learning rate for a class of search directions helps to reduce the model errors in multimodal cases.

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

↑