Skip to main content
QUICK REVIEW

[Paper Review] Model Accuracy and Runtime Tradeoff in Distributed Deep Learning:A Systematic Study

Suyog Gupta, Wei Zhang|arXiv (Cornell University)|Sep 14, 2015
Stochastic Gradient Optimization TechniquesComputer Science9 citations
TL;DR

This paper presents Rudra, a parameter server-based framework that systematically studies the tradeoff between model accuracy and training runtime in distributed deep learning. It introduces a staleness-aware learning rate modulation and a softsync protocol to reduce gradient staleness, finding that reducing mini-batch size per learner as more learners are added preserves accuracy while enabling faster training—revealing a practical upper bound on effective parallelism.

ABSTRACT

This paper presents Rudra, a parameter server based distributed computing framework tuned for training large-scale deep neural networks. Using variants of the asynchronous stochastic gradient descent algorithm we study the impact of synchronization protocol, stale gradient updates, minibatch size, learning rates, and number of learners on runtime performance and model accuracy. We introduce a new learning rate modulation strategy to counter the effect of stale gradients and propose a new synchronization protocol that can effectively bound the staleness in gradients, improve runtime performance and achieve good model accuracy. Our empirical investigation reveals a principled approach for distributed training of neural networks: the mini-batch size per learner should be reduced as more learners are added to the system to preserve the model accuracy. We validate this approach using commonly-used image classification benchmarks: CIFAR10 and ImageNet.

Motivation & Objective

  • To systematically investigate the interplay between model accuracy and training runtime in distributed deep learning systems.
  • To identify how hyperparameters (learning rate, batch size) and system parameters (number of learners, staleness) jointly affect model accuracy and training speed.
  • To develop and evaluate a new learning rate modulation strategy that counters the negative impact of stale gradients in asynchronous training.
  • To design a synchronization protocol that reduces network overhead while maintaining high accuracy and fast convergence.
  • To empirically validate a heuristic that mini-batch size must be reduced as the number of learners increases to preserve model accuracy.

Proposed method

  • Uses vector clocks to quantitatively measure the staleness of gradient updates across learners.
  • Employs asynchronous stochastic gradient descent (ASGD) with variants of softsync and hardsync protocols to control gradient staleness.
  • Introduces a learning rate modulation strategy that divides the learning rate by the average gradient staleness to stabilize training.
  • Proposes a new 1-softsync protocol where the parameter server accumulates gradients over a window (λ) before updating weights, reducing staleness and communication overhead.
  • Employs AdaGrad optimization with tuned initial learning rates to stabilize convergence in high-staleness regimes.
  • Conducts empirical evaluation on CIFAR10 and ImageNet benchmarks across multiple configurations of learners, batch size, and synchronization protocols.

Experimental results

Research questions

  • RQ1How does gradient staleness impact model accuracy and training speed in distributed deep learning?
  • RQ2What is the optimal relationship between mini-batch size and number of learners to maintain model accuracy during scale-out training?
  • RQ3Can a staleness-aware learning rate adjustment improve convergence and reduce test error in asynchronous training?
  • RQ4How do different synchronization protocols (e.g., softsync vs. hardsync) affect runtime performance and model accuracy?
  • RQ5Is there a practical upper bound on the number of learners that can be effectively used for a given model, and what determines it?

Key findings

  • Reducing the mini-batch size per learner as the number of learners increases is essential to maintain model accuracy, revealing a hard limit on exploitable parallelism.
  • The 1-softsync protocol achieves the lowest runtime for a given test error by effectively bounding gradient staleness and minimizing communication overhead.
  • The proposed learning rate modulation strategy—dividing the learning rate by average staleness—leads to faster convergence and lower test error compared to baseline configurations.
  • Configurations using 1-softsync with AdaGrad show only marginally higher validation error than the baseline, suggesting that tuning initial learning rates can recover accuracy.
  • The softsync protocol outperforms hardsync in both runtime and accuracy, with adv∗-softsync achieving the fastest convergence to 48% top-1 validation error on ImageNet.
  • The empirical findings hold across both small-scale (CIFAR10) and large-scale (ImageNet) benchmarks, indicating the heuristic is generalizable.

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.