深入了解深度学习启发式:学习率重启、预热和蒸馏
A Closer Look at Deep Learning Heuristics: Learning rate restarts, Warmup and Distillation
摘要:
常见的深度学习模型的收敛速度和最终性能显著受益于诸如学习率调度、知识蒸馏、跳过连接和规范化层等算法。在缺乏理论基础的情况下,旨在解释这些策略的对照实验可以帮助我们理解深度学习的前景和训练动态。现有的实证分析方法依赖于线性插值和降维可视化工具,每个都有其局限性。相反,我们通过最近提出的损失表面和表示分析方法的镜头,即,模式连接性和典型相关分析(CCA),并假设的成功的原因的竞争力。特别是,我们使用模式连接性和CCA探索(cos)重启和预热的知识蒸馏和学习率启发式方法。我们的实证分析表明:(a)经常引用的余弦退火成功的原因在实践中并没有得到证明;(b)学习率预热的效果是防止更深层产生训练不稳定性;(c)教师共享的潜在知识主要分配给更深层。
英文摘要:
The convergence rate and final performance of common deep learning models have significantly benefited from heuristics such as learning rate schedules, knowledge distillation, skip connections, and normalization layers. In the absence of theoretical underpinnings, controlled experiments aimed at explaining these strategies can aid our understanding of deep learning landscapes and the training dynamics. Existing approaches for empirical analysis rely on tools of linear interpolation and visualizations with dimensionality reduction, each with their limitations. Instead, we revisit such analysis of heuristics through the lens of recently proposed methods for loss surface and representation analysis, viz., mode connectivity and canonical correlation analysis (CCA), and hypothesize reasons for the success of the heuristics. In particular, we explore knowledge distillation and learning rate heuristics of (cosine) restarts and warmup using mode connectivity and CCA. Our empirical analysis suggests that: (a) the reasons often quoted for the success of cosine annealing are not evidenced in practice; (b) that the effect of learning rate warmup is to prevent the deeper layers from creating training instability; and (c) that the latent knowledge shared by the teacher is primarily disbursed to the deeper layers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。