arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.02243cs.LGcs.AI

深度神经网络低精度训练的更优调度方案

Better Schedules for Low Precision Training of Deep Neural Networks

Rice University(莱斯大学)

Cameron R. Wolfe, Anastasios Kyrillidis

AI总结:

针对循环精度训练缺乏调度比较的问题,本文构建多样化CPT调度并在多种DNN任务上评估,发现更优调度及性能—成本权衡规律。

摘要:

低精度训练可以显著降低训练深度神经网络(DNN)的计算开销。尽管此类技术已有许多,但循环精度训练(CPT)会根据循环调度在整个训练过程中动态调整精度,在训练效率方面取得了尤其令人瞩目的提升,同时实际上还改善了DNN性能。现有CPT实现采用常见的学习率调度(例如循环余弦调度),并将其用于低精度训练,却没有与其他可选调度方案进行充分比较。我们定义了一套多样化的CPT调度,并分析它们在多种DNN训练机制下的性能,其中一些机制在低精度训练文献中尚未被探索(例如使用图神经网络进行节点分类)。通过这些实验,我们发现了可进一步提升训练效率和模型性能的替代CPT调度,并总结出一组选择CPT调度的最佳实践。进一步而言,我们发现模型性能与训练成本之间存在相关性,而且改变底层CPT调度可以控制这两个变量之间的权衡。为了解释模型性能与训练成本之间的直接相关性,我们将量化训练与关键学习期联系起来,表明激进量化是一种学习损伤形式,可能永久性地损害模型性能。

英文摘要:

Low precision training can significantly reduce the computational overhead of training deep neural networks (DNNs). Though many such techniques exist, cyclic precision training (CPT), which dynamically adjusts precision throughout training according to a cyclic schedule, achieves particularly impressive improvements in training efficiency, while actually improving DNN performance. Existing CPT implementations take common learning rate schedules (e.g., cyclical cosine schedules) and use them for low precision training without adequate comparisons to alternative scheduling options. We define a diverse suite of CPT schedules and analyze their performance across a variety of DNN training regimes, some of which are unexplored in the low precision training literature (e.g., node classification with graph neural networks). From these experiments, we discover alternative CPT schedules that offer further improvements in training efficiency and model performance, as well as derive a set of best practices for choosing CPT schedules. Going further, we find that a correlation exists between model performance and training cost, and that changing the underlying CPT schedule can control the tradeoff between these two variables. To explain the direct correlation between model performance and training cost, we draw a connection between quantized training and critical learning periods, suggesting that aggressive quantization is a form of learning impairment that can permanently damage model performance.

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

↑