关于自适应优化的非调谐预热的充分性
On the adequacy of untuned warmup for adaptive optimization
摘要:
Adam等自适应优化算法广泛应用于深度学习。这种算法的稳定性通常通过针对学习率的预热时间表来改进。出于选择和调整预热时间表的困难,最近的工作提出了亚当的自适应学习率的自动方差校正,声称这种纠正的方法(“RAadam”)超越了香草亚当算法,并减少了昂贵的调整亚当预热的需要。在这项工作中,我们反驳了这种分析,并提供了一个替代的解释热身的必要性的基础上的更新项,这是更大的相关性训练稳定性的幅度。然后,我们提供了一些“经验法则”的热身时间表,我们证明了简单的未调好的热身亚当执行或多或少相同的RAAdam在典型的实际设置。最后,我们建议从业者坚持使用Adam进行线性热身,合理的默认值是在$2 / (1 - β_2)$训练迭代中进行线性热身。
英文摘要:
Adaptive optimization algorithms such as Adam are widely used in deep learning. The stability of such algorithms is often improved with a warmup schedule for the learning rate. Motivated by the difficulty of choosing and tuning warmup schedules, recent work proposes automatic variance rectification of Adam's adaptive learning rate, claiming that this rectified approach ("RAdam") surpasses the vanilla Adam algorithm and reduces the need for expensive tuning of Adam with warmup. In this work, we refute this analysis and provide an alternative explanation for the necessity of warmup based on the magnitude of the update term, which is of greater relevance to training stability. We then provide some "rule-of-thumb" warmup schedules, and we demonstrate that simple untuned warmup of Adam performs more-or-less identically to RAdam in typical practical settings. We conclude by suggesting that practitioners stick to linear warmup with Adam, with a sensible default being linear warmup over $2 / (1 - β_2)$ training iterations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。