
nemo_rnnt_joint
Audio and speech11 ops1.4M params
A component of the RNN transducer, which maps an input sequence to an output sequence without a given alignment.
Audio and speech · 38 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.resid_f_reimpl:build_nemo_rnnt_decoder: build({}) This model is NeMo's RNNTDecoder, the transducer's prediction network, which scans the output sequence and outputs the prediction vector sequence.
About this model's family
The RNN transducer is an end-to-end, probabilistic sequence transduction system, based entirely on RNNs, that is in principle able to transform any input sequence into any finite, discrete output sequence. It addresses a limitation the paper names: RNNs traditionally require a pre-defined alignment between the input and output sequences to perform transduction.
Two recurrent networks do the work. The transcription network scans the input sequence, and the prediction network scans the output sequence and outputs a sequence of prediction vectors. The prediction network models each output element given the previous ones, so it is similar to a standard next-step-prediction RNN. The transcription network is similar to a Connectionist Temporal Classification (CTC) RNN, which also uses a null output to define a distribution over input-output alignments. The transducer extends CTC by defining a distribution over output sequences of all lengths and by jointly modelling both input-output and output-output dependencies.
In the paper's phoneme recognition experiment on TIMIT, the prediction network consisted of a size 128 LSTM hidden layer, 39 input units and 40 output units. The paper's results table lists phoneme error rates of 25.5% for the CTC network and 23.2% for the transducer. The paper itself notes that the advantage of the transducer over the CTC network on its own is relatively slight.
Key idea. The paper introduces an end-to-end, probabilistic sequence transduction system, based entirely on RNNs, that needs no pre-defined alignment between input and output sequences.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{graves2012sequencetransductionrecurrentneural,
title={Sequence Transduction with Recurrent Neural Networks},
author={Alex Graves},
year={2012},
eprint={1211.3711},
archivePrefix={arXiv},
primaryClass={cs.NE},
url={https://arxiv.org/abs/1211.3711},
}