大学习率将我们引向何方?
Where Do Large Learning Rates Lead Us?
AI总结:
该研究通过受控实证实验探究大学习率对神经网络训练的影响,发现仅略高于收敛阈值的窄范围初始学习率经微调或权重平均后效果最优,揭示了不同学习率下模型极小值几何结构与特征学习的差异及对泛化的作用。
摘要:
人们普遍认为,以大学习率(LRs)启动神经网络训练可提升泛化能力。沿着致力于理解这一效应的研究脉络,我们在受控环境下开展了一项实证研究,聚焦两个问题:1)获得最优质量所需的初始学习率有多大;2)采用不同学习率训练的模型之间有哪些关键差异?我们发现,仅有略高于收敛阈值的窄范围初始学习率,在经过小学习率微调或权重平均后能得到最优结果。通过研究所达极小值点的局部几何结构,我们观察到,使用这一最优范围内的学习率,优化过程能定位到一个仅包含高质量极小值点的盆地。此外,我们表明这些初始学习率会产生一组稀疏的已学习特征,且明确聚焦于与任务最相关的特征。相比之下,以过小的学习率启动训练会导致不稳定的极小值点,且模型会尝试同时学习所有特征,最终造成泛化能力较差。反之,使用过大的初始学习率则无法检测到包含优质解的盆地,也无法从数据中提取有意义的模式。
英文摘要:
It is generally accepted that starting neural networks training with large learning rates (LRs) improves generalization. Following a line of research devoted to understanding this effect, we conduct an empirical study in a controlled setting focusing on two questions: 1) how large an initial LR is required for obtaining optimal quality, and 2) what are the key differences between models trained with different LRs? We discover that only a narrow range of initial LRs slightly above the convergence threshold lead to optimal results after fine-tuning with a small LR or weight averaging. By studying the local geometry of reached minima, we observe that using LRs from this optimal range allows for the optimization to locate a basin that only contains high-quality minima. Additionally, we show that these initial LRs result in a sparse set of learned features, with a clear focus on those most relevant for the task. In contrast, starting training with too small LRs leads to unstable minima and attempts to learn all features simultaneously, resulting in poor generalization. Conversely, using initial LRs that are too large fails to detect a basin with good solutions and extract meaningful patterns from the data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。