
espnet_rnn_decoder
Audio and speech343 ops4.6M params
ESPnet's recurrent attention encoder-decoder for speech recognition, traced as its BLSTM encoder and attention decoder.
Audio and speech · 102 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.
The encoder half: a bidirectional LSTM with subsampling, the pyramid BLSTM, that turns the speech feature sequence into a shorter high-level one.
About this model's family
This is the recurrent attention encoder-decoder at the heart of ESPnet, an open source platform for end-to-end speech processing. Where most end-to-end toolkits of its day were built on CTC, ESPnet is based on an attention-based encoder-decoder network. The default encoder is a bidirectional long short-term memory network with subsampling, the so-called pyramid BLSTM, which turns a long speech feature sequence into a shorter high-level one. On the decoder side, ESPnet uses a location-aware attention mechanism as its default, with dot-product attention also supported.
Training does not lean on attention alone: ESPnet adopts hybrid CTC/attention end-to-end ASR, which effectively utilizes the advantages of both architectures in training and decoding. The two objectives share one encoder and are linearly interpolated by a single weight, usually set to 0.5. At decoding time, attention and CTC scores are combined in a one-pass beam search to further eliminate irregular alignments.
ESPnet follows the Kaldi ASR toolkit style for data processing, feature extraction and recipes. Most recipes feed the network 80-dimensional log Mel features plus pitch, 83 dimensions in all. The authors point out that ESPnet realizes speech recognition, trainer and recognizer included, in only 5K lines of Python code. With 5 GPUs, ESPnet finished training on the 581 hours of the CSJ task in only 26 hours.
Key idea. ESPnet's recurrent model couples a pyramid BLSTM encoder with a location-aware attention decoder and trains and decodes with hybrid CTC/attention, which effectively utilizes the advantages of both architectures.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{watanabe2018espnetendtoendspeechprocessing,
title={ESPnet: End-to-End Speech Processing Toolkit},
author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Enrique Yalta Soplin and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai},
year={2018},
eprint={1804.00015},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/1804.00015},
}