Fully Decoupled Neural Network Learning Using Delayed Gradients

Huiping Zhuang, Yi Wang, Qinglai Liu, Shuai Zhang, Zhiping Lin
6/21/2019
cs.CV

Official code: ZHUANGHP/FDG (21 stars, Python, last commit 2021-07-05).

Abstract

Training neural networks with back-propagation (BP) requires a sequential passing of activations and gradients, which forces the network modules to work in a synchronous fashion. This has been recognized as the lockings (i.e., the forward, backward and update lockings) inherited from the BP.

Show full abstract

In this paper, we propose a fully decoupled training scheme using delayed gradients (FDG) to break all these lockings. The FDG splits a neural network into multiple modules and trains them independently and asynchronously using different workers (e.g., GPUs). We also introduce a gradient shrinking process to reduce the stale gradient effect caused by the delayed gradients. In addition, we prove that the proposed FDG algorithm guarantees a statistical convergence during training. Experiments are conducted by training deep convolutional neural networks to perform classification tasks on benchmark datasets, showing comparable or better results against the state-of-the-art methods as well as the BP in terms of both generalization and acceleration abilities. In particular, we show that the FDG is also able to train very wide networks (e.g., WRN-28-10) and extremely deep networks (e.g., ResNet-1202). Code is available at https://github.com/ZHUANGHP/FDG.

View on arXivView PDF

Code Implementations(1)

ZHUANGHP/FDGOfficial100%

Fully Decoupled Neural Network Learning Using Delayed Gradients (FDG)

211PythonJun 21, 20195 years ago

Similar Papers

Cite this paper

@article{zhuang2019fully,
  title  = {Fully Decoupled Neural Network Learning Using Delayed Gradients},
  author = {Huiping Zhuang and Yi Wang and Qinglai Liu and Shuai Zhang and Zhiping Lin},
  year   = {2019},
  eprint = {1906.09108},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.09108}
}

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/1906.09108.svg)](https://codeofpaper.com/paper/1906.09108)

Discussion