NobleBlocks

Research indexJournal article

Parallelizable Stack Long Short-Term Memory

Ding, Koehn

1 Jan 2019Open access

NobleIDark:/48914/w1/20260522/FB97B23ADOI10.18653/v1/w19-1501

Free to read at the publisher

You can read the abstract here, or the full text at the publisher.

Read at the publisher

Abstract

Stack Long Short-Term Memory (StackLSTM) is useful for various applications such as parsing and string-to-tree neural machine translation, but it is also known to be notoriously difficult to parallelize for GPU training due to the fact that the computations are dependent on discrete operations. In this paper, we tackle this problem by utilizing state access patterns of StackLSTM to homogenize computations with regard to different discrete operations. Our parsing experiments show that the method scales up almost linearly with increasing batch size, and our parallelized PyTorch implementation trains significantly faster compared to the Dynet C++ implementation.

Citations

Topics

More

Suggest a correction or report