Skip to main content
QUICK REVIEW

[Paper Review] Fully Decoupled Neural Network Learning Using Delayed Gradients

Huiping Zhuang, Yi Wang|arXiv (Cornell University)|Jun 21, 2019
Advanced Neural Network ApplicationsComputer Science28 references12 citations
TL;DR

This paper proposes Fully Decoupled Neural Network Learning using Delayed Gradients (FDG), a method that breaks forward, backward, and update lockings in back-propagation by training network modules asynchronously across workers. FDG uses delayed gradients with a gradient shrinking process to reduce staleness, achieving up to 3.20× speedup on CIFAR-10 and 2.72× on ImageNet with 3 GPUs, while matching or exceeding BP performance on deep and wide networks.

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. 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.

Motivation & Objective

  • To eliminate the sequential lockings (forward, backward, update) inherent in standard back-propagation that limit training efficiency.
  • To enable true module-wise parallelization of deep neural networks without requiring synchronous passes or shared gradients.
  • To maintain or improve generalization performance while achieving high-speed acceleration in distributed training.
  • To develop a method that avoids introducing extra trainable parameters, unlike prior local error learning approaches.
  • To prove statistical convergence of the proposed fully decoupled training scheme.

Proposed method

  • The network is split into multiple independent modules trained asynchronously across workers (e.g., GPUs), eliminating sequential dependencies.
  • Delayed gradients are used to update parameters before the full backward pass completes, decoupling the update from the backward pass.
  • A gradient shrinking process is introduced to reduce the negative impact of stale gradients from delayed updates.
  • The method avoids auxiliary networks or additional trainable parameters, unlike DNI or DGL, preserving model efficiency.
  • Theoretical analysis proves that FDG guarantees statistical convergence under mild assumptions.
  • Communication is performed via standard protocols, with performance expected to improve with high-speed interconnects like NVLink.

Experimental results

Research questions

  • RQ1Can fully decoupled training of deep neural networks be achieved without introducing additional trainable parameters?
  • RQ2Can delayed gradients with gradient shrinking maintain or improve generalization compared to standard back-propagation?
  • RQ3To what extent can asynchronous, module-wise training achieve linear speedup in distributed settings?
  • RQ4How does FDG perform on extremely deep (e.g., ResNet-1202) and very wide (e.g., WRN-28-10) networks?
  • RQ5What is the impact of communication overhead on acceleration, especially for large-scale datasets like ImageNet?

Key findings

  • FDG achieved a 1.88× speedup on CIFAR-10 with 2 GPUs and a 2.72× speedup with 3 GPUs, approaching linear scaling.
  • On ImageNet with ResNet-101, FDG achieved 1.68× speedup with 2 GPUs, with further gains expected using high-speed interconnects.
  • The method successfully trained very wide networks (WRN-28-10) and extremely deep networks (ResNet-1202) with performance comparable to or better than standard back-propagation.
  • FDG achieved higher GPU utilization than BU-based methods (e.g., DDG, FR) due to reduced idle time from asynchronous training.
  • The gradient shrinking process improved generalization, particularly in deeper networks, reducing the negative effect of delayed gradients.
  • Without high-speed interconnects, communication cost dominated for large-scale datasets, limiting speedup gains beyond 3 GPUs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.