AutoDrop:训练具有自动学习率下降的深度学习模型
AutoDrop: Training Deep Learning Models with Automatic Learning Rate Drop
摘要:
现代深度学习(DL)架构是使用SGD算法的变体来训练的,该SGD算法以$\textit{manually}$定义的学习率调度来运行,即,在预定义的时期,通常在预期训练损失饱和时,降低学习率。在本文中,我们开发了一种算法,实现了学习率下降$\textit{automatically}$。我们称之为AutoDrop的所提出的方法的动机是观察到模型参数的角速度,即,对于固定的学习率,收敛方向的变化速度最初快速增加,然后朝着软饱和发展。在饱和时,优化器减慢,因此角速度饱和是降低学习率的良好指标。在下降之后,角速度“重置”并遵循先前描述的模式-它再次增加直到饱和。我们证明了我们的方法比SOTA训练方法有所改进:它加速了DL模型的训练,并导致了更好的泛化。我们还表明,我们的方法不需要任何额外的超参数调整。此外,AutoDrop实现起来非常简单,计算成本也很低。最后,我们开发了一个理论框架来分析我们的算法,并提供收敛保证。
英文摘要:
Modern deep learning (DL) architectures are trained using variants of the SGD algorithm that is run with a $\textit{manually}$ defined learning rate schedule, i.e., the learning rate is dropped at the pre-defined epochs, typically when the training loss is expected to saturate. In this paper we develop an algorithm that realizes the learning rate drop $\textit{automatically}$. The proposed method, that we refer to as AutoDrop, is motivated by the observation that the angular velocity of the model parameters, i.e., the velocity of the changes of the convergence direction, for a fixed learning rate initially increases rapidly and then progresses towards soft saturation. At saturation the optimizer slows down thus the angular velocity saturation is a good indicator for dropping the learning rate. After the drop, the angular velocity "resets" and follows the previously described pattern - it increases again until saturation. We show that our method improves over SOTA training approaches: it accelerates the training of DL models and leads to a better generalization. We also show that our method does not require any extra hyperparameter tuning. AutoDrop is furthermore extremely simple to implement and computationally cheap. Finally, we develop a theoretical framework for analyzing our algorithm and provide convergence guarantees.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。