Skip to main content
QUICK REVIEW

[Paper Review] Structurally Sparsified Backward Propagation for Faster Long Short-Term Memory Training

Maohua Zhu, Jason Clemons|arXiv (Cornell University)|Jun 1, 2018
Advanced Neural Network ApplicationsComputer Science15 references7 citations
TL;DR

This paper proposes structurally sparsified backward propagation for Long Short-Term Memory (LSTM) networks, enforcing fixed sparsity in gate gradients during backpropagation to accelerate training on GPUs. By applying coarse- or fine-grained structured sparsity to LSTM gate gradients, the method achieves up to 45% faster backward pass compared to dense training and 168% faster than state-of-the-art sparsifying methods, with minimal accuracy loss when combined with brief dense training phases.

ABSTRACT

Exploiting sparsity enables hardware systems to run neural networks faster and more energy-efficiently. However, most prior sparsity-centric optimization techniques only accelerate the forward pass of neural networks and usually require an even longer training process with iterative pruning and retraining. We observe that artificially inducing sparsity in the gradients of the gates in an LSTM cell has little impact on the training quality. Further, we can enforce structured sparsity in the gate gradients to make the LSTM backward pass up to 45% faster than the state-of-the-art dense approach and 168% faster than the state-of-the-art sparsifying method on modern GPUs. Though the structured sparsifying method can impact the accuracy of a model, this performance gap can be eliminated by mixing our sparse training method and the standard dense training method. Experimental results show that the mixed method can achieve comparable results in a shorter time span than using purely dense training.

Motivation & Objective

  • To accelerate LSTM training by exploiting sparsity in the backward pass, which is underutilized compared to forward pass optimization.
  • To address the inefficiency of existing gradient sparsification methods on modern GPUs, which suffer from high sparse matrix multiplication overhead.
  • To enable significant speedups without sacrificing model accuracy by combining sparse training with periodic dense fine-tuning.
  • To design hardware-aware sparsity patterns that leverage GPU-optimized matrix operations for maximum performance gain.
  • To demonstrate that moderate sparsity (e.g., 50%) in gate gradients has minimal impact on training quality, especially when combined with dense phases.

Proposed method

  • Proposes two structured sparsifying methods—coarse-grained and fine-grained—targeting the gradients of LSTM gates during backpropagation.
  • Applies fixed sparsity levels (e.g., 50%) by retaining only the top-k largest absolute values in gate gradients, enforcing structured sparsity per gate.
  • Designs the sparsifying method to be compatible with high-performance GPU kernels, avoiding expensive global top-k operations.
  • Introduces a hybrid training strategy: perform most training steps with sparsified gradients, then apply a small number of dense steps to recover accuracy.
  • Uses a mixed training schedule (e.g., 3/4 sparse + 1/4 dense) to balance speed and model quality, minimizing performance degradation.
  • Employs standard SGD with sparsified gradients, ensuring compatibility with existing deep learning frameworks and training pipelines.

Experimental results

Research questions

  • RQ1Can structured sparsity in LSTM gate gradients significantly accelerate the backward pass without degrading model accuracy?
  • RQ2How does the performance of structured gradient sparsification compare to dense training and existing sparsifying methods on modern GPUs?
  • RQ3What is the optimal trade-off between sparsity level and training speed while maintaining acceptable model performance?
  • RQ4Can the accuracy gap from sparse training be effectively recovered using brief dense training phases?
  • RQ5Does the proposed method scale across different NLP tasks and model architectures, such as neural machine translation and language modeling?

Key findings

  • The coarse-grained sparsifying method achieves 45% faster LSTM backward pass compared to dense training on modern GPUs.
  • The method is 168% faster than the state-of-the-art sparsifying method (meProp) at 50% sparsity, despite meProp's higher accuracy.
  • With 50% sparsity, the coarse-grained method reduces BLEU score by only 3.5% compared to dense training, and the gap is fully recovered with a 1/4 dense phase.
  • The mixed sparse-dense training strategy achieves comparable BLEU scores (20.30–20.45) to dense training (20.32) in less time.
  • The fine-grained method achieves 36% speedup and maintains slightly better accuracy than coarse-grained, but is less efficient due to kernel overhead.
  • The speedup is independent of application type and applies uniformly to LSTM-based tasks such as machine translation, language modeling, and image captioning.

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.