Skip to main content
QUICK REVIEW

[Paper Review] Experiments on Parallel Training of Deep Neural Network using Model Averaging

Hang Su, Haoyu Chen|arXiv (Cornell University)|Jul 5, 2015
Neural Networks and ApplicationsComputer Science14 references56 citations
TL;DR

This paper proposes a model averaging approach for parallel training of deep neural networks using multiple GPUs and MPI, enabling frequent parameter synchronization without significant communication overhead. It achieves 9.3x and 17x speedup on a 300h Switchboard dataset using 16 and 32 GPUs respectively, with minimal accuracy degradation, and demonstrates that NG-SGD and RBM pretraining significantly improve training stability and convergence in the model averaging framework.

ABSTRACT

In this work we apply model averaging to parallel training of deep neural network (DNN). Parallelization is done in a model averaging manner. Data is partitioned and distributed to different nodes for local model updates, and model averaging across nodes is done every few minibatches. We use multiple GPUs for data parallelization, and Message Passing Interface (MPI) for communication between nodes, which allows us to perform model averaging frequently without losing much time on communication. We investigate the effectiveness of Natural Gradient Stochastic Gradient Descent (NG-SGD) and Restricted Boltzmann Machine (RBM) pretraining for parallel training in model-averaging framework, and explore the best setups in term of different learning rate schedules, averaging frequencies and minibatch sizes. It is shown that NG-SGD and RBM pretraining benefits parameter-averaging based model training. On the 300h Switchboard dataset, a 9.3 times speedup is achieved using 16 GPUs and 17 times speedup using 32 GPUs with limited decoding accuracy loss.

Motivation & Objective

  • To investigate efficient parallel training of deep neural networks using model averaging across multiple GPUs.
  • To evaluate the impact of NG-SGD and RBM pretraining on model averaging-based training.
  • To determine optimal configurations for learning rate schedules, minibatch sizes, and averaging frequencies in a distributed setting.
  • To minimize communication overhead in distributed training while maintaining model accuracy.
  • To explore the feasibility of scaling DNN training with frequent model averaging using MPI and multi-GPU setups.

Proposed method

  • Distribute training data across multiple GPUs and perform local SGD updates on each node.
  • Synchronize model parameters across nodes via model averaging every few minibatches using MPI for low-latency communication.
  • Use natural gradient stochastic gradient descent (NG-SGD) to improve convergence and parameter stability during averaging.
  • Apply RBM pretraining to initialize network weights, enhancing generalization in the parallel training setup.
  • Implement a learning rate schedule that scales with the number of training nodes to maintain effective parameter updates.
  • Avoid data I/O during averaging by using in-memory parameter exchange via MPI, enabling frequent synchronization.

Experimental results

Research questions

  • RQ1Does model averaging with frequent synchronization via MPI enable effective and scalable DNN training across multiple GPUs?
  • RQ2How do NG-SGD and RBM pretraining affect convergence and accuracy in a model averaging framework?
  • RQ3What is the optimal balance between averaging frequency, minibatch size, and learning rate schedule for parallel DNN training?
  • RQ4Can frequent model averaging maintain high accuracy while achieving high speedup in large-scale DNN training?
  • RQ5How does the proposed method compare to existing approaches in terms of speedup and decoding performance on speech recognition tasks?

Key findings

  • Using 16 GPUs, the method achieves a 9.3x speedup on the 300h Switchboard dataset with only a 0.3-0.9 point WER degradation.
  • With 32 GPUs, a 17x speedup is achieved, demonstrating strong scalability in the model averaging framework.
  • NG-SGD significantly improves training stability and convergence, outperforming standard SGD in both WER and speedup.
  • RBM pretraining enhances model performance, especially in early training stages, when combined with model averaging.
  • An averaging frequency of 10 minibatches yields better WER (15.1 on SWB) than 20 (15.8), indicating that more frequent averaging improves accuracy.
  • Exponential learning rate scheduling performs comparably to the Newbob schedule, though it requires more hyperparameter tuning.

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.