All models

espnet_rnn_decoder

ESPnet's recurrent attention encoder-decoder for speech recognition, traced as its BLSTM encoder and attention decoder.

Audio and speech · 343 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (114 KB)

Open in a new tab

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.

At a glance

Parameters
4.6M
Operations
343
Framework
PyTorch
Recurrent
Yes
Published
Interspeech 2018
Cited by
1,363 (as of 18 October 2026)
Authors
Shinji Watanabe, Takaaki Hori, Shigeki Karita and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4769
Graph hash
258de762526b2f724941e17c7f8f9c890bc433268bccfde00e2650285ff16164
Skeleton hash
0d7cc0d2fe9d1fa6b7dfdc2dcb9fa103b0d25b0d06c48f86d50dc2e28d47a9f1
Architecture hash
a6c1d83e688aa204a2b6cbddff96e1b18fbbf3d2dcd7ba608d0e97dabda1fa8d
Diagram SHA-256
69de29db4c7ea8676cf7d192b21810ab335f701d9ea2b4733d0a47a197656cf1
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

The decoder half, which uses ESPnet's default location-aware attention mechanism.

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.

  • ESPnet
  • ESPnet RNN
  • attention-based encoder-decoder
  • BLSTM encoder
  • location-aware attention
  • hybrid CTC/attention
  • end-to-end speech recognition
  • ASR
  • espnet_rnn_encoder
  • espnet_rnn_decoder

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}