基于多GPU的牛顿共轭梯度法神经网络
Neural Nets with a Newton Conjugate Gradient Method on Multiple GPUs
摘要:
训练深度神经网络在许多计算中心消耗越来越多的计算资源份额。通常,采用蛮力方法来获得超参数值。我们的目标是(1)通过为大规模神经网络启用具有更少超参数的二阶优化方法来增强这一点,以及(2)对特定任务的性能优化器进行调查,以向用户建议最适合他们问题的优化器。我们介绍了一种新的二阶优化方法,只需要一个向量上的海森函数的效果,避免了显式设置的海森函数的大规模网络的巨大成本。我们将所提出的二阶方法与两种最先进的优化器在五个代表性神经网络问题上进行比较,包括回归和来自计算机视觉或变分自编码器的非常深的网络。对于最大的设置,我们使用Horovod有效地并行化了优化器,并将其应用于8 GPU NVIDIA P100(DGX-1)机器。
英文摘要:
Training deep neural networks consumes increasing computational resource shares in many compute centers. Often, a brute force approach to obtain hyperparameter values is employed. Our goal is (1) to enhance this by enabling second-order optimization methods with fewer hyperparameters for large-scale neural networks and (2) to perform a survey of the performance optimizers for specific tasks to suggest users the best one for their problem. We introduce a novel second-order optimization method that requires the effect of the Hessian on a vector only and avoids the huge cost of explicitly setting up the Hessian for large-scale networks. We compare the proposed second-order method with two state-of-the-art optimizers on five representative neural network problems, including regression and very deep networks from computer vision or variational autoencoders. For the largest setup, we efficiently parallelized the optimizers with Horovod and applied it to a 8 GPU NVIDIA P100 (DGX-1) machine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。