All models

sb_CRDNN

SpeechBrain's CRDNN speech encoder: convolutional blocks, a bidirectional LSTM and a DNN over filterbank frames.

Audio and speech · 9,713 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

This diagram has 9,713 operations (1.4 MB) and is drawn when you ask.

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

Family
CRDNN
Parameters
11.1M
Operations
9,713
Framework
PyTorch
Recurrent
Yes
Published
2021
Cited by
1,402 (as of 29 November 2026)
Authors
Mirco Ravanelli, Titouan Parcollet, Peter Plantinga 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
m9043
Graph hash
46fa915194aeb52eaefdef0ae3e871c0ad8d6f7cddc47e1c386dccf34cf254a2
Skeleton hash
b4e75f650236abf617db2948f3e713dc3aa3b57b75e541655edd3bf0b9579b26
Architecture hash
e4a3a8361016db60799dde200a8a3ad35810bd72f6132fa5578f03129de2ccad
Diagram SHA-256
885ccce2ec767bfa84706bd5e55f36718c06c0a80ccb1e3e4f3e44ad21224634
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

About this model's family

CRDNN is the speech encoder SpeechBrain uses in its recurrent speech recognizers: a stack of convolutional, recurrent and fully connected layers that turns a sequence of filterbank frames into an acoustic representation. It is described in the SpeechBrain toolkit paper, which presents SpeechBrain as an open-source and all-in-one speech toolkit. The model card for the LibriSpeech recognizer spells out the layout: N blocks of convolutional neural networks with normalization and pooling on the frequency domain, then a bidirectional LSTM connected to a final DNN. That final acoustic representation is given to the CTC and attention decoders.

The pretrained system this encoder comes from reports a test word error rate (WER) of 3.09 on LibriSpeech, trained on one V100 GPU. In the paper's LibriSpeech table, the CTC plus attention recipe with a CRDNN encoder and a GRU decoder has 230 M parameters and reaches 2.91 WER on test-clean and 8.07 on test-other. That recipe lists the encoder as a CRDNN with 2 CNNs, 4 LSTM and 1 DNN layers. It is trained with a CTC plus NLL loss with a CTC weight of 0.5 and 5000 tokens, at 5h 20m per epoch on a NVIDIA V100.

On TIMIT, the paper reports a considerable improvement in phone error rate when Light GRUs replace GRUs or LSTMs inside the CRDNN encoder. SpeechBrain also uses a CRDNN for voice activity detection on LibriParty.

Key idea. SpeechBrain's CRDNN encoder stacks convolutional, recurrent and fully connected layers so one encoder can serve CTC, transducer and attention-based speech recognizers.

  • crdnn
  • speechbrain
  • speech encoder
  • speech recognition
  • asr
  • librispeech
  • ctc attention
  • convolutional recurrent dnn
  • acoustic model

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

Cite the paper

@misc{ravanelli2021speechbraingeneralpurposespeechtoolkit,
      title={SpeechBrain: A General-Purpose Speech Toolkit}, 
      author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
      year={2021},
      eprint={2106.04624},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2106.04624}, 
}