Skip to main content
QUICK REVIEW

[Paper Review] Fast Distributed Training of Deep Neural Networks: Dynamic Communication Thresholding for Model and Data Parallelism.

Vipul Gupta, Dhruv Choudhary|arXiv (Cornell University)|Oct 18, 2020
Stochastic Gradient Optimization TechniquesComputer Science67 references11 citations
TL;DR

This paper proposes Dynamic Communication Thresholding (DCT), a compression framework that improves communication efficiency in hybrid model and data parallel training by filtering only the most relevant gradients and activations via hard-thresholding. DCT reduces communication by 20x and accelerates end-to-end training by 37% on industry-scale models while maintaining convergence and improving model performance through implicit regularization.

ABSTRACT

Data Parallelism (DP) and Model Parallelism (MP) are two common paradigms to enable large-scale distributed training of neural networks. Recent trends, such as the improved model performance of deeper and wider neural networks when trained with billions of data points, have prompted the use of hybrid parallelism---a paradigm that employs both DP and MP to scale further parallelization for machine learning. Hybrid training allows compute power to increase, but it runs up against the key bottleneck of communication overhead that hinders scalability. In this paper, we propose a compression framework called Dynamic Communication Thresholding (DCT) for communication-efficient hybrid training. DCT filters the entities to be communicated across the network through a simple hard-thresholding function, allowing only the most relevant information to pass through. For communication efficient DP, DCT compresses the parameter gradients sent to the parameter server during model synchronization, while compensating for the introduced errors with known techniques. For communication efficient MP, DCT incorporates a novel technique to compress the activations and gradients sent across the network during the forward and backward propagation, respectively. This is done by identifying and updating only the most relevant neurons of the neural network for each training sample in the data. Under modest assumptions, we show that the convergence of training is maintained with DCT. We evaluate DCT on natural language processing and recommender system models. DCT reduces overall communication by 20x, improving end-to-end training time on industry scale models by 37%. Moreover, we observe an improvement in the trained model performance, as the induced sparsity is possibly acting as an implicit sparsity based regularization.

Motivation & Objective

  • To address the communication overhead bottleneck in large-scale distributed deep learning training.
  • To enable scalable hybrid parallelism by combining model and data parallelism efficiently.
  • To maintain training convergence while drastically reducing communication volume in distributed training.
  • To improve model performance through induced sparsity acting as implicit regularization.
  • To design a communication-efficient framework applicable to real-world NLP and recommender system models.

Proposed method

  • DCT applies a hard-thresholding function to filter out less relevant gradients and activations before transmission across the network.
  • For data parallelism, DCT compresses gradients sent to the parameter server, using error compensation to maintain convergence.
  • For model parallelism, DCT identifies and updates only the most relevant neurons per training sample, reducing activation and gradient communication.
  • The framework operates under modest assumptions that ensure convergence despite compression-induced errors.
  • DCT integrates known error compensation techniques to correct for information loss due to thresholding.
  • The method dynamically adjusts thresholds based on the importance of parameters and activations during training.

Experimental results

Research questions

  • RQ1Can communication overhead in hybrid model and data parallel training be significantly reduced without sacrificing model convergence or performance?
  • RQ2How effective is hard-thresholding of gradients and activations in reducing communication volume in distributed DNN training?
  • RQ3Does the induced sparsity from thresholding act as a beneficial regularization effect in practice?
  • RQ4Can DCT maintain convergence guarantees under modest assumptions in large-scale distributed training?
  • RQ5What are the end-to-end training speedups and communication savings achievable with DCT on real-world models?

Key findings

  • DCT reduces overall communication volume by 20x in hybrid model and data parallel training setups.
  • End-to-end training time is improved by 37% on industry-scale models using DCT.
  • Model performance improves slightly, suggesting that the induced sparsity acts as implicit regularization.
  • Convergence is maintained under modest assumptions, validating the theoretical robustness of the approach.
  • The framework is effective across diverse workloads, including NLP and recommender system models.
  • The method achieves high compression efficiency without requiring complex compression schemes or model retraining.

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.