arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.03264cs.LGcs.LO
收藏

一种求解器+深度神经网络的梯度下降训练算法

A Solver + Gradient Descent Training Algorithm for Deep Neural Networks

University of Toronto(多伦多大学);University of Waterloo(滑铁卢大学);Borealis AI(北极光人工智能)

Dhananjay Ashok, Vineel Nagisetty, Christopher Srinivasa, Vijay Ganesh

摘要:

我们提出了一种用于训练深度神经网络的新型混合算法,该算法将最先进的梯度下降(GD)方法与混合线性规划(MILP)求解器相结合,在准确性以及回归和分类任务的资源和数据效率方面优于GD和变体。我们的GD+Solver混合算法,称为GDSolver,工作原理如下:给定DNN $D$作为输入,GDSolver调用GD部分训练$D$,直到它陷入局部最小值,此时GDSolver调用MILP求解器在$D$的最终层参数的权重分配周围彻底搜索损失景观的区域,目标是隧道通过并逃离局部最小值。重复该过程,直到达到所需的精度。在我们的实验中,我们发现GDSolver不仅可以很好地扩展到额外的数据和非常大的模型大小,而且在收敛速度和数据效率方面优于所有其他竞争方法。对于回归任务,GDSolver生成的模型平均在48%的时间内具有31.5%的MSE,对于MNIST和CIFAR10上的分类任务,GDSolver能够在所有竞争方法中实现最高的准确性,仅使用GD基线所需的训练数据的50%。

英文摘要:

We present a novel hybrid algorithm for training Deep Neural Networks that combines the state-of-the-art Gradient Descent (GD) method with a Mixed Integer Linear Programming (MILP) solver, outperforming GD and variants in terms of accuracy, as well as resource and data efficiency for both regression and classification tasks. Our GD+Solver hybrid algorithm, called GDSolver, works as follows: given a DNN $D$ as input, GDSolver invokes GD to partially train $D$ until it gets stuck in a local minima, at which point GDSolver invokes an MILP solver to exhaustively search a region of the loss landscape around the weight assignments of $D$'s final layer parameters with the goal of tunnelling through and escaping the local minima. The process is repeated until desired accuracy is achieved. In our experiments, we find that GDSolver not only scales well to additional data and very large model sizes, but also outperforms all other competing methods in terms of rates of convergence and data efficiency. For regression tasks, GDSolver produced models that, on average, had 31.5% lower MSE in 48% less time, and for classification tasks on MNIST and CIFAR10, GDSolver was able to achieve the highest accuracy over all competing methods, using only 50% of the training data that GD baselines required.

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

↑