Convolutional Neural Network Training with Distributed K-FAC

J. Gregory Pauloski, Zhao Zhang, Lei Huang, Weijia Xu, Ian T. Foster
7/1/2020
cs.LGcs.DCstat.ML

Official code: gpauloski/kfac-pytorch (98 stars, MIT, PyTorch, last commit 2026-10-20).

Abstract

Training neural networks with many processors can reduce time-to-solution; however, it is challenging to maintain convergence and efficiency at large scales. The Kronecker-factored Approximate Curvature (K-FAC) was recently proposed as an approximation of the Fisher Information Matrix that can be used in natural gradient optimizers. We investigate here a scalable K-FAC design and its applicability in convolutional neural network (CNN) training at scale. We study optimization techniques such as layer-wise distribution strategies, inverse-free second-order gradient evaluation, and dynamic K-FAC update decoupling to reduce training time while preserving convergence. We use residual neural networks (ResNet) applied to the CIFAR-10 and ImageNet-1k datasets to evaluate the correctness and scalability of our K-FAC gradient preconditioner. With ResNet-50 on the ImageNet-1k dataset, our distributed K-FAC implementation converges to the 75.9% MLPerf baseline in 18-25% less time than does the classic stochastic gradient descent (SGD) optimizer across scales on a GPU cluster.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Distributed K-FAC preconditioner for PyTorch

9827Shell, PythonFeb 16, 20202 days agoMIT
deep-learningdistributedkfacoptimizerpytorch+1 more

Similar Papers

Cite this paper

@article{pauloski2020convolutional,
  title  = {Convolutional Neural Network Training with Distributed K-FAC},
  author = {J. Gregory Pauloski and Zhao Zhang and Lei Huang and Weijia Xu and Ian T. Foster},
  year   = {2020},
  eprint = {2007.00784},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.00784}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.00784.svg)](https://codeofpaper.com/paper/2007.00784)

Discussion