arXiv Analytics

Sign in

arXiv:1604.01946 [cs.LG]AbstractReferencesReviewsResources

Optimizing Performance of Recurrent Neural Networks on GPUs

Jeremy Appleyard, Tomas Kocisky, Phil Blunsom

Published 2016-04-07Version 1

As recurrent neural networks become larger and deeper, training times for single networks are rising into weeks or even months. As such there is a significant incentive to improve the performance and scalability of these networks. While GPUs have become the hardware of choice for training and deploying recurrent models, the implementations employed often make use of only basic optimizations for these architectures. In this article we demonstrate that by exposing parallelism between operations within the network, an order of magnitude speedup across a range of network sizes can be achieved over a naive implementation. We describe three stages of optimization that have been incorporated into the fifth release of NVIDIA's cuDNN: firstly optimizing a single cell, secondly a single layer, and thirdly the entire network.

Related articles: Most relevant | Search more
arXiv:1512.01322 [cs.LG] (Published 2015-12-04)
Fixed Point Performance Analysis of Recurrent Neural Networks
arXiv:1602.08210 [cs.LG] (Published 2016-02-26)
Architectural Complexity Measures of Recurrent Neural Networks
arXiv:1604.03640 [cs.LG] (Published 2016-04-13)
Bridging the Gaps Between Residual Learning, Recurrent Neural Networks and Visual Cortex