CVDCLGMar 7, 2022

Parallel Training of GRU Networks with a Multi-Grid Solver for Long Sequences

arXiv:2203.04738v19 citationsh-index: 18
Originality Incremental advance
AI Analysis

This addresses performance bottlenecks in training GRUs on long sequences, such as video data, offering a domain-specific improvement.

The paper tackles the challenge of parallelizing GRU network training for long sequences by introducing a parallel-in-time scheme using a multigrid reduction in time solver, achieving up to 6.5x speedup over serial training on the HMDB51 dataset.

Parallelizing Gated Recurrent Unit (GRU) networks is a challenging task, as the training procedure of GRU is inherently sequential. Prior efforts to parallelize GRU have largely focused on conventional parallelization strategies such as data-parallel and model-parallel training algorithms. However, when the given sequences are very long, existing approaches are still inevitably performance limited in terms of training time. In this paper, we present a novel parallel training scheme (called parallel-in-time) for GRU based on a multigrid reduction in time (MGRIT) solver. MGRIT partitions a sequence into multiple shorter sub-sequences and trains the sub-sequences on different processors in parallel. The key to achieving speedup is a hierarchical correction of the hidden state to accelerate end-to-end communication in both the forward and backward propagation phases of gradient descent. Experimental results on the HMDB51 dataset, where each video is an image sequence, demonstrate that the new parallel training scheme achieves up to 6.5$\times$ speedup over a serial approach. As efficiency of our new parallelization strategy is associated with the sequence length, our parallel GRU algorithm achieves significant performance improvement as the sequence length increases.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes