Skip to main content
QUICK REVIEW

[Paper Review] Improving RNN Transducer Modeling for End-to-End Speech Recognition

Jinyu Li, Rui Zhao|arXiv (Cornell University)|Sep 26, 2019
Speech Recognition and SynthesisComputer Science39 references5 citations
TL;DR

This paper improves RNN Transducer (RNN-T) modeling for end-to-end speech recognition by optimizing training memory usage to enable larger minibatches and proposing novel model architectures—specifically, the ecltGRU (enhanced context long short-term memory gated recurrent unit) in the encoder and GRU in the prediction network. The best model achieves 11.8% relative WER reduction over a baseline RNN-T with smaller size (216 MB), outperforming a similarly sized device hybrid model by 15.0% relative WER and matching a large 5.1 GB server hybrid model.

ABSTRACT

In the last few years, an emerging trend in automatic speech recognition research is the study of end-to-end (E2E) systems. Connectionist Temporal Classification (CTC), Attention Encoder-Decoder (AED), and RNN Transducer (RNN-T) are the most popular three methods. Among these three methods, RNN-T has the advantages to do online streaming which is challenging to AED and it doesn't have CTC's frame-independence assumption. In this paper, we improve the RNN-T training in two aspects. First, we optimize the training algorithm of RNN-T to reduce the memory consumption so that we can have larger training minibatch for faster training speed. Second, we propose better model structures so that we obtain RNN-T models with the very good accuracy but small footprint. Trained with 30 thousand hours anonymized and transcribed Microsoft production data, the best RNN-T model with even smaller model size (216 Megabytes) achieves up-to 11.8% relative word error rate (WER) reduction from the baseline RNN-T model. This best RNN-T model is significantly better than the device hybrid model with similar size by achieving up-to 15.0% relative WER reduction, and obtains similar WERs as the server hybrid model of 5120 Megabytes in size.

Motivation & Objective

  • To reduce memory consumption during RNN-T training to allow larger minibatch sizes and faster training.
  • To design more accurate and compact RNN-T model architectures than the baseline LSTM-based RNN-T.
  • To enable high-accuracy, low-footprint RNN-T models suitable for deployment on resource-constrained devices.
  • To investigate the impact of future context lookahead and layer trajectory design on RNN-T performance.

Proposed method

  • Reformulated gradient computation to avoid storing large intermediate tensors, significantly reducing memory usage during RNN-T backpropagation.
  • Proposed the ecltGRU architecture, which decouples temporal modeling and classification tasks using depth and time LSTM/GRU units.
  • Introduced the concept of layer trajectory to separate the classification task from temporal modeling, improving representational efficiency.
  • Used a joint network with learnable projection matrices U, V and a nonlinear activation ψ to combine encoder and prediction network outputs.
  • Applied frame skipping (factor of 2) to reduce inference cost, resulting in 20ms input frames.
  • Trained models on 30,000 hours of anonymized Microsoft production data using beam search decoding with beam width 10.

Experimental results

Research questions

  • RQ1Can memory-optimized RNN-T training enable larger minibatch sizes and faster convergence?
  • RQ2Does replacing standard LSTM units with novel architectures like ecltGRU improve RNN-T accuracy and model efficiency?
  • RQ3To what extent does future context lookahead in the encoder reduce alignment delay and improve recognition performance?
  • RQ4How does the proposed RNN-T model compare in accuracy and size to hybrid models with similar footprint?

Key findings

  • The best RNN-T model with ecltGRU in the encoder and GRU in the prediction network achieved 11.8% relative word error rate (WER) reduction over the baseline LSTM-based RNN-T model.
  • This best model achieved a model size of only 216 MB, smaller than the baseline RNN-T model, while significantly outperforming a similarly sized device hybrid model by 15.0% relative WER reduction.
  • The RNN-T model matched the WER performance of a large server hybrid model (5.12 GB language model) despite having a much smaller footprint.
  • The ecltGRU encoder reduced average alignment delay from 10 input frames (300ms) to 2 input frames (60ms), improving early decision-making with 24-frame lookahead.
  • Memory optimization allowed larger minibatch sizes, accelerating training without compromising model quality.
  • The use of layer trajectory and separate depth/time units in ecltGRU enabled better accuracy and smaller model size compared to standard LSTM.

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.