REX:用改进的时间表重新审视培训
REX: Revisiting Budgeted Training with an Improved Schedule
摘要:
深度学习从业者通常在计算和货币预算上操作。因此,设计在任何预算下都能表现良好的优化算法至关重要。线性学习率调度被认为是最好的学习率感知的时间表,因为它在低预算制度中优于大多数其他时间表。另一方面,学习率调度--例如\texttt{30-60-90}步骤调度--已知在模型可以训练许多时期时实现高性能。然而,它往往是不知道一个人的预算是大还是小的先验,因此,学习率调度的最佳选择是在个案的基础上。在本文中,我们将学习率调度选择问题框架化为$i)$选择简档(即,对学习率调度进行建模的连续函数),以及$ii)$选择采样率(即,学习率从该简档被更新/采样的频率)。我们提出了一种新的配置文件和采样率组合称为反射指数(REX)的时间表,我们评估了7个不同的实验设置与SGD和亚当优化。REX在低预算状态下优于线性调度,同时在高预算和低预算状态下匹配或超过几种最先进的学习率调度(线性、阶跃、指数、余弦、平台阶跃衰减和OneCycle)的性能。此外,REX不需要额外的计算、存储或超参数。
英文摘要:
Deep learning practitioners often operate on a computational and monetary budget. Thus, it is critical to design optimization algorithms that perform well under any budget. The linear learning rate schedule is considered the best budget-aware schedule, as it outperforms most other schedules in the low budget regime. On the other hand, learning rate schedules -- such as the \texttt{30-60-90} step schedule -- are known to achieve high performance when the model can be trained for many epochs. Yet, it is often not known a priori whether one's budget will be large or small; thus, the optimal choice of learning rate schedule is made on a case-by-case basis. In this paper, we frame the learning rate schedule selection problem as a combination of $i)$ selecting a profile (i.e., the continuous function that models the learning rate schedule), and $ii)$ choosing a sampling rate (i.e., how frequently the learning rate is updated/sampled from this profile). We propose a novel profile and sampling rate combination called the Reflected Exponential (REX) schedule, which we evaluate across seven different experimental settings with both SGD and Adam optimizers. REX outperforms the linear schedule in the low budget regime, while matching or exceeding the performance of several state-of-the-art learning rate schedules (linear, step, exponential, cosine, step decay on plateau, and OneCycle) in both high and low budget regimes. Furthermore, REX requires no added computation, storage, or hyperparameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。