English

Neural Nets with a Newton Conjugate Gradient Method on Multiple GPUs

Machine Learning 2022-08-04 v1 Numerical Analysis Numerical Analysis

Abstract

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.

Keywords

Cite

@article{arxiv.2208.02017,
  title  = {Neural Nets with a Newton Conjugate Gradient Method on Multiple GPUs},
  author = {Severin Reiz and Tobias Neckel and Hans-Joachim Bungartz},
  journal= {arXiv preprint arXiv:2208.02017},
  year   = {2022}
}

Comments

Accepted to PPAM conference

R2 v1 2026-06-25T01:26:43.228Z