Efficient Implementation of Recurrent Neural Network Transducer in Tensorflow

By Tom Bagby, Kanishka Rao, Khe Chai Sim. 2018

34 citations recorded by the source corpus.

Recurrent neural network transducer (RNN-T) has been successfully applied to automatic speech recognition to jointly learn the acoustic and language model components. The RNN-T loss and its gradient with respect to the softmax outputs can be computed efficiently using a forward-backward algorithm. In this paper, we present an efficient implementation of the RNN-T forward-backward and Viterbi algorithms using standard matrix operations. This allows us to easily implement the algorithm in TensorFlow by making use of the existing hardware-accelerated implementations of these operations. This work is based on a similar technique used in our previous work for computing the connectionist temporal classification and lattice-free maximum mutual information losses, where the forward and backward recursions are viewed as a bi-directional RNN whose states represent the forward and backward probabilities. Our benchmark results on graphic processing unit (GPU) and tensor processing unit (TPU) show that our implementation can achieve better throughput performance by increasing the batch size to maximize parallel computation. Furthermore, our implementation is about twice as fast on TPU compared to GPU for batch

Subfields: Artificial Intelligence, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jinyu Li
  2. Tara N. Sainath
  3. Yu Zhang
  4. Dong Yu
  5. Yonghui Wu
  6. Rohit Prabhavalkar
  7. Chung-Cheng Chiu
  8. Ruoming Pang

In Signal Processing

  1. Jinyu Li
  2. Tara N. Sainath
  3. Dong Yu
  4. Yu Zhang
  5. Rohit Prabhavalkar
  6. Yonghui Wu
  7. Chung-Cheng Chiu
  8. Ruoming Pang

Citations in the corpus