arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.06893stat.MLcs.LG
收藏

理解用于训练神经网络的线搜索近似的实证研究

Empirical study towards understanding line search approximations for training neural networks

University of Pretoria(比勒陀利亚大学)

Younghwan Chae, Daniel N. Wilke

摘要:

选择合适的步长对于减少训练大规模神经网络模型的计算成本至关重要。小批量子采样(MBSS)经常用于计算易处理性。然而,MBSS引入了采样误差,其可以表现为线搜索中的偏差或方差。这是因为MBSS可以静态地执行,其中仅当搜索方向改变时更新小批量,或者动态地执行,其中每次评估函数时更新小批量。静态MBSS导致沿着搜索方向的平滑损失函数,反映了估计的“真实”(或全批次)最小值的低方差但大偏差。相反,动态MBSS导致逐点不连续函数,沿着搜索方向具有使用反向传播的可计算梯度,反映了估计的“真实”(或全批次)最小值的高方差但较低偏差。在这项研究中,二次线搜索近似被认为是研究的功能和衍生信息的质量,以构建动态MBSS损失函数的近似。进行实证研究的功能和衍生物的信息,以各种方式实施的二次近似。各种神经网络问题的结果表明,选择执行哪些信息有助于减少预测步长的方差。

英文摘要:

Choosing appropriate step sizes is critical for reducing the computational cost of training large-scale neural network models. Mini-batch sub-sampling (MBSS) is often employed for computational tractability. However, MBSS introduces a sampling error, that can manifest as a bias or variance in a line search. This is because MBSS can be performed statically, where the mini-batch is updated only when the search direction changes, or dynamically, where the mini-batch is updated every-time the function is evaluated. Static MBSS results in a smooth loss function along a search direction, reflecting low variance but large bias in the estimated "true" (or full batch) minimum. Conversely, dynamic MBSS results in a point-wise discontinuous function, with computable gradients using backpropagation, along a search direction, reflecting high variance but lower bias in the estimated "true" (or full batch) minimum. In this study, quadratic line search approximations are considered to study the quality of function and derivative information to construct approximations for dynamic MBSS loss functions. An empirical study is conducted where function and derivative information are enforced in various ways for the quadratic approximations. The results for various neural network problems show that being selective on what information is enforced helps to reduce the variance of predicted step sizes.

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

↑