Skip to main content
QUICK REVIEW

[Paper Review] GossipGraD: Scalable Deep Learning using Gossip Communication based Asynchronous Gradient Descent

Jeff Daily, Abhinav Vishnu|arXiv (Cornell University)|Mar 15, 2018
Molecular Communication and NanonetworksEngineering42 references81 citations
TL;DR

GossipGraD introduces a gossip-based SGD that reduces communication to O(1) per step, achieves near-perfect efficiency on large GPU clusters, and preserves SGD-level accuracy.

ABSTRACT

In this paper, we present GossipGraD - a gossip communication protocol based Stochastic Gradient Descent (SGD) algorithm for scaling Deep Learning (DL) algorithms on large-scale systems. The salient features of GossipGraD are: 1) reduction in overall communication complexity from Θ(log(p)) for p compute nodes in well-studied SGD to O(1), 2) model diffusion such that compute nodes exchange their updates (gradients) indirectly after every log(p) steps, 3) rotation of communication partners for facilitating direct diffusion of gradients, 4) asynchronous distributed shuffle of samples during the feedforward phase in SGD to prevent over-fitting, 5) asynchronous communication of gradients for further reducing the communication cost of SGD and GossipGraD. We implement GossipGraD for GPU and CPU clusters and use NVIDIA GPUs (Pascal P100) connected with InfiniBand, and Intel Knights Landing (KNL) connected with Aries network. We evaluate GossipGraD using well-studied dataset ImageNet-1K (~250GB), and widely studied neural network topologies such as GoogLeNet and ResNet50 (current winner of ImageNet Large Scale Visualization Research Challenge (ILSVRC)). Our performance evaluation using both KNL and Pascal GPUs indicates that GossipGraD can achieve perfect efficiency for these datasets and their associated neural network topologies. Specifically, for ResNet50, GossipGraD is able to achieve ~100% compute efficiency using 128 NVIDIA Pascal P100 GPUs - while matching the top-1 classification accuracy published in literature.

Motivation & Objective

  • Motivate scalable distributed deep learning by addressing communication bottlenecks in SGD.
  • Design a gossip-based SGD variant that achieves constant communication complexity while maintaining convergence properties.
  • Introduce asynchronous data shuffling and partner rotation to improve diffusion and prevent over-fitting.
  • Provide a concrete GPU/CPU implementation and evaluate on large-scale datasets.
  • Theoretically justify convergence and validate empirical performance on ImageNet with ResNet50/GoogLeNet.

Proposed method

  • Propose GossipGraD with constant communication complexity O(1) by exchanging updates with a single partner per step and indirect diffusion across log(p) steps.
  • Use hierarchical virtual topologies (hypercube or dissemination) to ensure diffusion of gradients in log(p) steps.
  • Introduce partner rotation every log(p) steps to enable direct diffusion across all nodes.
  • Apply asynchronous distributed memory shuffle of samples to prevent over-fitting and overlap shuffle with feedforward.
  • Implement GossipGraD on CPU (KNL) and GPU (Pascal P100) using MPI non-blocking calls and optional asynchronous progress threads.
  • Provide theoretical convergence arguments showing convergence to a local minimum analogous to SGD.

Experimental results

Research questions

  • RQ1Can GossipGraD achieve constant communication complexity while preserving SGD-like convergence?
  • RQ2Does asynchronous diffusion and partner rotation improve gradient diffusion and convergence at scale?
  • RQ3How does GossipGraD perform on ImageNet-scale datasets with standard architectures like GoogLeNet and ResNet50?
  • RQ4What is the achievable compute efficiency when scaling GossipGraD on large GPU/CPU clusters?

Key findings

  • GossipGraD achieves O(1) communication per step and supports overlapped computation with communication.
  • On 128 NVIDIA Pascal P100 GPUs, GossipGraD attains ~100% compute efficiency for ResNet50.
  • GossipGraD matches published top-1 accuracy for ResNet50 and GoogLeNet in ImageNet experiments.
  • Experiments include ImageNet-1K, GoogLeNet and ResNet50 on both Pascal GPUs and Intel KNL, with complete overlap of communication and computation.
  • Theoretical analysis and empirical results indicate GossipGraD converges to a local minimum similar to SGD.

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.