RNN-T Encoder Pretraining for Speech Recognition Accuracy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Recurrent Neural Network Transducer (RNN-T) models are difficult to train due to their complex structure and high memory requirements, and conventional initialization methods like CTC and RNNLM can lead to biased models and inefficient training processes.

Innovation Solution

The proposed solution involves pretraining RNN-T models using encoder pretraining and whole-network pretraining methods, which utilize external token alignment information and cross-entropy criteria to initialize the encoder and the entire network respectively, facilitating more efficient and accurate training.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If conventional CTC and RNNLM initialization methods are used for RNN-T models, then training can proceed with standard procedures, but the models exhibit biased behavior and suffer from high word error rates

Engineering Contradiction:
Improveword error rateVSAvoidmodel accuracy
Core Design Contradiction:
Manufacturing precisionVSReliability

Solution Approach 1:

The patent applies preliminary action by pretraining the RNN-T model using CTC loss function before fine-tuning with RNN-T loss. This two-stage training approach initializes the model with general speech recognition capabilities from CTC pretraining, then adapts it to the specific RNN-T objective. The pretraining phase prepares the model weights in advance, avoiding direct initialization from random or biased conventional methods, thereby reducing word error rate and improving reliability.

Inventive Principle:
Principle #10Preliminary action

2Ease of manufacture

If RNN-T models are trained from scratch or with conventional initialization, then training flexibility is maintained, but training difficulty increases significantly due to complex structure and large memory costs

Engineering Contradiction:
Improvetraining efficiencyVSAvoidmodel structure complexity
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The patent implements preliminary action through a two-stage training process where CTC pretraining is performed first to establish baseline model performance, followed by RNN-T fine-tuning. This approach breaks down the complex training task into manageable phases, reducing the overall training difficulty. The pretrained weights serve as a better starting point, making the subsequent RNN-T training more stable and efficient despite the model's structural complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses CTC loss function as an intermediary training objective between random initialization and the final RNN-T loss optimization. This intermediate CTC training phase acts as a bridge, providing a stable foundation that eases the transition to the more complex RNN-T objective. The intermediary pretraining step simplifies the overall training process by creating a intermediate state that is easier to optimize from.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Speed

If RNN-T models are trained without pretraining, then training pipeline is simpler, but latency performance deteriorates for real-time streaming applications

Engineering Contradiction:
ImprovelatencyVSAvoidtraining time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent applies preliminary action by performing CTC pretraining before RNN-T fine-tuning to achieve better latency performance. The pretraining phase prepares the model with robust speech recognition capabilities that converge faster during deployment. Although this adds initial training time, it significantly reduces inference latency and improves real-time streaming performance, making the trade-off worthwhile for production systems where low latency is critical.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11657799B2Pre-training with alignments for recurrent neural network transducer based end-to-end speech recognition
Publication Date: 2023.05.23 MICROSOFT TECHNOLOGY LICENSING LLC
  • US11657799B2 patent drawing
  • US11657799B2 patent drawing
  • US11657799B2 patent drawing

AI summary

Techniques performed by a data processing system for training a Recurrent Neural Network Transducer (RNN-T) herein include encoder pretraining by training a neural network-based token classification model using first token-aligned training data representing a plurality of utterances, where each utterance is associated with a plurality of frames of audio data and tokens representing each utterance are aligned with frame boundaries of the plurality of audio frames; obtaining first cross-entropy (CE) criterion from the token classification model, wherein the CE criterion represent a divergence between expected outputs and reference outputs of the model; pretraining an encoder of an RNN-T based on the first CE criterion; and training the RNN-T with second training data after pretraining the encoder of the RNN-T. These techniques also include whole-network pre-training of the RNN-T. A RNN-T pretrained using these techniques may be used to process audio data that includes spoken content to obtain a textual representation.